<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)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><title>Re: [Freeswitch-users] Crash whilst making multiple outbound call attempts</title><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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
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-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Apologies, I hadn&#8217;t realised I had got so far behind the current release. I&#8217;ll upgrade and re-port if the problem still exists.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span lang=EN-US style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Ken Rice<br><b>Sent:</b> 17 March 2013 23:52<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Crash whilst making multiple outbound call attempts<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Courier New"'>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<br><br>K<br><br><br>On 3/17/13 4:39 PM, &quot;Andy Ayers&quot; &lt;<a href="andy@fabulous4.co.uk">andy@fabulous4.co.uk</a>&gt; wrote:</span><o:p></o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Hi,<br>&nbsp;<br>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.<br>&nbsp;<br>Here&#8217;s a little more info about the setup:<br>&nbsp;<br>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;<br>&nbsp;<br></span><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) {<br>&nbsp;&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>);<br>&nbsp;&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>);<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style='color:blue'>return</span> newSession;<br>}<br>&nbsp;<br>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.<br>&nbsp;<br>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?<br>&nbsp;<br>Any help greatly appreciated.<br>&nbsp;<br>Many thanks<br>Andy<br>&nbsp;<br><br></span><span style='font-size:11.0pt;font-family:"Courier New"'><o:p></o:p></span></p><div class=MsoNormal align=center style='text-align:center'><span style='font-size:11.0pt;font-family:"Courier New"'><hr size=3 width="95%" align=center></span></div><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'>_________________________________________________________________________<br>Professional FreeSWITCH Consulting Services:<br><a href="consulting@freeswitch.org">consulting@freeswitch.org</a><br><a href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br><br>FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br><a href="http://www.cudatel.com">http://www.cudatel.com</a><br><br>Official FreeSWITCH Sites<br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a><br><a href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a><br><a href="http://www.cluecon.com">http://www.cluecon.com</a><br><br>FreeSWITCH-users mailing list<br><a href="FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a href="http://www.freeswitch.org">http://www.freeswitch.org</a></span><o:p></o:p></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:Consolas'><br></span><span style='font-size:11.0pt;font-family:"Courier New"'>-- <br>Ken<br><u><span style='color:blue'><a href="http://www.FreeSWITCH.org">http://www.FreeSWITCH.org</a><br><a href="http://www.ClueCon.com">http://www.ClueCon.com</a><br><a href="http://www.OSTAG.org">http://www.OSTAG.org</a><br></span></u>irc.freenode.net #freeswitch</span><o:p></o:p></p></div></body></html>