<div dir="ltr">Hi,<div><br></div><div>I am looking for some help with SIP gateway setup. I have a scenario where the SIP provider needs the <b>To-Header</b> and <b>Request-Line</b> to have their domain, but the request needs to be routed through a proxy. </div>
<div><div><br></div><div><b>Gateway configuration</b></div><div><include></div><div> <gateway name="<a href="http://sip-domain.com">sip-domain.com</a>"></div><div> <param name="realm" value="<b><a href="http://sip-domain.com">sip-domain.com</a></b>" /></div>
<div> <param name="proxy" value="<b><a href="http://sip-proxy.com">sip-proxy.com</a></b>"/></div><div> <param name="register" value="<b>false</b>"/></div><div> <param name="from-domain" value="<a href="http://sip-domain.com">sip-domain.com</a>"/></div>
<div> </gateway></div><div></include></div></div><div><br></div><div><b>Dial plan </b></div><div><action application="bridge" data="sofia/gateway/<a href="http://sip-domain.com/xxxx">sip-domain.com/xxxx</a>" /></div>
<div><br></div><div>Now when I send the call out through the gateway, the <b>To-Domain</b> and the <b>Request-Line </b>looks like <b><a href="mailto:sip%3Axxxx@sip-proxy.com">sip:xxxx@sip-proxy.com</a></b>, but i need it to be something like <b><a href="mailto:sip%3Axxxx@sip-domain.com">sip:xxxx@sip-domain.com</a></b></div>
<div><br></div><div>Is there a way where that I can set the To-domain? </div><div>(may be something similar to param <b>from-domain</b> )<br></div><div><br></div><div>Thanks</div><div>Deepak</div><div><br></div></div>