Author |
Message |
JRayfield Brekeke Guru
Joined: 03 Dec 2012 Posts: 147
Location: Springfield, MO
|
Posted: Wed Mar 27, 2024 9:20 am Post subject: SIP Request - MESSAGE |
|
|
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 |
|
Back to top |
|
Mike Support Team
Joined: 07 Mar 2005 Posts: 733
Location: Sunny San Mateo
|
Posted: Wed Mar 27, 2024 9:54 am Post subject: |
|
|
$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 |
|
Back to top |
|
JRayfield Brekeke Guru
Joined: 03 Dec 2012 Posts: 147
Location: Springfield, MO
|
Posted: Wed Mar 27, 2024 10:25 am Post subject: |
|
|
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 |
|
Back to top |
|
|