Your best bet is probably $uac_req from the uac module.
On April 26, 2018 7:31:51 PM EDT, strain17 <strain17(a)yahoo.com> wrote:
Hi All,
I'm trying to send a custom NOTIFY message to a list of users that are
registered with Kamailio. The procedure would be invoked via HTTP
(jsonrpc/xmlrpc over HTTP).
1. Should I be looking at the t_uac_start/t_uac_dlg MI commands to
accomplish this? Is this the best way to do it if the NOTIFY sent to
the phones are unsolicited? 2. I tried to use the xhttp_rpc module for
testing out tm.t_uac_start but kept running into 400 invalid headers.
I'm not sure if there is a syntax issue.
The NOTIFY example is
NOTIFY sip:123@192.168.5.5 . . From:333@1.1..1\r\nTo:test@2.2.2.2
- Request URL:
http://x.x.x.x/http_rpc/tm/tm.t_uac_start?arg=NOTIFY+sip%3A123%40192.168.5.…
- Request Method: GET
- Status Code: 400 Invalid headers
Thanks for any feedback!
-- Alex
--
Sent via mobile, please forgive typos and brevity.