|A2B don't hangup even if balance is zero (Prepaid)
|Page 1 of 1|
|Author:||faiz_grw [ Mon Apr 06, 2009 2:57 am ]|
|Post subject:||A2B don't hangup even if balance is zero (Prepaid)|
I have FrerPBX 18.104.22.168 (Asterisk Ver. 1.4.22) And A2B Ver1.3.4.
php-5.1.6-20.el5_2.1 with php-pcntl-4.3.11-2.5.1 is installed.
I am useing DeadAGI and
my DialCommandParameter: "|60|HRgrL(%timeout%:61000:30000)" .
I am testing my system for prepaid calling cards. and sometime it don't terminate a call when balance is below zero so i get a negative balance. if someone can help me out
Thanks in Advance
|Author:||stavros [ Mon Apr 06, 2009 3:03 am ]|
|Post subject:||Re: A2B don't hangup even when balance is zero (Prepaid)|
There are posts elsewhere on this forum suggesting there is a bug in Asterisk's L(). IIRC, a valid work-around is to simply remove the warning announcements:
"|60|HRgrL(%timeout%:0:0)"Perhaps you might test that, and confirm that it does fix the issue.
Alternatively, you might like to follow all the advice in this thread, and switch to using S() which I don't believe shares the same bug.
|Author:||faiz_grw [ Mon Apr 06, 2009 5:59 am ]|
Thanks I really appreciate your effort. I will test it now..
|Page 1 of 1||All times are UTC|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group