VoIP Mailing List Archives
Mailing list archives for the VoIP community |
|
View previous topic :: View next topic |
Author |
Message |
lucas at toptive.co Guest
|
Posted: Thu Dec 16, 2021 9:16 am Post subject: [Freeswitch-users] Problem with socket connection |
|
|
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@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com)
EXECUTE [depth=0] sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com) set_audio_level(read 0)
EXECUTE [depth=0] sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com) [CS_EXECUTE] [NORMAL_CLEARING]
Other example:
2021-12-15 13:08:10.452655 [DEBUG] switch_ivr.c:632 sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com) Command Execute [depth=2] sleep(3000)
EXECUTE [depth=2] sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com) sleep(3000)
2021-12-15 13:08:10.532671 [DEBUG] sofia.c:7301 Channel sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@sip.telnyx.com) entering state [ready][200]
2021-12-15 13:08:30.092667 [NOTICE] switch_core_state_machine.c:386 sofia/external/XXXXXXXXXX@sip.telnyx.com (XXXXXXXXXX@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@sip.telnyx.com (XXXXXXXXXX@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? |
|
Back to top |
|
|
Antony.Stone at freesw... Guest
|
Posted: Thu Dec 16, 2021 9:38 am Post subject: [Freeswitch-users] Problem with socket connection |
|
|
On Thursday 16 December 2021 at 14:59:08, Lucas Ducculi wrote:
Quote: | 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!
|
I would use tshark or tcpdump to perform a packet capture on the machine for
connection requests to port 8085 and see what's happening at that level.
Can you do any logging / debugging on the listener side to see whether the
request to connecto to port 8085 is being seen and handled in some way?
Antony.
--
The Magic Words are Squeamish Ossifrage.
Please reply to the list;
please *don't* CC me.
_________________________________________________________________________
The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.
Join our online community to chat in real time https://signalwire.community
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com
Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com |
|
Back to top |
|
|
dragos at freeswitch.org Guest
|
Posted: Fri Dec 17, 2021 5:34 am Post subject: [Freeswitch-users] Problem with socket connection |
|
|
It looks like you have outbound ESL so you have FS connecting to the IVR, not the other way around.IVR not running ? "mod_event_socket.c:484 Socket Error: Connection refused"
On Thu, Dec 16, 2021 at 4:28 PM Antony Stone <Antony.Stone@freeswitch.open.source.it (Antony.Stone@freeswitch.open.source.it)> wrote:
|
|
Back to top |
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|