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.
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@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Gregor Sent: Monday, 01 February, 2016 17:37 To: freeswitch-users@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.
__________________________________________________________
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@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@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Gregor Sent: Monday, 01 February, 2016 17:37 To: freeswitch-users@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@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@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
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@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@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@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@lists.freeswitch.org [mailto:freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Gregor Sent: Monday, 01 February, 2016 17:37 To: freeswitch-users@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@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@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
The parameter is "bind-params" https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Fil... 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@node1.sbc ~]$ netstat -an --inet | grep -P "5060|5061|5080" tcp 0 0 217.12.247.214:5060 <http://217.12.247.214:5060> 0.0.0.0:* LISTEN tcp 0 0 10.21.7.30:5060 <http://10.21.7.30:5060> 0.0.0.0:* LISTEN tcp 0 0 217.12.247.214:5061 <http://217.12.247.214:5061> 0.0.0.0:* LISTEN tcp 0 0 217.12.247.214:5080 <http://217.12.247.214:5080> 0.0.0.0:* LISTEN udp 0 0 217.12.247.214:5060 <http://217.12.247.214:5060> 0.0.0.0:* udp 0 0 10.21.7.30:5060 <http://10.21.7.30:5060> 0.0.0.0:* udp 0 0 217.12.247.214:5080 <http://217.12.247.214:5080> 0.0.0.0:*
On Tue, Feb 2, 2016 at 11:50 AM, Gregor Nanger <gregor@infomedia.si <mailto:gregor@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@botecomm.com <mailto:bote_radio@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@lists.freeswitch.org <mailto:freeswitch-users-bounces@lists.freeswitch.org> [mailto:freeswitch- <mailto:freeswitch-> > users-bounces@lists.freeswitch.org <mailto:users-bounces@lists.freeswitch.org>] On Behalf Of Gregor > Sent: Monday, 01 February, 2016 17:37 > To: freeswitch-users@lists.freeswitch.org <mailto:freeswitch-users@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@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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 <http://www.infomedia.si>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@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@lists.freeswitch.org <mailto:FreeSWITCH-users@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@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@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Saludos / Regards / Cumprimentos, António silva
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@wirelessmundi.com> wrote:
The parameter is "bind-params"
https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Fil...
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@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@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@botecomm.com> bote_radio@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@lists.freeswitch.org [mailto: freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Gregor Sent: Monday, 01 February, 2016 17:37 To: freeswitch-users@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@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@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@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@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@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
--
Saludos / Regards / Cumprimentos, António silva
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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
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@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@wirelessmundi.com> wrote:
The parameter is "bind-params"
https://freeswitch.org/confluence/display/FREESWITCH/Sofia+Configuration+Fil...
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@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@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@botecomm.com> bote_radio@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@lists.freeswitch.org [mailto: freeswitch- users-bounces@lists.freeswitch.org] On Behalf Of Gregor Sent: Monday, 01 February, 2016 17:37 To: freeswitch-users@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@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@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@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@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@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
--
Saludos / Regards / Cumprimentos, António silva
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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@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@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@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
participants (6)
-
Antonio Silva
-
Bote Man
-
Brian West
-
Gregor
-
Gregor Nanger
-
Sergey Safarov