[Freeswitch-users] gateway/proxy/providers

David Villasmil david.villasmil.work at gmail.com
Wed Sep 26 13:52:30 UTC 2018


Hello Carlos,

Thanks, i'll try that

David

On Wed, Sep 26, 2018, 11:23 Carlos Eduardo <kaduww at gmail.com> wrote:

> Hello,
>
> Try using <param name="outbound-proxy" value="myproxy.mydomain.com" />
>
> It worked for me.
>
>
> 2018-09-24 12:36 GMT-03:00 David Villasmil <david.villasmil.work at gmail.com
> >:
>
>> 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!
>>
>>
>> David Villasmil
>> email: david.villasmil.work at gmail.com
>> phone: +34669448337
>>>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Services
>> sales at 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 at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> https://freeswitch.com
>>
>
>
>
> --
> *Carlos E. Wagner*
> *Tecnólogo em Telecomunicações, OCP, dCAA*
>
> *E-mail:* *kaduww at gmail.com <kaduww at gmail.com>*
> *Fone:* +55 48 9981-0894
> *Skype:* carlos.e.wagner
> www.blogdovoip.com
> _________________________________________________________________________
> Professional FreeSWITCH Services
> sales at 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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> https://freeswitch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20180926/3bf90c5c/attachment-0001.html>


More information about the FreeSWITCH-users mailing list