Freeswitch can not connect to Kazoo fully

92 views
Skip to first unread message

HaiBui

unread,
Jun 14, 2017, 10:57:40 AM6/14/17
to 2600hz-dev
Hi all,

I have already built new Kazoo Version 4 all in one via source. Everything work ok: I can create account, make call locally.
Yesterday, when I restart Freeswitch, this service can restart and connect to erlang node but not fully.

Check erlang status:
freeswitch@kazoo> erlang status
Running mod_kazoo v1.4.0-1
Listening for new Erlang connections on 0.0.0.0:8031 with cookie <my cookie>
Registered as Erlang node frees...@kazoo.local, visible as freeswitch
Connected to:
  kazoo...@kazoo.local (172.16.0.7:8031) up 0 years, 0 days, 0 hours, 0 minutes, 59 seconds

Freeswitch log
:
 2017-06-14 05:38:18.398238 [DEBUG] kazoo_event_stream.c:171 Starting erlang event stream 0x7fab38001020 on 0.0.0.0:39408 for kazoo...@kazoo.local <3.4723.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_event_stream.c:487 Adding event binding ab7d9792-50c3-11e7-b2da-a3e1ee628490 to stream 0x7fab38001020 for kazoo...@kazoo.local <3.4723.0>: CHANNEL_CREATE
2017-06-14 05:38:18.398238 [DEBUG] kazoo_event_stream.c:487 Adding event binding ab7d9878-50c3-11e7-b2db-a3e1ee628490 to stream 0x7fab38001020 for kazoo...@kazoo.local <3.4723.0>: CHANNEL_ANSWER
2017-06-14 05:38:18.398238 [DEBUG] kazoo_event_stream.c:487 Adding event binding ab7d990e-50c3-11e7-b2dc-a3e1ee628490 to stream 0x7fab38001020 for kazoo...@kazoo.local <3.4723.0>: CHANNEL_DESTROY
2017-06-14 05:38:18.398238 [DEBUG] kazoo_fetch_agent.c:525 Removed dialplan XML handler kazoo...@kazoo.local <3.4701.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_fetch_agent.c:525 Removed chatplan XML handler kazoo...@kazoo.local <3.4701.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_fetch_agent.c:525 Removed configuration XML handler kazoo...@kazoo.local <3.4698.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_node.c:1235 Received erlang exit notice for kazoo...@kazoo.local <3.4723.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4723.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4723.0>
2017-06-14 05:38:18.398238 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4723.0>
2017-06-14 05:38:18.878257 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4858.0>
2017-06-14 05:38:18.898256 [DEBUG] kazoo_event_stream.c:263 Shutting down erlang event stream 0x7fab38001020
2017-06-14 05:38:18.898256 [NOTICE] switch_event.c:2140 Event Binding deleted for ab7d990e-50c3-11e7-b2dc-a3e1ee628490:CHANNEL_DESTROY
2017-06-14 05:38:18.898256 [NOTICE] switch_event.c:2140 Event Binding deleted for ab7d9878-50c3-11e7-b2db-a3e1ee628490:CHANNEL_ANSWER
2017-06-14 05:38:18.898256 [NOTICE] switch_event.c:2140 Event Binding deleted for ab7d9792-50c3-11e7-b2da-a3e1ee628490:CHANNEL_CREATE
2017-06-14 05:38:21.878257 [DEBUG] kazoo_node.c:1127 Received net_kernel message, attempting to reply
2017-06-14 05:38:22.078244 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4858.0>
2017-06-14 05:38:22.078244 [DEBUG] kazoo_fetch_agent.c:638 Added configuration XML handler kazoo...@kazoo.local <3.4869.0>
2017-06-14 05:38:22.078244 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4869.0>
2017-06-14 05:38:22.078244 [DEBUG] kazoo_fetch_agent.c:638 Added dialplan XML handler kazoo...@kazoo.local <3.4872.0>
2017-06-14 05:38:22.078244 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4872.0>
2017-06-14 05:38:22.118244 [DEBUG] kazoo_fetch_agent.c:638 Added chatplan XML handler kazoo...@kazoo.local <3.4872.0>
2017-06-14 05:38:22.318255 [DEBUG] kazoo_node.c:1319 Sent erlang message to kazoo...@kazoo.local <3.4872.0>

Log on Kazoo:
Jun 14 05:38:41 kazoo 2600hz[26207]: |00000000000|ecallmgr_fs_nodes:686 (<0.4914.0>) unable to start node frees...@kazoo.local handlers: {{shutdown,{failed_to_start_child,'frees...@kazoo.local_event_stream_sup',{shutdown,{failed_to_start_child,['CHANNEL_CREATE','CHANNEL_ANSWER','CHANNEL_DESTROY'],timeout}}}},{child,undefined,'frees...@kazoo.local',{ecallmgr_fs_node_sup,start_link,['frees...@kazoo.local',[{cookie,qnDyfH3A57tiOClg7Hh3GKSwIxNLajPU},{client_version,<<"mod_kazoo v1.4.0-1">>}]]},transient,infinity,supervisor,[ecallmgr_fs_node_sup]}}

 I try to restart many times but it still not work. Do you have any idea ?
For more detail:
+ Kazoo: 4.0.52
+ Freeswitch: 1.6
+ Debian Jessie.

Thank for your support !
Reply all
Reply to author
Forward
0 new messages