i am using a2billing from trunk in SVN, but when i want to use callback (webcallback or did callback), I could hear it tould me the balance and then hangup in legA.
then i check the source code in a2billing.php
i found it's here it hangup line 771
if ($stat_channel["result"]!= $status_channel && ($A2B -> CC_TESTING!=1)){
break;
}
if I comment the "break;" line, it works, i wonder what's the function of these lines? any problem if i comment it?
here's the break line in asterisk cli:
a2billing.php|3|callback: file:a2billing.php - line:763 - uniqueid:1197421125.398 - [CALLBACK]:[CHANNEL STATUS : 6 = Line is up][status_channel=4]:[ORIG_CREDIT : 14.63100 - CUR_CREDIT - : 7.3155 - CREDIT MIN_CREDIT_2CALL : 0]
|