Jump to content

Custom SMS provider support

Recommended Posts


I'm checking the SMS setting and I saw only few provider are supported. So why don't you plan to implement a "custom SMS provider support" where the user just need to specify like HTTP POST, the body, headers, etc, something like a general HTTP post setup. It would be simple in this case for integrators like me implementing some "gateway server" vodia <---http_post---->gateway<---anysms provider>. Thank you for your attention.



Alessandro Marzini

Link to comment
Share on other sites

For example, with Pushbullet API I can use my phone to send sms with this:

curl --header 'Access-Token: xxxxxxxxxxxxxxxxxxxxxxx' --header 'Content-Type: application/json' --data-binary '{"push":{"conversation_iden":"+39xxxxxxxxx","message":"Hello from Almoonds PushBullet","package_name":"com.pushbullet.android","source_user_iden": "yyyyyyyy","target_device_iden":"zzzzzzzzzz", "type": "messaging_extension_reply"},"type":"push"}' --request POST https://api.pushbullet.com/v2/ephemerals

As you can see is a simple HTTP post with a body and some headers that let the customer using any android phone + pushbullet app sending sms from the phone

Can you add a "Generic HTTP SMS Provider" in the list? 


Link to comment
Share on other sites

The number of SMS providers will probably for us mushroom like the SIP trunk providers—which is a good thing! So lets try to address this in a way we can maintain that for a long time.

We'll add a provider "custom" that just collects the username and password (which is stored encrypted in the filesystem so there is no need to have it in clear text lying around in the file system). Then you can drop a JavaScript into the PBX that will do whatever the provider needs to send and receive messages. We'll provide an example on doc.vodia.com on how to use this, maybe just using the pushbullet.com sample.

Link to comment
Share on other sites

  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...