asterisk2billing.org
http://forum.asterisk2billing.org/

Call hangup after announcement of balance
http://forum.asterisk2billing.org/viewtopic.php?f=34&t=7210
Page 1 of 1

Author:  bruce [ Sun Feb 28, 2010 7:25 pm ]
Post subject:  Call hangup after announcement of balance

Hi Guys,

Dial fails and a2billing.php exits with -1 after playing balance. Any input is much appreciated.

I see this in /var/log/a2billing/a2billing_agi.log

*******************Error Logs*********************
Code:
[28/02/2010 18:58:20]:[file:a2billing.php - line:102 - uniqueid:]:[CallerID:]:[CN:]:[IDCONFIG : 2]
[28/02/2010 18:58:20]:[file:a2billing.php - line:103 - uniqueid:]:[CallerID:]:[CN:]:[MODE : standard]
[28/02/2010 18:58:20]:[file:Class.A2Billing.php - line:713 - uniqueid:1267383499.6]:[CallerID:505528595681994]:[CN:]:[ get_agi_request_parameter = 5055285956$
[28/02/2010 18:58:20]:[file:a2billing.php - line:158 - uniqueid:1267383499.6]:[CallerID:505528595681994]:[CN:]:[[ANSWER CALL]]
[28/02/2010 18:58:23]:[CallerID:505528595681994]:[CN:5089600794]:[[exit]]


**************Debug = 4 ************************
Code:
-- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
    -- <SIP/5089600794-00000004> Playing 'digits/1.gsm' (language 'en')
    -- Playing 'dollar' (escape_digits=#) (sample_offset 0)
a2billing.php,2: file:a2billing.php - line:174 - uniqueid:1267383446.4 - [TRY : callingcard_ivr_authenticate]
a2billing.php,2: file:Class.A2Billing.php - line:2251 - uniqueid:1267383446.4 - [AUTO SetCallerID]
a2billing.php,2: file:Class.A2Billing.php - line:2257 - uniqueid:1267383446.4 - [REQUESTED SetCallerID : 505528595681994]
a2billing.php,2: file:Class.A2Billing.php - line:2269 - uniqueid:1267383446.4 - [EXEC SetCallerID : 505528595681994]
a2billing.php,2: file:Class.A2Billing.php - line:745 - uniqueid:1267383446.4 - [CARD STATUS UPDATE]
a2billing.php,2: file:Class.A2Billing.php - line:754 - uniqueid:1267383446.4 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse=inuse-1, credit=credit+0.25 WHERE username='5089600794']
    -- <SIP/5089600794-00000004>AGI Script a2billing.php completed, returning -1

This happens when DNID=Yes and calling directly by registering to A2Billing SIP PEER. Dialing in by authenticating the PIN spits out the same error as well.

This has been happening on v1.4x and now on v1.6x as well.
Thanks

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/