[Freeswitch-users] Problem with socket connection

Lucas Ducculi lucas at toptive.co
Thu Dec 16 13:59:08 UTC 2021


Hi, I am using FreeSWITCH (version 1.10.2-release-14-f7bdd3845a ~ 64bit),
the system handles 30-70 simultaneous calls. On the other hand, we have an
IVR system that uses the node-esl library to connect to FreeSWITCH.

The problem we have is that some calls are dropped at different stages of
the IVR menu, and in the FS log we see the following.

In this case, a connection with the IVR was not established:

2021-12-15 13:31:43.332652 [DEBUG] sofia.c:7301 Channel sofia/external/
XXXXXXXXXX at sip.telnyx.com entering state [early][183]

2021-12-15 13:31:43.332652 [DEBUG] switch_core_media_bug.c:970 Attaching
BUG to sofia/external/XXXXXXXXXX at sip.telnyx.com

EXECUTE [depth=0] sofia/external/XXXXXXXXXX at sip.telnyx.com
set_audio_level(read 0)

EXECUTE [depth=0] sofia/external/XXXXXXXXXX at sip.telnyx.com socket(
127.0.0.1:8085 async full)

2021-12-15 13:31:43.332652 [NOTICE] mod_event_socket.c:450 Trying host:
127.0.0.1:8085

2021-12-15 13:31:43.332652 [ERR] mod_event_socket.c:484 Socket Error:
Connection refused

2021-12-15 13:31:43.332652 [ERR] mod_event_socket.c:488 Socket Error!

2021-12-15 13:31:43.332652 [NOTICE] switch_core_state_machine.c:386
sofia/external/XXXXXXXXXX at sip.telnyx.com has executed the last dialplan
instruction, hanging up.

2021-12-15 13:31:43.332652 [NOTICE] switch_core_state_machine.c:388 Hangup
sofia/external/XXXXXXXXXX at sip.telnyx.com [CS_EXECUTE] [NORMAL_CLEARING]

In this other example I don't see an error with the socket in the log, but
the call cuts out just after reproducing this silence:

2021-12-14 21:20:08.732663 [DEBUG] switch_ivr_play_say.c:1933 done playing
file silence_stream://250

2021-12-14 21:20:08.732663 [NOTICE] switch_core_state_machine.c:386
sofia/external/XXXXXXXXXX at sip.telnyx.com has executed the last dialplan
instruction, hanging up.

2021-12-14 21:20:08.732663 [NOTICE] switch_core_state_machine.c:388 Hangup
sofia/external/XXXXXXXXXX at sip.telnyx.com [CS_EXECUTE] [NORMAL_CLEARING]

Other example:

2021-12-15 13:08:10.452655 [DEBUG] switch_ivr.c:632 sofia/external/
XXXXXXXXXX at sip.telnyx.com Command Execute [depth=1] play_and_get_digits(0 1
1 0 1234567890 phrase:greeting silence_stream://250 dialed_digits)

EXECUTE [depth=1] sofia/external/XXXXXXXXXX at sip.telnyx.com
play_and_get_digits(0 1 1 0 1234567890 phrase:greeting silence_stream://250
dialed_digits)

2021-12-15 13:08:10.492654 [DEBUG] switch_ivr.c:632 sofia/external/
XXXXXXXXXX at sip.telnyx.com Command Execute [depth=2] sleep(3000)

EXECUTE [depth=2] sofia/external/XXXXXXXXXX at sip.telnyx.com sleep(3000)

2021-12-15 13:08:10.532671 [DEBUG] sofia.c:7301 Channel sofia/external/
XXXXXXXXXX at sip.telnyx.com entering state [ready][200]

2021-12-15 13:08:30.092667 [NOTICE] switch_core_state_machine.c:386
sofia/external/XXXXXXXXXX at sip.telnyx.com has executed the last dialplan
instruction, hanging up.

2021-12-15 13:08:30.092667 [NOTICE] switch_core_state_machine.c:388 Hangup
sofia/external/XXXXXXXXXX at sip.telnyx.com [CS_EXECUTE] [NORMAL_CLEARING]

My impression is that the problem is related to the socket connection
between the IVR and FreeSWITCH. The two things are installed on the same
server (Linux Debian 10), any idea what could cause this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20211216/31fd3ea6/attachment.html>


More information about the FreeSWITCH-users mailing list