[Freeswitch-users] TCP registrations

Brian West brian at freeswitch.org
Tue Feb 2 20:07:59 MSK 2016


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         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         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 <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>

*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160202/b35f5892/attachment.html 


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