<div class="gmail_quote">On Fri, May 18, 2012 at 12:00 PM, Justin Killen <span dir="ltr">&lt;<a href="mailto:jkillen@allamericanasphalt.com" target="_blank">jkillen@allamericanasphalt.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">I have and automated call-in dispatch system where hundreds
of people call in daily for 2-3 minutes each.  The extension is set up to
get their information, then text-to-speech the dispatch information (via
odbc).  It then loops 5 times then ends the call.  These calls are
being handled by an 8 port analog digium card.  <u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Sometimes though, I see calls via ‘core show channel
dahdi/1-1’ that have a time of &gt; 16 hours.  I’m not sure if
this is a result of dahdi missing the hangup, ODBC timing out, or TTS failing
for some reason.  When a channel gets in this state, the call doesn’t
seem to progress through the dialplan, they always display the TTS line.  Doing
a ‘dahdi destroy channel 1-1’ doesn’t seem to be effective –
the only way I’ve been able to clear the calls is to do a ‘dahdi
restart’ and/or restart the asterisk service.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">For TTS I’m using cepstral with the Swift wrapper.<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial">Here is a snippet of my dialplan:<u></u><u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"><u></u> <u></u></span></font></p>

<p class="MsoNormal"><font face="Arial"><span style="font-size:10.0pt;font-family:Arial"></span></font></p></div></div></blockquote><div><br>Can you post the CLI output of a call that gets &quot;hung&quot;?  I&#39;d like to see where it&#39;s hanging on.  <br>
<br>Also, as a work-around to attempt to solve the symptom and not the underlying issue, you could maybe setup a cron job that runs once every ten minutes that checks for stale calls using AMI, and then hangs up any calls up that are over 10 minutes long?  Using the AMI Hangup command?<br>
<br> </div></div>-- <br>Thanks,<br>--Warren Selby, dCAP<br><a href="http://www.selbytech.com" target="_blank">http://www.SelbyTech.com</a><br><br>