Brekeke SIP Server Wiki

Send SMS from Brekeke SIP Server

How to send SMS from Brekeke SIP Server
Requirement:

– Brekeke SIP Server Advanced Edition
– SMS gateway service

 

Sample DialPlan rule:
 ---------------------------
[Matching Patterns]
$request = ^MESSAGE
From = sip:(.+)@
To = sip:(.+)@
$body( "(.+)" ) = (.+)
$webget("http://<SMS-GATEWAY>/api?action=send&sender=%1&recipient=%2&message=%3" )  =  .+

[Deploy Patterns]
$response = 200
---------------------------

Note: HTTP address and parameter are depending on SMS gateway service.

 

Related link:
Yes No
Suggest Edit