<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi,<div><br></div><div>I want to append the origin header of my incoming websockets to the SIP INVITES. I tried something like the below but didnt work:</div><div><br></div><div> if (ws_handle_handshake())</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>{</div><div> if(method=="INVITE"){</div><div> insert_hf("Origin: $hdr(Origin)");</div><div> }</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>exit;</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>}</div><div><br></div><div>Is there any other way to do it ?</div><div><br></div><div><br></div><div><br></div> </div></body>
</html>