Crash whilst making multiple outbound call attempts
Hi, I'm running Freeswitch 1.6 and everything has been running incredibly smoothly for many months until I recently extended the functionality of my application to make outbound calls on a schedule handled by PHP. It all works fine when the volumes are low (10 calls every 5 minutes is stable). When I try and ramp up the volumes to do more calls Freeswitch intermittently crashes with no indication in the log files as to why. The log comes to an abrupt halt and the last action in the logs is something different and seemingly harmless every time. Here's a little more info about the setup: I use a cron job on my Linux Debian box to run a php script via apache. This script looks up queued calls in a database and then uses rpc to instruct freeswitch to make the call by executing a javascript script. The calls are originated in Javascript using this function. function MakeOutgoingCall(from, fromName, to) { logMessage("Initiating outgoing call: {originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); var newSession = new Session("{originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); return newSession; } There's a fair bit goes on during these calls but nothing fundamentally different to the many inbound calls I've been hadling very successfully so far. Can anyone suggest what the likley causes of such a crash might be or where I might look to get more information from the systrem that would give me a clue. Apologies I'm no Linux expert. Initially I thought it might be the voicemail detection but turning this off has made no difference. Does this simply point to a hardware fault on my Linux box? Any help greatly appreciated. Many thanks Andy
Do you mean FreeSWITCH 1.0.6? If so this version of FreeSWITCH is Horribly outdated and is no longer supported. It is HIGHLY recommended that you upgrade to a much later version as 1.0.6 has several remotely triggerable issues K On 3/17/13 4:39 PM, "Andy Ayers" <andy@fabulous4.co.uk> wrote:
Hi,
I¹m running Freeswitch 1.6 and everything has been running incredibly smoothly for many months until I recently extended the functionality of my application to make outbound calls on a schedule handled by PHP. It all works fine when the volumes are low (10 calls every 5 minutes is stable). When I try and ramp up the volumes to do more calls Freeswitch intermittently crashes with no indication in the log files as to why. The log comes to an abrupt halt and the last action in the logs is something different and seemingly harmless every time.
Here¹s a little more info about the setup:
I use a cron job on my Linux Debian box to run a php script via apache. This script looks up queued calls in a database and then uses rpc to instruct freeswitch to make the call by executing a javascript script. The calls are originated in Javascript using this function
function MakeOutgoingCall(from, fromName, to) { logMessage("Initiating outgoing call: {originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); var newSession = new Session("{originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); return newSession; }
There¹s a fair bit goes on during these calls but nothing fundamentally different to the many inbound calls I¹ve been hadling very successfully so far.
Can anyone suggest what the likley causes of such a crash might be or where I might look to get more information from the systrem that would give me a clue. Apologies I¹m no Linux expert. Initially I thought it might be the voicemail detection but turning this off has made no difference. Does this simply point to a hardware fault on my Linux box?
Any help greatly appreciated.
Many thanks Andy
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Apologies, I hadn't realised I had got so far behind the current release. I'll upgrade and re-port if the problem still exists. Thanks From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Ken Rice Sent: 17 March 2013 23:52 To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Crash whilst making multiple outbound call attempts Do you mean FreeSWITCH 1.0.6? If so this version of FreeSWITCH is Horribly outdated and is no longer supported. It is HIGHLY recommended that you upgrade to a much later version as 1.0.6 has several remotely triggerable issues K On 3/17/13 4:39 PM, "Andy Ayers" <andy@fabulous4.co.uk> wrote: Hi, I'm running Freeswitch 1.6 and everything has been running incredibly smoothly for many months until I recently extended the functionality of my application to make outbound calls on a schedule handled by PHP. It all works fine when the volumes are low (10 calls every 5 minutes is stable). When I try and ramp up the volumes to do more calls Freeswitch intermittently crashes with no indication in the log files as to why. The log comes to an abrupt halt and the last action in the logs is something different and seemingly harmless every time. Here's a little more info about the setup: I use a cron job on my Linux Debian box to run a php script via apache. This script looks up queued calls in a database and then uses rpc to instruct freeswitch to make the call by executing a javascript script. The calls are originated in Javascript using this function. function MakeOutgoingCall(from, fromName, to) { logMessage("Initiating outgoing call: {originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); var newSession = new Session("{originate_timeout=40,effective_caller_id_number=" + from + ",origination_caller_id_number=" + from + ",origination_caller_id_name=" + fromName + ",ignore_early_media=true}sofia/outbound/" + to + "@sip.node4.co.uk"); return newSession; } There's a fair bit goes on during these calls but nothing fundamentally different to the many inbound calls I've been hadling very successfully so far. Can anyone suggest what the likley causes of such a crash might be or where I might look to get more information from the systrem that would give me a clue. Apologies I'm no Linux expert. Initially I thought it might be the voicemail detection but turning this off has made no difference. Does this simply point to a hardware fault on my Linux box? Any help greatly appreciated. Many thanks Andy _____ _________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.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 -- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
participants (2)
-
Andy Ayers
-
Ken Rice