Hi, I have been investigating a number of calls coming in to my switch that don't appear to complete properly. These are incoming calls to a service which records voicemail messgaes. When I look in the logs to see what has happened to these calls the logging information seems to simply come to an abrupt halt at a certain point in the call. In other words there is no information about the call being hung up or the session ended. They all seem to end at the same point in the call and the last few lines in the log file are: 018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.848903 [DEBUG] switch_ivr_play_say.c:452 Raw Codec Activated, ready to waste resources! 2011-09-21 04:30:14.849956 [WARNING] switch_core_file.c:176 Sample rate doesn't match 018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.849956 [DEBUG] switch_ivr_play_say.c:560 Raw Codec Activated 018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.849956 [DEBUG] switch_core_codec.c:122 sofia/external/anonymous@localhost Push codec L16:10 018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:29.028452 [DEBUG] switch_core_io.c:403 Engaging Read Buffer at 320 bytes vs 40 It's also then in most cases followed by a new call coming in: 39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [NOTICE] switch_channel.c:669 New Channel sofia/external/anonymous@localhost [39cade04-e402-11e0-8e41-a5b8fd8e2a79] 39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [DEBUG] switch_core_state_machine.c:314 (sofia/external/anonymous@localhost) Running State Change CS_NEW 39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [DEBUG] switch_core_state_machine.c:320 (sofia/external/anonymous@localhost) State NEW 39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.211238 [DEBUG] sofia.c:4153 Channel sofia/external/anonymous@localhost entering state [received][100] I'm guessing the session has simply crashed somehow and freeswitch has been good enough to recover from it. Anyone had a similar experience or can shed any light on what's actually happening and how to prevent it? I'm on version 1.06 Cheers Andy
Your first step is to get the latest GIT version from http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide This is always the best first step when troubleshooting because in the event we need to make any changes to the code we always need to start with this revision anyway plus 1.0.6 is more than a year old. On Mon, Sep 26, 2011 at 4:11 AM, Andy Ayers <andy@fabulous4.co.uk> wrote:
Hi,
I have been investigating a number of calls coming in to my switch that don’t appear to complete properly. These are incoming calls to a service which records voicemail messgaes.
When I look in the logs to see what has happened to these calls the logging information seems to simply come to an abrupt halt at a certain point in the call. In other words there is no information about the call being hung up or the session ended. They all seem to end at the same point in the call and the last few lines in the log file are:
018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.848903 [DEBUG] switch_ivr_play_say.c:452 Raw Codec Activated, ready to waste resources!
2011-09-21 04:30:14.849956 [WARNING] switch_core_file.c:176 Sample rate doesn't match
018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.849956 [DEBUG] switch_ivr_play_say.c:560 Raw Codec Activated
018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:14.849956 [DEBUG] switch_core_codec.c:122 sofia/external/anonymous@localhost Push codec L16:10
018afe16-e402-11e0-8e40-a5b8fd8e2a79 2011-09-21 04:30:29.028452 [DEBUG] switch_core_io.c:403 Engaging Read Buffer at 320 bytes vs 40
It’s also then in most cases followed by a new call coming in:
39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [NOTICE] switch_channel.c:669 New Channel sofia/external/anonymous@localhost [39cade04-e402-11e0-8e41-a5b8fd8e2a79]
39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [DEBUG] switch_core_state_machine.c:314 (sofia/external/anonymous@localhost) Running State Change CS_NEW
39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.177540 [DEBUG] switch_core_state_machine.c:320 (sofia/external/anonymous@localhost) State NEW
39cade04-e402-11e0-8e41-a5b8fd8e2a79 2011-09-21 04:31:43.211238 [DEBUG] sofia.c:4153 Channel sofia/external/anonymous@localhost entering state [received][100]
I’m guessing the session has simply crashed somehow and freeswitch has been good enough to recover from it.
Anyone had a similar experience or can shed any light on what’s actually happening and how to prevent it?
I’m on version 1.06
Cheers
Andy
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
participants (2)
-
Andy Ayers
-
Anthony Minessale