Hi david,
You need to use fs_path in your dial string (bridge/originate);
;fs_path=sip:XXX.XXX.XXX.XXX:5060
Where xxx.xxx.xxx.xxx is your proxy.
On 25 Sep 2018, at 17:37, Joel Serrano
<joel(a)textplus.com> wrote:
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)...
On Tue, Sep 25, 2018 at 6:04 AM David Villasmil
<david.villasmil.work(a)gmail.com> wrote:
Hello guys,
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.
I have a proxy in front of freeswitch. I want freeswitch to use the proxy for everything
including the termination to my provider.
If I configured the gateway like this:
<include>
<gateway name="myprovider">
<param name="username" value="username" />
<param name="auth-username" value="username"/>
<param name="password" value="password" />
<param name="register" value="true"/>
<param name="caller-id-in-from" value="true"/>
<param name="from-domain" value="myprovider.com"/>
<param name="realm" value="myprovider.com"/>
<param name="register-proxy" value="myproxy.domain.com"/>
</gateway>
</include>
The registration works properly, the REGISTER goes to the proxy like
REGISTER sip:myprovider.com;transport=udp SIP/2.0
and the proxy forwards it fine, and registration works great.
But when i try to call via this gateway, the call goes STRAIGHT to the provider!
If, on the other hand, i configure my gateway as:
<include>
<gateway name="myprovider">
<param name="username" value="username" />
<param name="auth-username" value="username"/>
<param name="password" value="password" />
<param name="register" value="true"/>
<param name="caller-id-in-from" value="true"/>
<param name="from-domain" value="myprovider.com"/>
<param name="realm" value="myprovider.com"/>
<param name="register-proxy" value="myproxy.domain.com"/>
<param name="proxy" value="myproxy.domain.com"/>
</gateway>
</include>
Registration does NOT work, because the uri is:
REGISTER sip:myproxy.domain.com;transport=udp SIP/2.0
Because there is no registrar on that proxy!
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users