Hello,

I am trying to initiate and send a REFER message from OpenSIPS after call hold 
signaling completed.

t_new_request function of tm module allows to send this message immediately, 
this is how I used the function,

t_new_request("REFER", "sip:moh@172.16.30.166", "1001 sip:1001@172.16.30.164", 
"1000 sip:1000@172.16.30.164", "text/plain Hello Alice!");

but I need to add some extra headers into this message before sending it. As 
far as I understand the last parameter (ctx) of function is used for that 
purpose.  Could you please explain how I can use last parameter in order to add 
multiple headers into message.

Thank you
Arda
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to