<br>Sorry i forget to give my extentions config.<br><br>[clientsG]<br>exten => _x.,1,Set(UserN=${CALLERID(all)})<br>exten => _x.,2,Set(CalledNum=${EXTEN})<br>exten => _x.,3,Set(Stime=${DATETIME})<br>exten => _x.,4,Set(CID=${CALLERID})<br>exten => _x.,5,Set(HCA=${HANGUPCAUSE})<br>exten => _x.,6,Set(Cun=${UNIQUEID})<br>exten => _x.,7,AGI(routing.pl)<br>exten => h,1,DeadAGI(stop.pl)<br>exten => h,1,Hangup<br><br>routing.pl<br><br>$AGI->exec('Set',"TIMEOUT(absolute)=$cstatus");<br> my $dialstr = "$gwtype/$gwip/$dialednum";<br> $AGI->exec('Dial', $dialstr); #//Dial the number<br><br><br><br><b><i>Abdul <abdul_zu@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> We are not using any GSM Gateway for call carriers we have<br><br>Asterisk ----> TELES(iSWITCH) -------> MCI<br><br>As Teles is world class telecoms product it
should not make poor protocol stack.<br>In my AGI script already i am using <br><pre style="margin: 0em;">TIMEOUT(absolute)to limit the call according to registrar balance.<br><br>I am thinking my be exten => foo,n,Congestion(3) function can solve<br>the issue but how i can call this i should call it after dial or before?<br><br>is (3) is max Congestion time?<br><br>Thank You <br><br></pre><br><br><b><i>Abdul <abdul_zu@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br><b><i>Abdul <abdul_zu@yahoo.com></i></b> wrote:<blockquote class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> Good Day All,<br><br>I am facing a serious problem since I started to use asterisk. I don’t know if it is a bug or some one already solved this.<br><br>Currently I am running 120 VoIP SIP channels on my asterisk server but each day 2, 3 calls
got hanged in asterisk, and on asterisk CLI “show channels” showing us as call UP but in real there is no call.<br><br>When asterisk restarted the hanged calls removed from CLI with very high duration which damaged our billing system and customers accounts goes in high negative.<br><br>First I tried to get call info from asterisk mysql CDR using billsec field but the same result then I create PERL AGI to get duration from “ANSWEREDTIME” and same result.<br><br>Please have a look to the following URL which I put the result of “show channel <channelname>” you can see the DIALSTATUS=CONGESTION but Elapsed Time: 20h54m16s which really strange and out of my mind to control such as call.<br><br>http://www.emafone.net/bugs.html<br><br>Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue.<br><br>This is in both ver of asterisk 1.2 and 1.4<br><br><br><br><br><strong><font color="#0000bf" face="arial black">--------
<br>Regard,</font></strong><div> </div><hr size="1">Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> Find them fast with Yahoo! Search.</a></blockquote><br><div> </div><hr size="1">Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> Find them fast with Yahoo! Search.</a></blockquote><br><br><br><strong><font color="#0000bf" face="arial black">-------- <br>Regard,</font></strong><div> </div><hr size="1">Looking for last minute shopping deals? <a href="http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping"> Find them fast with Yahoo! Search.</a></blockquote><br><p> 
<hr size=1>Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. <a href="http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ "> Try it now.</a>