Forums Read-only archive

SIP Request - MESSAGE

3 posts · Brekeke SIP Server Forum

JRayfield Original post
1. Brekeke Product Name and Version:
Brekeke SIP Server - 3.16.3.1/574.h

2. Java version:
11.0.15

3. OS type and the version:
Windows Server 2012

4. UA (phone), gateway or other hardware/software involved:
3CX

5. Problem

I'm wanting to set BSS up to handle SMS messaging to/from 3CX servers. I see that there is a way to do this:

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

Is this using a REST API to an SMS-GATEWAY, using GET?
Mike
$webget() method uses HTTP GET.

If you develop a mobile app or WebPush enabled website, push notification will be an option instead of SMS.

https://docs.brekeke.com/sip/push-notification
JRayfield
Thanks Mike.

I'm trying to interface BSS with my upstream service provider. They use either POST or GET (REST API) or they use SIP (request = MESSAGE).