[SR-Users] Add websocket header to SIP

Kamrul Khan dodul at live.com
Thu Aug 28 01:16:13 CEST 2014


Hi,
I want to append the origin header of my incoming websockets to the SIP INVITES. I tried something like the below but didnt work:
 if (ws_handle_handshake())		{                        if(method=="INVITE"){                             insert_hf("Origin: $hdr(Origin)");                        }			exit;		}
Is there any other way to do it ?


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140828/0198812c/attachment.html>


More information about the sr-users mailing list