Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Sun Apr 28, 2024 3:06 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: what's $stat_channel meaning?
PostPosted: Wed Dec 12, 2007 11:34 am 
Offline

Joined: Fri Jan 26, 2007 1:15 pm
Posts: 7
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]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 28 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group