SIP Request - MESSAGE

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
JRayfield
Posts: 147
Joined: Mon Dec 03, 2012 5:50 pm
Location: Springfield, MO

SIP Request - MESSAGE

Post by JRayfield »

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?
John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net
Mike
Posts: 733
Joined: Mon Mar 07, 2005 2:25 pm
Location: Sunny San Mateo
Contact:

Post by 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
Posts: 147
Joined: Mon Dec 03, 2012 5:50 pm
Location: Springfield, MO

Post by 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).
John Rayfield, Jr. CETma
Rayfield Communications
Springfield, MO
www.rayfield.net
Post Reply