gateway/proxy/provider
Hello guys, 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 <http://myproxy.domain.com/>"/>* </gateway> </include> Registration does NOT work, because the uri is: REGISTER sip:*myproxy.domain.com <http://myproxy.domain.com/>*;transport=udp SIP/2.0 Because there it no registration on that proxy! Please help me with this! ReplyForward ᐧ
Hi David, Have you tried using fs_path for your ob call? On Monday, September 24, 2018, David Villasmil < david.villasmil.work@gmail.com> wrote:
Hello guys,
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 it no registration on that proxy!
Please help me with this! < https://ci3.googleusercontent.com/proxy/brwtshoO8pFoWzivuTYTqzcgbWbRGn8NoU8w...
< https://ci4.googleusercontent.com/proxy/9clsM5l2LCOkWgFnmtC5AcB373zu9V-tEEya...
Any help on this guys? On Mon, Sep 24, 2018, 17:14 David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,
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 <http://myproxy.domain.com/>"/>* </gateway> </include>
Registration does NOT work, because the uri is:
REGISTER sip:*myproxy.domain.com <http://myproxy.domain.com/>*;transport=udp SIP/2.0
Because there it no registration on that proxy!
Please help me with this! ReplyForward ᐧ
Try with outbound-proxy param instead of proxy. On Mon, Sep 24, 2018, 22:06 David Villasmil <david.villasmil.work@gmail.com> wrote:
Hello guys,
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 <http://myproxy.domain.com/>"/>* </gateway> </include>
Registration does NOT work, because the uri is:
REGISTER sip:*myproxy.domain.com <http://myproxy.domain.com/>*;transport=udp SIP/2.0
Because there it no registration on that proxy!
Please help me with this! ReplyForward ᐧ _________________________________________________________________________ Professional FreeSWITCH Services sales@freeswitch.com https://freeswitch.com
Official FreeSWITCH Sites https://freeswitch.com/oss https://freeswitch.org/confluence https://cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users https://freeswitch.com
participants (3)
-
Brian :
-
David Villasmil
-
Dušan Dragić