[Freeswitch-users] TCP registrations

Gregor Nanger gregor at infomedia.si
Sun Feb 7 08:51:08 MSK 2016


Everything works as expected :-) ALG on our router caused this problem. It
looks that ALG blocked outgoing SIP packages via TCP.

Thank you for your time.

2016-02-02 18:07 GMT+01:00 Brian West <brian at freeswitch.org>:

> I'm going to guess your device probably fails to send the transport=tcp on
> the contact there for it probably registers over TCP but we contact it back
> over UDP?  Can you confirm?
>
> On Tue, Feb 2, 2016 at 7:19 AM, Antonio Silva <asilva at wirelessmundi.com>
> wrote:
>
>> The parameter is "bind-params"
>>
>>
>> https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Files
>>
>> by default fs should bind to tcp and udp but if you want only tcp just
>> set for the profile:
>>
>> <param name="bind-params" value="transport=tcp"/>
>>
>>
>>
>>
>> On 02/02/2016 02:01 PM, Sergey Safarov wrote:
>>
>> FS is defailt support UDP, TCP tansport. If you enable TLS in vars.xml
>> also TLS transport is will be enabled.
>> To check what is type of socket is open on server please use
>> netstat -an --inet | grep -P "5060|5061|5080"
>>
>> Example
>> [admin at node1.sbc ~]$ netstat -an --inet | grep -P "5060|5061|5080"
>> tcp        0      0 217.12.247.214:5060     0.0.0.0:*
>> LISTEN
>> tcp        0      0 10.21.7.30:5060
>> <http://t.sidekickopen35.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=http%3A%2F%2F10.21.7.30%3A5060%2F&si=5036397111279616&pi=d7b8e505-fa3b-49a0-bea1-31d998a61506>
>>         0.0.0.0:*               LISTEN
>> tcp        0      0 217.12.247.214:5061     0.0.0.0:*
>> LISTEN
>> tcp        0      0 217.12.247.214:5080     0.0.0.0:*
>> LISTEN
>> udp        0      0 217.12.247.214:5060     0.0.0.0:*
>>
>> udp        0      0 10.21.7.30:5060
>> <http://t.sidekickopen35.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=http%3A%2F%2F10.21.7.30%3A5060%2F&si=5036397111279616&pi=d7b8e505-fa3b-49a0-bea1-31d998a61506>
>>         0.0.0.0:*
>> udp        0      0 217.12.247.214:5080     0.0.0.0:*
>>
>> On Tue, Feb 2, 2016 at 11:50 AM, Gregor Nanger <gregor at infomedia.si>
>> wrote:
>>
>>> Yes, I also think so, but cannot find explicitly documented. So please,
>>> if anyone know exactly which command is, please help.
>>>
>>> 2016-02-02 1:32 GMT+01:00 Bote Man < <bote_radio at botecomm.com>
>>> bote_radio at botecomm.com>:
>>>
>>>> FreeSWITCH uses UDP by default for SIP signaling. You can change this
>>>> in the
>>>> SIP_profile I believe.
>>>>
>>>>
>>>> ---
>>>> Bote
>>>>
>>>> FreeSWITCH Docs Janitor
>>>> http://freeswitch.org/confluence
>>>>
>>>>
>>>>
>>>>
>>>> > -----Original Message-----
>>>> > From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
>>>> freeswitch-
>>>> > users-bounces at lists.freeswitch.org] On Behalf Of Gregor
>>>> > Sent: Monday, 01 February, 2016 17:37
>>>> > To: freeswitch-users at lists.freeswitch.org
>>>> > Subject: [Freeswitch-users] TCP registrations
>>>> >
>>>> > I think I am missing something.
>>>> >
>>>> > I would like to configure freeswitch that listens on TCP port for
>>>> client
>>>> > registrations (internal profile). As I read, freeswitch should do
>>>> this by
>>>> > default. But freeswitch responses only on UDP protocol. Is there a
>>>> conf
>>>> > setting for specify also tcp for registrations.
>>>> >
>>>> >
>>>> > __________________________________________________________
>>>>
>>>>
>>>>
>>>> _________________________________________________________________________
>>>> 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
>>>>
>>>
>>>
>>>
>>> --
>>> Gregor Nanger
>>>
>>> *CTO*
>>> t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
>>> • Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
>>> • www.infomedia.si
>>>
>>> _________________________________________________________________________
>>> 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.orghttp://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon.com
>>
>> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>>
>>
>> --
>>
>> Saludos / Regards / Cumprimentos,
>> António silva
>>
>>
>> _________________________________________________________________________
>> 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
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> Got Bugs? Report them here
> <http://t.sidekickopen35.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Ffreeswitch.org%2Fjira&si=5036397111279616&pi=d7b8e505-fa3b-49a0-bea1-31d998a61506>!
> | Reddit: /r/freeswitch
> <http://t.sidekickopen35.com/e1t/c/5/f18dQhb0S7lC8dDMPbW2n0x6l2B9nMJN7t5XZsfmT10W5wLWvl4WYKY2W3MhGXn56dLgFf1Tdg-W02?t=https%3A%2F%2Fwww.reddit.com%2Fr%2Ffreeswitch&si=5036397111279616&pi=d7b8e505-fa3b-49a0-bea1-31d998a61506>
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> 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
>



-- 
Gregor Nanger

*CTO*
t./f.: 00386 (0) 7 6000 308/309 • m:. 00386 (0)41 756485
• Infomedia d.o.o. • Jerebova 3, Novo mesto, Slovenia
• www.infomedia.si
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160207/735b3b05/attachment-0001.html 


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