...
Universal Chat for Mautic is a plugin to send Campaign Text Messages to contacts via Hybrid Chat. Mautic have pre-built integration with Twilio only, so this plugin is a new alternative to the users of Mautic.
Requirements
- Mautic 3.2+
- PHP 7+
- Composer 1+ (Recommended 1.10.22)
- stomp-php/stomp-php: Stomp PHP Client
- Mautic Universal Chat for Mautic
- Hybrid chat
- Subscription of Twilio or some other SMS API provider
Prerequisites
- Run composer require stomp-php/stomp-php to install stomp-php client.
...
- Download Universal Chat for Mautic.
- Extract it to plugins/MauticActivemqTransportBundle.
- Navigate to plugins/MauticActivemqTransportBundle/Transport/AvtivemqTransport.php file
- Open the ActivemqTransport.php file and replace the HC Machine hostname with your own machine hostname.
- Use tcp:// instead of https:// with client hostname
- Stomp client is accessible on 61613 port without SSL and accessible on 61615 port with SSL.
- Default Activemq Queue for campaign sms is “/queue/sms”, can be replaced as per requirement in AvtivemqTransport.php file.
- Delete app/cache/prod files or Run command rm -rf var/cache/* to clear cache.
- Go to plugins in Mautic’s admin menu (/s/plugins)
- Click on the Install / Upgrade Pluginbutton to install the plugin or Run php app/console mautic:plugins:install to install the plugin via command line.
- Click on the plugin icon to enable the plugin and then click Save & Close button.
- Go to Mautic’s Configuration (/s/config/edit), click on the default transport, and select universal-chat-transport from the dropdown.
...