mod_erlang_event outbound timeout in FreeSWITCH 1.6
Hi all, I've been using mod_erlang_event outbound mode with FS 1.4 for ~1 year with no issues but am unable to get it to work on 1.6 or master (on Debian Jessie, installed from apt). When mod_erlang_event attempts to make an outbound connection to my Erlang node it errors with a timeout (relevant logs below). Inbound mode continues to work fine. I am preparing a more detailed bug report with test scripts, etc. but wanted to quickly check whether anyone else on the list has faced similar issues or has suggestions on other things to try. Thanks! Nathan Hartwell Logs: EXECUTE sofia/internal/1001@192.168.33.10 erlang(yacc_inbound:launch yacc-dev@localhost) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1665 enter erlang_outbound_function yacc_inbound:launch yacc-dev@localhost 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1684 Using existing listener for session 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1696 Creating new spawned session for listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1540 Added session to listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1563 rpc call: yacc_inbound:launch(Ref) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1575 Waiting for reply 9.0.0@freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b 2016-03-29 23:27:26.765708 [WARNING] mod_erlang_event.c:1581 Timed out when waiting for outbound pid 9.0.0@freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b Dialplan: <extension name="yacc_queue"> <condition field="destination_number" expression="^5007$"> <action application="set" data="yacc_queue=advisor"/> <action application="erlang" data="yacc_inbound:launch yacc-dev@localhost"/> </condition> </extension>
Some time ago added IPv6 support to mod_erlang. Thinking it related to this commit. Please file a jira. I will try reproduce issue. As hotfix you may checkout mod_erlang without IPv6 support and commpile. On Wed, Mar 30, 2016, 18:11 Nathan Hartwell <njhartwell@gmail.com> wrote:
Hi all,
I've been using mod_erlang_event outbound mode with FS 1.4 for ~1 year with no issues but am unable to get it to work on 1.6 or master (on Debian Jessie, installed from apt). When mod_erlang_event attempts to make an outbound connection to my Erlang node it errors with a timeout (relevant logs below). Inbound mode continues to work fine.
I am preparing a more detailed bug report with test scripts, etc. but wanted to quickly check whether anyone else on the list has faced similar issues or has suggestions on other things to try.
Thanks! Nathan Hartwell
Logs:
EXECUTE sofia/internal/1001@192.168.33.10 erlang(yacc_inbound:launch yacc-dev@localhost) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1665 enter erlang_outbound_function yacc_inbound:launch yacc-dev@localhost 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1684 Using existing listener for session 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1696 Creating new spawned session for listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1540 Added session to listener 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1563 rpc call: yacc_inbound:launch(Ref) 2016-03-29 23:27:21.745778 [DEBUG] mod_erlang_event.c:1575 Waiting for reply 9.0.0@freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b 2016-03-29 23:27:26.765708 [WARNING] mod_erlang_event.c:1581 Timed out when waiting for outbound pid 9.0.0@freeswitch@localhost 3eb319cd-883c-4918-9d42-395e7683585b
Dialplan:
<extension name="yacc_queue"> <condition field="destination_number" expression="^5007$"> <action application="set" data="yacc_queue=advisor"/> <action application="erlang" data="yacc_inbound:launch yacc-dev@localhost"/> </condition> </extension> _________________________________________________________________________ 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
participants (2)
-
Nathan Hartwell
-
Sergey Safarov