[Freeswitch-users] FS behind NAT

Tao Zhang tao at petatrading.com
Fri Oct 9 23:34:42 MSD 2015


Yes, I did

systemctl stop freeswitch

then

systemctl start freeswitch

I also tried to modify internal.xml and external.xml following some
instructions on https://wiki.freeswitch.org/wiki/NAT_Traversal. I think
this verto video conf demo is not using those sip profiles? It did not fix
the problem either anyway.

Thanks

Tao


On Fri, Oct 9, 2015 at 12:13 PM, Giovanni Maruzzelli <gmaruzz at gmail.com>
wrote:

>
>
> On Fri, Oct 9, 2015 at 3:06 PM, Tao Zhang <tao at petatrading.com> wrote:
>
>> In verto.conf.xml, there is a param  for ext_rtp_ip, but it was commented
>> out.
>>
>> <!--  <param name="ext-rtp-ip" value=""/> -->
>>
>> I tried to uncomment this param and set it to the FS external IP, but it
>> dd not fix the problem..
>>
>>
> have you restarted mod_verto, or freeswitch ?
>
>
>
>> Tao
>>
>>
>> On Fri, Oct 9, 2015 at 4:50 AM, Giovanni Maruzzelli <gmaruzz at gmail.com>
>> wrote:
>>
>>> FS is almost always behind a NAT.
>>> You must set ext-rtp-ip in verto.conf.xml (can't remember the variable
>>> name now from cellphone. Check into verto.conf.xml)
>>>
>>> sent from my mobile,
>>> Giovanni Maruzzelli
>>> cell: +39 347 266 56 18
>>> On Oct 9, 2015 8:17 AM, "Tao Zhang" <tao at petatrading.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I have been tracking down why my FS verto video conf demo setup not
>>>> working. Now I believe the reason is my FS server is behind a NAT. My
>>>> previous posts may be misleading now, so I am creating a new thread.
>>>>
>>>> Some evidence I saw:
>>>>
>>>> 1) In the SDP dialog, I saw my FS server's internal IP got used, rather
>>>> than its public IP, for example
>>>>
>>>> Dialog 6c62f631-469c-a2f0-e484-6e9cfcda7eedANSWER SDP v=0
>>>> o=FreeSWITCH 1444254094 1444254095 IN IP4 10.240.15.244
>>>> s=FreeSWITCH
>>>> c=IN IP4 10.240.15.244                     <=============
>>>> t=0 0
>>>>
>>>> 2) Also, in wireshark , I saw my client is trying to send STUN packets
>>>> to the FS server's internal IP,
>>>>
>>>> 450 18.252726000 192.168.1.7 10.240.15.244 STUN 158 Binding Request
>>>> user: mlvLvmDzCphyQYz5:N3MZoB99aGiAZotr
>>>>
>>>> So now my questions are Will the verto video conf demo work when the FS
>>>> server is behind NAT?   If so, could someone help me with the necessary
>>>> config changes and etc.?
>>>>
>>>> Thanks so much!
>>>>
>>>> Tao
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> Professional FreeSWITCH Consulting Services:
>>>> consulting at freeswitch.org
>>>> http://www.freeswitchsolutions.com
>>>>
>>>> Official FreeSWITCH Sites
>>>> http://www.freeswitch.org
>>>> http://confluence.freeswitch.org
>>>> http://www.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
>>>> http://www.freeswitch.org
>>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.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
>>> http://www.freeswitch.org
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.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
>> http://www.freeswitch.org
>>
>
>
>
> --
> Sincerely,
>
> Giovanni Maruzzelli
> Cell : +39-347-2665618
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.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
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20151009/51939a66/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list