Hello guys,<br><br>I know this is kamailio's mailing list, but I'm getting no answer on freeswitch, and i thought someone here has probably done this is the past.<br><br>I have a proxy in front of freeswitch. I want freeswitch to use the proxy for everything including the termination to my provider.<br><br>If I configured the gateway like this:<br><br><include><br>  <gateway name="myprovider"><br>    <param name="username" value="username" /><br>    <param name="auth-username" value="username"/><br>    <param name="password" value="password" /><br>    <param name="register" value="true"/><br>    <param name="caller-id-in-from" value="true"/><br>    <param name="from-domain" value="<a href="http://myprovider.com">myprovider.com</a>"/><br>    <param name="realm" value="<a href="http://myprovider.com">myprovider.com</a>"/><br>    <param name="register-proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/><br>  </gateway><br></include><br><br>The registration works properly, the REGISTER goes to the proxy like<br><br>REGISTER sip:<a href="http://myprovider.com">myprovider.com</a>;transport=udp SIP/2.0<br><br>and the proxy forwards it fine, and registration works great.<br>But when i try to call via this gateway, the call goes STRAIGHT to the provider!<br><br>If, on the other hand, i configure my gateway as:<br><br><include><br>  <gateway name="myprovider"><br>    <param name="username" value="username" /><br>    <param name="auth-username" value="username"/><br>    <param name="password" value="password" /><br>    <param name="register" value="true"/><br>    <param name="caller-id-in-from" value="true"/><br>    <param name="from-domain" value="<a href="http://myprovider.com">myprovider.com</a>"/><br>    <param name="realm" value="<a href="http://myprovider.com">myprovider.com</a>"/><br>    <param name="register-proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/><br>    <param name="proxy" value="<a href="http://myproxy.domain.com">myproxy.domain.com</a>"/><br>  </gateway><br></include><br><br>Registration does NOT work, because the uri is:<br><br>REGISTER sip:<a href="http://myproxy.domain.com">myproxy.domain.com</a>;transport=udp SIP/2.0<br><br>Because there is no registrar on that proxy!<br><br><br><br>