[SR-Users] Sending Notify With Custom Event Header
strain17
strain17 at yahoo.com
Fri Apr 27 01:31:51 CEST 2018
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 at 192.168.5.5 . . From:333 at 1.1..1\r\nTo:test at 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.5+.+.+From%3A333%401.1..1%5Cr%5CnTo%3Atest%402.2.2.2
- Request Method: GET
- Status Code: 400 Invalid headers
Thanks for any feedback!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180426/75e9568a/attachment.html>
More information about the sr-users
mailing list