<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div dir="ltr"></div><div dir="ltr">Hi david,</div><div dir="ltr">You need to use fs_path in your dial string (bridge/originate);</div><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);"><br></span></div><div dir="ltr"><span style="background-color: rgba(255, 255, 255, 0);">;fs_path=<a href="sip:XXX.XXX.XXX.XXX:5060">sip:XXX.XXX.XXX.XXX:5060</a> </span></div><div dir="ltr"><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);">Where xxx.xxx.xxx.xxx is your proxy. </span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre><pre><font face="UICTFontTextStyleBody"><span style="white-space: normal; background-color: rgba(255, 255, 255, 0);"><br></span></font></pre>On 25 Sep 2018, at 17:37, Joel Serrano <<a href="mailto:joel@textplus.com">joel@textplus.com</a>> wrote:<br><br></div><blockquote type="cite"><div dir="ltr"><div dir="ltr"><div>Have you tried to file a JIRA in case it's a bug? As an alternative, have you thought of using Kamailio as the FS gateway, and then have Kamailio handle all the gateway stuff... (so to your provider, the UAC would be K and not FS)...<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Sep 25, 2018 at 6:04 AM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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" target="_blank">myprovider.com</a>"/><br>    <param name="realm" value="<a href="http://myprovider.com" target="_blank">myprovider.com</a>"/><br>    <param name="register-proxy" value="<a href="http://myproxy.domain.com" target="_blank">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" target="_blank">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" target="_blank">myprovider.com</a>"/><br>    <param name="realm" value="<a href="http://myprovider.com" target="_blank">myprovider.com</a>"/><br>    <param name="register-proxy" value="<a href="http://myproxy.domain.com" target="_blank">myproxy.domain.com</a>"/><br>    <param name="proxy" value="<a href="http://myproxy.domain.com" target="_blank">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" target="_blank">myproxy.domain.com</a>;transport=udp SIP/2.0<br><br>Because there is no registrar on that proxy!<br><br><br><br>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div>
</div></blockquote><blockquote type="cite"><div dir="ltr"><span>_______________________________________________</span><br><span>Kamailio (SER) - Users Mailing List</span><br><span><a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a></span><br><span><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a></span><br></div></blockquote></body></html>