Good Day All, 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. 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. 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. 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. 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. http://www.emafone.net/bugs.html Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue. This is in both ver of asterisk 1.2 and 1.4 -------- Regard, --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/9c1fdff6/attachment.htm
When similar problem occurred, I traced the issue to remote GSM gateway with poor protocol stack. The asterisk was doing exactly what it was supposed to do. The IMMEDIATE work around we used was to put maximum call timer into extensions.conf exten => s, 6,Set(TIMEOUT(absolute)=3660) This gives one hour+one minute. With average call duration below 30 minutes this worked quite well for our GSM traffic purposes. You set to any value appropriate to your traffic. ..mike..>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. > >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. > >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. > >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. > >http://www.emafone.net/bugs.html > >Please advice us if it is Bug and solved in some ver or its need >some configuration to avoid this issue. > >This is in both ver of asterisk 1.2 and 1.4 > > > > >-------- >Regard, > > >Looking for last minute shopping deals? ><http://us.rd.yahoo.com/evt=51734/*http://tools.search.yahoo.com/newsearch/category.php?category=shopping>Find >them fast with Yahoo! Search. >_______________________________________________ >--Bandwidth and Colocation Provided by http://www.api-digital.com-- > >asterisk-users mailing list >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/dedd6c34/attachment-0001.htm
> >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. > > > >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. > > > >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. > > > >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. > > > >http://www.emafone.net/bugs.html > > > >Please advice us if it is Bug and solved in some ver or its need > >some configuration to avoid this issue. > > > >This is in both ver of asterisk 1.2 and 1.4I guess you have a call to the Congestion dialplan function. We found out in some locations this will go on forever. A simple fix is to give the Congestion function call a max duration like: exten => foo,n,Congestion(3) followed by a Hangup() -- Michiel van Baak michiel at vanbaak.eu http://michiel.vanbaak.eu GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x71C946BD "Why is it drug addicts and computer afficionados are both called users?"
We are not using any GSM Gateway for call carriers we have Asterisk ----> TELES(iSWITCH) -------> MCI As Teles is world class telecoms product it should not make poor protocol stack. In my AGI script already i am using TIMEOUT(absolute)to limit the call according to registrar balance. I am thinking my be exten => foo,n,Congestion(3) function can solve the issue but how i can call this i should call it after dial or before? is (3) is max Congestion time? Thank You Abdul <abdul_zu at yahoo.com> wrote: Abdul <abdul_zu at yahoo.com> wrote: Good Day All, 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. 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. 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. 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. 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. http://www.emafone.net/bugs.html Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue. This is in both ver of asterisk 1.2 and 1.4 -------- Regard, --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------- Regard, --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/cc91db74/attachment.htm
Sorry i forget to give my extentions config. [clientsG] exten => _x.,1,Set(UserN=${CALLERID(all)}) exten => _x.,2,Set(CalledNum=${EXTEN}) exten => _x.,3,Set(Stime=${DATETIME}) exten => _x.,4,Set(CID=${CALLERID}) exten => _x.,5,Set(HCA=${HANGUPCAUSE}) exten => _x.,6,Set(Cun=${UNIQUEID}) exten => _x.,7,AGI(routing.pl) exten => h,1,DeadAGI(stop.pl) exten => h,1,Hangup routing.pl $AGI->exec('Set',"TIMEOUT(absolute)=$cstatus"); my $dialstr = "$gwtype/$gwip/$dialednum"; $AGI->exec('Dial', $dialstr); #//Dial the number Abdul <abdul_zu at yahoo.com> wrote: We are not using any GSM Gateway for call carriers we have Asterisk ----> TELES(iSWITCH) -------> MCI As Teles is world class telecoms product it should not make poor protocol stack. In my AGI script already i am using TIMEOUT(absolute)to limit the call according to registrar balance. I am thinking my be exten => foo,n,Congestion(3) function can solve the issue but how i can call this i should call it after dial or before? is (3) is max Congestion time? Thank You Abdul <abdul_zu at yahoo.com> wrote: Abdul <abdul_zu at yahoo.com> wrote: Good Day All, 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. 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. 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. 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. 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. http://www.emafone.net/bugs.html Please advice us if it is Bug and solved in some ver or its need some configuration to avoid this issue. This is in both ver of asterisk 1.2 and 1.4 -------- Regard, --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. -------- Regard, --------------------------------- Looking for last minute shopping deals? Find them fast with Yahoo! Search. --------------------------------- Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080108/698f6fc2/attachment.htm