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 ?