Welcome!
Daniel
On 28/08/14 20:21, Kamrul Khan wrote:
Worked perfectly. Thanks a lot!
Date: Thu, 28 Aug 2014 12:11:04 +0200
From: mico...@gmail.com
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Add websocket
Worked perfectly. Thanks a lot!
Date: Thu, 28 Aug 2014 12:11:04 +0200
From: mico...@gmail.com
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] Add websocket header to SIP
Hello,
the header Origin is inside the http request used for opening the
websocket
Hello,
the header Origin is inside the http request used for opening the
websocket connection. It is no longer available at invite time.
You can use htable module to store the origin header using connection id.
The logic in the config file should be like:
- in event_route during the handling
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)");