Configuring Bandwidth as SMS/MMS Provider: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''Unfortunately Bandwidth is not allowing me access to their platform to test and further develop any integration with their API due to I am not hosting any of their traffic (I am not a telecommunication company). I think the sales representative I talked too and refuse to grant me an account, even paying, has not understood it was for mutually beneficial. If you are using Bandwidth service, I invite you to contact your sales representative and express your concern about their position. This documentation will be no more maintained and it will be removed soon unless I get access to their services. Yes, I can use your account, but it will be not fair to work around their policy.'''
'''Unfortunately, Bandwidth is not allowing me access to their platform to test and further develop any integration with their API due to I am not hosting any of their traffic (I am not a telecommunication company). I think the sales representative I talked too and refuse to grant me an account, even paying, has not understood it was for mutually beneficial. If you are using Bandwidth service, I invite you to contact your sales representative and express your concern about their position. This documentation will be no more maintained and it will be removed soon unless I get access to their services. Yes, I can use your account, but it will be not fair to work around their policy.'''


Bandwidth provider uses JSON data to process the SMS requests.  
Bandwidth provider uses JSON data to process the SMS requests.  
Line 19: Line 19:


Once you have the provider configured, you can create an SMS Routing Profile and then assign it to your tenant
Once you have the provider configured, you can create an SMS Routing Profile and then assign it to your tenant
If you want to send MMS, you need to add another piece of code:
<pre>
from:${SMSSOURCENUM}
to:${SMSDESTNUM}
text:${SMSTEXT}
applicationId:<YOUR APPLICATION ID>
{mms}media: http://<YOUR WEBSITE>/pbx/mms/${MMSKEY}/${MMSFILENAME}{/mms}
</pre>

Latest revision as of 17:29, 27 September 2020

Unfortunately, Bandwidth is not allowing me access to their platform to test and further develop any integration with their API due to I am not hosting any of their traffic (I am not a telecommunication company). I think the sales representative I talked too and refuse to grant me an account, even paying, has not understood it was for mutually beneficial. If you are using Bandwidth service, I invite you to contact your sales representative and express your concern about their position. This documentation will be no more maintained and it will be removed soon unless I get access to their services. Yes, I can use your account, but it will be not fair to work around their policy.

Bandwidth provider uses JSON data to process the SMS requests.

You need to create a new provider, type SMS and use the following configuration.

Bandwidthoutsms.png

SMS URL: https://api.catapult.inetwork.com/v2/users/<YOUR ID>/messages

from:${SMSSOURCENUM} 
to:${SMSDESTNUM}
text:${SMSTEXT}
applicationId:<YOUR APPLICATION ID>

Replace <YOUR APPLICATION ID> with the application id shown on your Bandwidth configuration page

Once you have the provider configured, you can create an SMS Routing Profile and then assign it to your tenant

If you want to send MMS, you need to add another piece of code:

from:${SMSSOURCENUM} 
to:${SMSDESTNUM}
text:${SMSTEXT}
applicationId:<YOUR APPLICATION ID>
{mms}media: http://<YOUR WEBSITE>/pbx/mms/${MMSKEY}/${MMSFILENAME}{/mms}