<div dir="ltr"><p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">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.</p>
<p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">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.</p>
<p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">In this case, a connection with the IVR was not established:</p>
<div style="border:1pt solid windowtext;padding:1pt 4pt">
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [DEBUG] sofia.c:7301
Channel sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> entering state [early][183]</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [DEBUG]
switch_core_media_bug.c:970 Attaching BUG to sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a></span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">EXECUTE [depth=0] sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
set_audio_level(read 0)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">EXECUTE [depth=0] sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
socket(<a href="http://127.0.0.1:8085">127.0.0.1:8085</a> async full)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [NOTICE]
mod_event_socket.c:450 Trying host: <a href="http://127.0.0.1:8085">127.0.0.1:8085</a></span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [ERR]
mod_event_socket.c:484 Socket Error: Connection refused</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [ERR] mod_event_socket.c:488
Socket Error!</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [NOTICE]
switch_core_state_machine.c:386 sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> has
executed the last dialplan instruction, hanging up.</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:31:43.332652 [NOTICE]
switch_core_state_machine.c:388 Hangup sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
[CS_EXECUTE] [NORMAL_CLEARING]</span></p>
</div>
<p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">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:</p>
<div style="border:1pt solid windowtext;padding:1pt 4pt">
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-14 21:20:08.732663 [DEBUG]
switch_ivr_play_say.c:1933 done playing file silence_stream://250</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-14 21:20:08.732663 [NOTICE]
switch_core_state_machine.c:386 sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> has
executed the last dialplan instruction, hanging up.</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-14 21:20:08.732663 [NOTICE]
switch_core_state_machine.c:388 Hangup sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
[CS_EXECUTE] [NORMAL_CLEARING]</span></p>
</div>
<p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">Other example:</p>
<div style="border:1pt solid windowtext;padding:1pt 4pt">
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:08:10.452655 [DEBUG] switch_ivr.c:632
sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> Command Execute [depth=1]
play_and_get_digits(0 1 1 0 1234567890 phrase:greeting silence_stream://250
dialed_digits)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">EXECUTE [depth=1] sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
play_and_get_digits(0 1 1 0 1234567890 phrase:greeting silence_stream://250
dialed_digits)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:08:10.492654 [DEBUG] switch_ivr.c:632
sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> Command Execute [depth=2] sleep(3000)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">EXECUTE [depth=2] sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
sleep(3000)</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:08:10.532671 [DEBUG] sofia.c:7301
Channel sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> entering state [ready][200]</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:08:30.092667 [NOTICE]
switch_core_state_machine.c:386 sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a> has
executed the last dialplan instruction, hanging up.</span></p>
<p class="MsoNormal" style="border:none;padding:0cm;margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif"><span style="font-size:10pt;line-height:107%">2021-12-15 13:08:30.092667 [NOTICE]
switch_core_state_machine.c:388 Hangup sofia/external/<a href="mailto:XXXXXXXXXX@sip.telnyx.com">XXXXXXXXXX@sip.telnyx.com</a>
[CS_EXECUTE] [NORMAL_CLEARING]</span></p>
</div>
<p class="MsoNormal" style="margin:0cm 0cm 8pt;line-height:107%;font-size:11pt;font-family:Calibri,sans-serif">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?</p></div>