<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">hello guys,<div><br></div><div>I have a proxy in front of freeswitch. I want freeswitch to use the proxy for everything including the termination to my provider.</div><div><br></div><div>If I configured the gateway like this:</div><div><br></div><div><div><font face="monospace, monospace"><include></font></div><div><font face="monospace, monospace">  <gateway name="myprovider"></font></div><div><font face="monospace, monospace">    <param name="username" value="username" /></font></div><div><font face="monospace, monospace">    <param name="auth-username" value="username"/></font></div><div><font face="monospace, monospace">    <param name="password" value="password" /><br></font></div><div><font face="monospace, monospace">    <param name="register" value="true"/></font></div><div><font face="monospace, monospace">    <param name="caller-id-in-from" value="true"/></font></div><div><font face="monospace, monospace">    <param name="from-domain" value="<a href="http://myprovider.com">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="realm" value="<a href="http://myprovider.com">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="register-proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/></font></div><div><span style="font-family:monospace,monospace">  </gateway></span><br></div><div><font face="monospace, monospace"></include></font></div></div><div><br></div><div>The registration works properly, the REGISTER goes to the proxy like</div><div><br></div><div><font face="monospace, monospace">REGISTER sip:<a href="http://myprovider.com">myprovider.com</a>;transport=udp SIP/2.0</font><br></div><div><br></div><div>and the proxy forwards it fine, and registration works great.</div><div>But when i try to call via this gateway, the call goes STRAIGHT to the provider!<br></div><div><br></div><div>If, on the other hand, i configure my gateway as:</div><div><br></div><div><div><font face="monospace, monospace"><include></font></div><div><font face="monospace, monospace">  <gateway name="myprovider"></font></div><div><font face="monospace, monospace">    <param name="username" value="username" /></font></div><div><font face="monospace, monospace">    <param name="auth-username" value="username"/></font></div><div><font face="monospace, monospace">    <param name="password" value="password" /><br></font></div><div><font face="monospace, monospace">    <param name="register" value="true"/></font></div><div><font face="monospace, monospace">    <param name="caller-id-in-from" value="true"/></font></div><div><font face="monospace, monospace">    <param name="from-domain" value="<a href="http://myprovider.com">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="realm" value="<a href="http://myprovider.com">myprovider.com</a>"/></font></div><div><font face="monospace, monospace">    <param name="register-proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/></font></div><div><font face="monospace, monospace">    <b><param name="proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/></b></font></div><div><font face="monospace, monospace">  </gateway><br></font></div><div><font face="monospace, monospace"></include></font></div></div><div><br></div><div>Registration does NOT work, because the uri is:</div><div><br></div><div><font face="monospace, monospace">REGISTER sip:<b style=""><a href="http://myproxy.domain.com">myproxy.domain.com</a></b>;transport=udp SIP/2.0</font><br></div><div><br></div><div>Because there it no registration on that proxy!</div><div><br></div><div><br></div><div>Please help me with this!</div><div><br></div><div><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=7431f11e-8b69-4ea0-8209-edfc23e32604"><font color="#ffffff" size="1">ᐧ</font></div>