[Freeswitch-users] gateway/proxy/provider

Brian : brians at iptel.co
Mon Sep 24 23:15:22 UTC 2018


Hi David,

Have you tried using fs_path for your ob call?


On Monday, September 24, 2018, David Villasmil <
david.villasmil.work at 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/brwtshoO8pFoWzivuTYTqzcgbWbRGn8NoU8wERg_KJm3_dQfWsYZcw5SQWdMXaW39zaYym3eYNHeLECuyKxBYYGgtAEK-2_yIIyzW_3fVstyQg=s0-d-e1-ft#https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif
>
> <
https://ci4.googleusercontent.com/proxy/9clsM5l2LCOkWgFnmtC5AcB373zu9V-tEEyatn76dk2ZceD21xhzpoBQMEobe-KTxvgDc8KEuHnXehdXXisA0SyTJTqhqPL0ruSDkX2o0a6L3s6jJhTyQg8sFFIO962ry92wcJM4Kwsd_M35Q0XkRp-HD-K8lZ3vsFRjtzpSzpUzLsBmnt7faXVA_lFxntideboPttRHivl243_NxbSfskJ5CZreGxDn_D7UM22O9DyJLt05oVApcWW40QLN8mf3Bk9teekTmQDUKrTp47yV=s0-d-e1-ft#https://plus.google.com/u/1/_/focus/photos/public/AIbEiAIAAABDCJauh-KD253CPiILdmNhcmRfcGhvdG8qKGU2NzQzMmZmZDJiNjdjMzMxNmU5OTUwY2QyNDM4ZTZkOGMwYWVjOGUwAWX3K85GhrhrlY4u9DzEPdh2yDdT?sz=32
>
> ReplyForward
> <
https://ci3.googleusercontent.com/proxy/QOKnIbfXiMGPEATDM-zVHLnvbr-59bIJZkjc7OCBdzZSIRNEqN_UNL-69eQbQteFagJkLymInNYvYDr9DSdJN8tR2MNDYH2uIXiBs96-ksex8kKH0AsYoCmiPzmAytGP6dakFh7FHPimz27nUt-UAJniOvS-Ap0FyIVhwAqljzfJWMN47Q2PsufpvFj2EZwVZHV6QMAdJmA3EvyMxBUUifozgg=s0-d-e1-ft#https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=5141107a-6fb2-4634-b5c4-439c01c97e30>ᐧ
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180925/98c6e755/attachment-0001.html>


More information about the FreeSWITCH-users mailing list