Receiving SMS and routing to an email: Difference between revisions

From MiRTA PBX documentation
Jump to navigation Jump to search
(Created page with "There are two ways to receive SMS. You can receive them as SIP MESSAGE or you can pull from your provider using an API. == SIP MESSAGE == As first step, please check if you...")
 
No edit summary
Line 1: Line 1:
There are two ways to receive SMS. You can receive them as SIP MESSAGE or you can pull from your provider using an API.  
There are two ways to receive SMS. You can receive them as SIP MESSAGE, or you can have them delivered from your provider using an API.  


== SIP MESSAGE ==
== SIP MESSAGE ==
Line 12: Line 12:


Add if not and reload sip module
Add if not and reload sip module
== API ==
In your Provider, configure the URL https://.../pbx/receivesms.php
[[twilioincomingdid.png|400px]]

Revision as of 16:42, 30 September 2016

There are two ways to receive SMS. You can receive them as SIP MESSAGE, or you can have them delivered from your provider using an API.

SIP MESSAGE

As first step, please check if your system can receive messages using SIP protocol. In sip.conf check if you have the following rows:

accept_outofcall_message=yes
outofcall_message_context=astsms
auth_message_requests = yes

Add if not and reload sip module

API

In your Provider, configure the URL https://.../pbx/receivesms.php

400px