MMS Gateway - Telstra

Telstra

The Telstra MMS Gateway currently delivers MMS messages to countries in this list. You can use the following methods for attaching media files to your outgoing messages:

  • Base64 Encoding: simply insert your media into the fmMMS Media container field and they will be Base64 Encoded during the sending process and included in the message payload that is sent to Telstra

You can get further information on supported media files and limitations here:

https://dev.telstra.com/content/messaging-api#operation/sendMms

https://dev.telstra.com/content/messaging-api#section/Frequently-Asked-Questions

Create Subscription

Before you can start sending MMS messages with Telstra you will first need to create a Subscription using the Messaging API. We have added a script to perform this function within the fmMMS file. On the Account Details screen when you have selected Telstra as your Gateway you will see a Create Telstra Subscription button:

You will need to first enter your Telstra API Key in the Username field and your Telstra API Secret in the Password field. If you plan to receive incoming messages using the WebhooksIncomingMessages.php file enter the URL for the WebhooksIncomingMessages.php file in the Custom Text 3 field which will set the value for the notifyURL that Telstra will post new incoming messages to. Then click the Create Telstra Subscription button which will create (or update for existing subscriptions) and populate your Telstra number in the Custom Text 1 field automatically.

Incoming Messages/Replies

You can get incoming messages/replies to your Telstra number into the fmMMS file via the use of Webhooks to have Telstra push these automatically to fmMMS. Using Webhooks is the preferred method as it saves you from having to poll/check for any new messages - with Webhooks new messages are forward to fmMMS automatically by Telstra as they are received.

Telstra Webhooks Setup

To receive incoming MMS messages to your Telstra number, including replies to previously sent messages, you will need to use the supplied WebhooksIncomingMessages.php webhook file to act as the webhook receiver. See our Webhooks guide for what you need to do host the WebhooksIncomingMessages.php file on your chosen web server. Once you have the publicly accessible URL for this file you can enter this into your Telstra account settings as follows:

If your Telstra subscription has has a notifyURL parameter set then any MMS Replies will be pushed to that URL. You can also update your existing subscription to update the notifyURL parameter used for incoming messages if you didn't set the notifyURL parameter when provisioning your Telstra subscription.

Still need help? Contact Us Contact Us