<div dir="ltr">Hi im currently trying to use opensips to redirect calls to fixed locations, how do i rewrite the TO-part of the sip header. im trying to use
<div><br></div><div>rewriteuri("<a href="mailto:sip%3A61433021@voip.mycompany.com">sip:61433021@voip.mycompany.com</a>")</div><div><br></div><div>what do i use to make sure this is used as the TO in the sip header.</div>
<div><br></div><div>i tried to use </div><div><br></div><div>sl_send_reply("302","redirected")</div><div><br></div><div>but this result in the rewritten uri being saved in the contact part of the header, and this is not what i want.</div>
<div><br></div><div>any help would be appreciated</div></div>