Hello all,
I know that this has been discussed before and I have already read all relative posts with no luck.
The problem is that a2billing is not charging calls, does not update customer's balance and also duration 00:00 is displayed on the "call-history" page. Every other feature is working fine.
As told, I have read previous posts, php-pcntl is installed, I tried to use Agi or DeadAgi with the same results.
The only thing i haven't tried yet is an older version of asterisk.
Right now my system is (clean install) :
TrixBox
2.8.0.3Asterisk
1.6.0.22A2Billing
1.7 - yes, latest
PHP
5.2.5Asterisk log files seem normal, I can make calls out of my configured trunk, simulator works fine, etc...
The only think I can see from the agi.log is the line saying that "
[CHANNEL STATUS : -1 = There is no channel that matches SIP/5555-0000000f]"
[12/04/2010 21:26:58]:[file:a2billing.php - line:102 - uniqueid:]:[CallerID:]:[CN:]:[IDCONFIG : 1]
[12/04/2010 21:26:58]:[file:a2billing.php - line:103 - uniqueid:]:[CallerID:]:[CN:]:[MODE : standard]
[12/04/2010 21:26:58]:[file:Class.A2Billing.php - line:713 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:]:get_agi_request_parameter = 5555 ; SIP/5555-0000000f ; 1271096817.15 ; ; 358]
[12/04/2010 21:26:58]:[file:a2billing.php - line:158 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:]:[[ANSWER CALL]]
[12/04/2010 21:27:21]:[file:a2billing.php - line:189 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[[CHANNEL STATUS : 6 = Line is up]
[CREDIT : 3.92600][CREDIT MIN_CREDIT_2CALL : 0]]
[12/04/2010 21:27:21]:[file:a2billing.php - line:392 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[TARIFF ID -> 1]
[12/04/2010 21:27:35]:[file:Class.A2Billing.php - line:870 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[[CALL 2 DID]]
[12/04/2010 21:27:35]:[file:Class.A2Billing.php - line:885 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[DESTINATION ::> 302102931531]
[12/04/2010 21:27:42]:[file:Class.RateEngine.php - line:1234 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[app_callingcard: Dialing 'SIP/MYTRUNK/xxxxxxxxxxx|60|HRrL(9622000:61000:30000)' with timeout of '9622'.]
[12/04/2010 21:28:10]:[file:Class.RateEngine.php - line:1262 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[DIAL SIP/MYTRUNK/xxxxxxxxxxx|60|HRrL(9622000:61000:30000)]
[12/04/2010 21:28:10]:[file:Class.RateEngine.php - line:953 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[:[sessiontime: - id_cc_package_offer:-1 - package2apply:]]
[12/04/2010 21:28:10]:[file:Class.RateEngine.php - line:1098 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[[CC_asterisk_stop : SQL: DONE : result=1]]
[12/04/2010 21:28:10]:[file:a2billing.php - line:189 - uniqueid:1271096817.15]:[CallerID:5555]:[CN:1609116689]:[[CHANNEL STATUS : -1 = There is no channel that matches SIP/5555-0000000f]
[CREDIT : 3.92600][CREDIT MIN_CREDIT_2CALL : 0]]
[12/04/2010 21:28:10]:[CallerID:5555]:[CN:1609116689]:[[STOP - EXIT]]
If anyone has any clue about this problem with latest versions of asterisk and a2billing is very welcome to enlight me !!
fanis