# Updated Plivo Plugin

**URL:** https://forum.mautic.org/t/updated-plivo-plugin/27759
**Category:** 3rd Party Addons
**Tags:** discussion, development
**Created:** [April 19, 2023, 2:09am UTC](https://forum.mautic.org/t/updated-plivo-plugin/27759 "2023-04-19T02:09:28Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)
#### Post date: [April 19, 2023, 2:09am UTC](https://forum.mautic.org/t/updated-plivo-plugin/27759/1 "2023-04-19T02:09:28Z")

</div>

Hey team

Another share for the community  
It is unsupported and public for ppl to fork and enhance

> **[GitHub - TornMarketing/mautic-plivo-bundle-australian: Plivo SMS integration...](https://github.com/TornMarketing/mautic-plivo-bundle-australian)**
>
> Plivo SMS integration for Mautic. Contribute to TornMarketing/mautic-plivo-bundle-australian development by creating an account on GitHub.

**Why Plivo**

- Its cheaper than Twilio (50% on outbound and free on inbound)
- You can change the sender ID without verification (country dependent - be mindful of local laws)

**Sender ID - further dev required in plugin**  
Application here is when we sync from Salesforce we bring in User mobile number connected per contact. Currently this is a custom field on the contact

Historically we have then just webhook to n8n to handle all the sending functions for which this plugin is attempting to resolve, but adds another layer of config pains.

**Things to do Resolve/Enhance**

- mautic.WARNING: PHP Warning - Trying to access array offset on value of type null /app/bundles/SmsBundle/Form/Type/SmsSendType.php - at line 75

- messages through errors “command”:“mautic:campaigns:trigger”,“message”:“Mautic\ChannelBundle\EventListener\CampaignSubscriber::sendChannelMessage(): Argument #3 ($messageChannel) must be of type array, null given, called in /home/domain/htdocs/domain.com.au/app/bundles/ChannelBundle/EventListener/CampaignSubscriber.php on line 175”}

- setup a means of changing the source sender ID based on user or a field on the contact record  
(Ideally would like to sync users with a new mobile field, then send sms to contact from contact owner in a similar manner as email. Plugin has a placeholder for a contact api field, which I hope to have a stopgap solution to lookup the alternative user number per contact (alot of redundant data))

- setup a means of changing the e164 phone number country code per contact, currently coded to a plugin param (ie cleaning up the mobile phone to international standard)

- unsubscription handling - I personally use n8n for this but could be done with a call back via PHLO

- plivo delivery response handling

**Torn Marketing**  
Shared with love from the Torn Marketing Team [https://tornmarketing.com.au](https://tornmarketing.com.au/)

---

<div class="post-metadata">

### Author: ![tornmarketing](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/tornmarketing/32/11603_2.png) [@tornmarketing](https://forum.mautic.org/u/tornmarketing)
#### Post date: [April 19, 2023, 11:19pm UTC](https://forum.mautic.org/t/updated-plivo-plugin/27759/2 "2023-04-19T23:19:25Z")

</div>

Not ready for production  
Got myself a memory leak
