<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hi,<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I&#8217;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.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Here&#8217;s a little more info about the setup:<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>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&#8230;<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New";color:blue'>function</span><span style='font-size:9.0pt;font-family:"Courier New"'> MakeOutgoingCall(from, fromName, to) {<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; logMessage(<span style='color:#A31515'>&quot;Initiating outgoing call: {originate_timeout=40,effective_caller_id_number=&quot;</span> + from + <span style='color:#A31515'>&quot;,origination_caller_id_number=&quot;</span> + from + <span style='color:#A31515'>&quot;,origination_caller_id_name=&quot;</span> + fromName + <span style='color:#A31515'>&quot;,ignore_early_media=true}sofia/outbound/&quot;</span> + to + <span style='color:#A31515'>&quot;@sip.node4.co.uk&quot;</span>);<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:blue'>var</span> newSession = <span style='color:blue'>new</span> Session(<span style='color:#A31515'>&quot;{originate_timeout=40,effective_caller_id_number=&quot;</span> + from + <span style='color:#A31515'>&quot;,origination_caller_id_number=&quot;</span> + from + <span style='color:#A31515'>&quot;,origination_caller_id_name=&quot;</span> + fromName + <span style='color:#A31515'>&quot;,ignore_early_media=true}sofia/outbound/&quot;</span> + to + <span style='color:#A31515'>&quot;@sip.node4.co.uk&quot;</span>);<o:p></o:p></span></p><p class=MsoNormal style='text-autospace:none'><span style='font-size:9.0pt;font-family:"Courier New"'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <span style='color:blue'>return</span> newSession;<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>}<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>There&#8217;s a fair bit goes on during these calls but nothing fundamentally different to the many inbound calls I&#8217;ve been hadling very successfully so far.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>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&#8217;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?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Any help greatly appreciated.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Many thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'>Andy<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Courier New"'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></body></html>