[Freeswitch-users] Crash whilst making multiple outbound call attempts

Andy Ayers andy at fabulous4.co.uk
Mon Mar 18 01:39:35 MSK 2013


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

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130317/19fd98c9/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list