Your best bet is probably $uac_req from the uac module. 

On April 26, 2018 7:31:51 PM EDT, strain17 <[email protected]> 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:[email protected] . . From:[email protected]\r\nTo:[email protected]
>
>    
>- 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!


-- Alex

--
Sent via mobile, please forgive typos and brevity. 

_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to