[Freeswitch-users] SmartOS or Solaris - using tcp for gateways

Support support at directvoip.co.uk
Sat Aug 22 23:45:31 MSD 2015


Michael,


Thanks for the reply.


I'd just like to add that from startup with a fresh install of freeswitch this is happening.


Another strange thing is that connecting handsets using TCP to the internal profile seems to present no problems at all.


Regards
Darren

  _____  

From: Michael Jerris [mailto:mike at jerris.com]
To: FreeSWITCH Users Help [mailto:freeswitch-users at lists.freeswitch.org]
Sent: Sat, 22 Aug 2015 15:09:40 +0000
Subject: Re: [Freeswitch-users] SmartOS or Solaris - using tcp for gateways


It looks like it attempts to open a tcp socket and fails.  I'd check system limits on tcp sockets, and settings related to reusing sockets (you would have to go back in the log and confirm that socket was recently used) and see how those things might be different on SmartOS.




On Aug 22, 2015, at 10:53 AM, Support <support at directvoip.co.uk> wrote:

Is anyone using smartos or solaris and using tcp for gateways?


I have raised a ticket https://freeswitch.org/jira/browse/FS-7991


When trying to register to the gateway I get:




2015-08-19 15:07:59.194456 [ERR] sofia_reg.c:2367 97b1323c-9ff1-44e3-b3b2-0e92fefa62a7 Failed Registration with status Service Unavailable [503]. failure #1   nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering   2015-08-19 15:08:00.174456 [WARNING] sofia_reg.c:505 97b1323c-9ff1-44e3-b3b2-0e92fefa62a7 Failed Registration [503], setting retry to 30 seconds.   nta.c:9101 outgoing_timer_dk() nta: timer K fired, terminate REGISTER (79662368)   nta.c:8799 outgoing_reclaim_queued() outgoing_reclaim_all(0, 0, fffffd7ffe904d20)   nta.c:8929 _nta_outgoing_timer() nta_outgoing_timer: 0/0 resent, 0/0 tout, 1/1 term, 1/1 free   nta.c:1289 agent_timer() nta: timer not set   2015-08-19 15:08:31.174457 [NOTICE] sofia_reg.c:448 Registering 97b1323c-9ff1-44e3-b3b2-0e92fefa62a7   nua.c:622 nua_register() nua: nua_register: entering   nua_stack.c:529 nua_signal() nua(1dc6310): sent signal r_register   nua_stack.c:569 nua_stack_signal() nua(1dc6310): recv signal r_register   nua_params.c:480 nua_stack_set_params() nua: nua_stack_set_params: entering   soa.c:403 soa_set_params() soa_set_params(static::936c10, ...) called   nua_dialog.c:338 nua_dialog_usage_add() nua(1dc6310): adding register usage   nta.c:4417 nta_leg_tcreate() nta_leg_tcreate(2cc6850)   nta.c:2665 nta_tpn_by_url() nta: selecting scheme sip   sres_cache.c:272 sres_cache_get() sres_cache_get(149e7a0, SRV, "_sip._tcp.manchester.out.simwood.com.") called   sres_cache.c:318 sres_cache_get() sres_cache_get(149e7a0, SRV, "_sip._tcp.manchester.out.simwood.com.") returned 1 entries   nta.c:10598 outgoing_query_srv() nta: for "manchester.out.simwood.com" query "_sip._tcp.manchester.out.simwood.com" SRV (cached)   sres_cache.c:272 sres_cache_get() sres_cache_get(149e7a0, A, "manchester.out.simwood.com.") called   sres_cache.c:318 sres_cache_get() sres_cache_get(149e7a0, A, "manchester.out.simwood.com.") returned 1 entries   nta.c:10803 outgoing_query_a() nta: for "manchester.out.simwood.com" query "manchester.out.simwood.com" A (cached)   nta.c:10856 outgoing_answer_a() nta: manchester.out.simwood.com. IN A 178.22.143.66   tport.c:3257 tport_tsend() tport_tsend(1555810) tpn = tcp/178.22.143.66:5060   tport.c:4046 tport_resolve() tport_resolve addrinfo = 178.22.143.66:5060   tport.c:4680 tport_by_addrinfo() tport_by_addrinfo(1555810): not found by name tcp/178.22.143.66:5060   tport.c:862 tport_alloc_secondary() tport_alloc_secondary(1555810): new secondary tport 151fa10   tport_type_tcp.c:203 tport_tcp_init_secondary() tport_tcp_init_secondary(151fa10): Setting TCP_KEEPIDLE to 30   tport_type_tcp.c:209 tport_tcp_init_secondary() tport_tcp_init_secondary(151fa10): Setting TCP_KEEPINTVL to 30   tport.c:1017 tport_base_connect() tport_base_connect(1555810): connect(pf=2 tcp/[178.22.143.66]:5060): No such file or directory   tport.c:3373 tport_tsend() tport_socket failed in tsend   nta.c:8496 outgoing_print_tport_error() nta: REGISTER (79662384): No such file or directory (2) with tcp/[178.22.143.66]:5060   nta.c:1350 set_timeout() nta: timer set to 32000 ms   nta.c:1348 set_timeout() nta: timer shortened to 5000 ms   nua_stack.c:271 nua_stack_event() nua(1dc6310): event r_register 503 Service Unavailable   nua_dialog.c:397 nua_dialog_usage_remove_at() nua(1dc6310): removing register usage   nta.c:4470 nta_leg_destroy() nta_leg_destroy(2cc6850)   nua_stack.c:359 nua_application_event() nua: nua_application_event: entering   nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering   2015-08-19 15:08:31.174457 [ERR] sofia_reg.c:2367 97b1323c-9ff1-44e3-b3b2-0e92fefa62a7 Failed Registration with status Service Unavailable [503]. failure #2   nua.c:366 nua_handle_magic() nua: nua_handle_magic: entering   2015-08-19 15:08:32.174463 [WARNING] sofia_reg.c:505 97b1323c-9ff1-44e3-b3b2-0e92fefa62a7 Failed Registration [503], setting retry to 30 seconds.

No SIP is ever sent.

It seems to go bad here: tport.c:1017 tport_base_connect() tport_base_connect(1555810): connect(pf=2 tcp/[178.22.143.66]:5060): No such file or directory

If I change the transport to UDP, sip flows.

Anyone any ideas?

TIA

Daz
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150822/2834a55b/attachment.html 


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