<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>&lt;include&gt;</div><div>  &lt;gateway name=&quot;<a href="http://sip-domain.com">sip-domain.com</a>&quot;&gt;</div><div>    &lt;param name=&quot;realm&quot; value=&quot;<b><a href="http://sip-domain.com">sip-domain.com</a></b>&quot; /&gt;</div>
<div>    &lt;param name=&quot;proxy&quot; value=&quot;<b><a href="http://sip-proxy.com">sip-proxy.com</a></b>&quot;/&gt;</div><div>    &lt;param name=&quot;register&quot; value=&quot;<b>false</b>&quot;/&gt;</div><div>    &lt;param name=&quot;from-domain&quot; value=&quot;<a href="http://sip-domain.com">sip-domain.com</a>&quot;/&gt;</div>
<div>  &lt;/gateway&gt;</div><div>&lt;/include&gt;</div></div><div><br></div><div><b>Dial plan </b></div><div>&lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip-domain.com/xxxx">sip-domain.com/xxxx</a>&quot; /&gt;</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>