Brekeke Forum Index » Brekeke SIP Server Forum

Post new topic   Reply to topic
SIP Request - MESSAGE
Author Message
JRayfield
Brekeke Guru


Joined: 03 Dec 2012
Posts: 147
Location: Springfield, MO

PostPosted: Wed Mar 27, 2024 9:20 am    Post subject: SIP Request - MESSAGE Reply with quote

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
View user's profile
Mike
Support Team


Joined: 07 Mar 2005
Posts: 731
Location: Sunny San Mateo

PostPosted: Wed Mar 27, 2024 9:54 am    Post subject: Reply with quote

$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
View user's profile Visit poster's website
JRayfield
Brekeke Guru


Joined: 03 Dec 2012
Posts: 147
Location: Springfield, MO

PostPosted: Wed Mar 27, 2024 10:25 am    Post subject: Reply with quote

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
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Brekeke Forum Index » Brekeke SIP Server Forum All times are GMT - 7 Hours
Page 1 of 1