Hi,
I have been testing voucher recharge through IVR using a Xlite client. I entered voucher through IVR and listened the success response but the voucher status was not updated on A2billing and it still shows "NOT USED". However if I attempt to load that voucher again it plays authentication failed message. Please help what is wrong here
Below is the log of voucher recharge operation
[May 30 21:59:05] VERBOSE[4090] res_agi.c: -- <SIP/102-0000000a>AGI Script a2billing.php completed, returning -1 [May 30 21:59:16] VERBOSE[2896] netsock.c: == Using SIP RTP TOS bits 184 [May 30 21:59:16] VERBOSE[2896] netsock.c: == Using SIP RTP CoS mark 5 [May 30 21:59:16] VERBOSE[4097] pbx.c: -- Executing [1234@a2billing:1] Answer("SIP/102-0000000b", "") in new stack [May 30 21:59:16] VERBOSE[4097] pbx.c: -- Executing [1234@a2billing:2] Wait("SIP/102-0000000b", "2") in new stack [May 30 21:59:18] VERBOSE[4097] pbx.c: -- Executing [1234@a2billing:3] DeadAGI("SIP/102-0000000b", "a2billing.php") in new stack [May 30 21:59:18] WARNING[4097] res_agi.c: DeadAGI has been deprecated, please use AGI in all cases! [May 30 21:59:18] VERBOSE[4097] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php [May 30 21:59:19] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 21:59:35] VERBOSE[4097] res_agi.c: -- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0) [May 30 21:59:38] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 21:59:52] VERBOSE[4097] res_agi.c: -- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0) [May 30 21:59:55] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 22:00:14] VERBOSE[4097] res_agi.c: -- Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0) [May 30 22:00:15] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'digits/1.ulaw' (language 'en') [May 30 22:00:16] VERBOSE[4097] res_agi.c: -- Playing 'dollar' (escape_digits=#) (sample_offset 0) [May 30 22:00:16] VERBOSE[4097] res_agi.c: -- Playing 'vm-and' (escape_digits=#) (sample_offset 0) [May 30 22:00:17] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'digits/60.ulaw' (language 'en') [May 30 22:00:18] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'digits/7.ulaw' (language 'en') [May 30 22:00:19] VERBOSE[4097] res_agi.c: -- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0) [May 30 22:00:19] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-dest.gsm' (language 'en') [May 30 22:00:30] VERBOSE[4097] res_agi.c: -- Playing 'prepaid-dest-unreachable' (escape_digits=#) (sample_offset 0) [May 30 22:00:33] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-dest.gsm' (language 'en') [May 30 22:00:43] VERBOSE[4097] file.c: -- <SIP/102-0000000b> Playing 'prepaid-enter-dest.gsm' (language 'en') [May 30 22:00:48] VERBOSE[4097] res_agi.c: -- <SIP/102-0000000b>AGI Script a2billing.php completed, returning -1 [May 30 22:04:29] VERBOSE[4088] asterisk.c: -- Remote UNIX connection disconnected [May 30 22:12:02] VERBOSE[2896] netsock.c: == Using SIP RTP TOS bits 184 [May 30 22:12:02] VERBOSE[2896] netsock.c: == Using SIP RTP CoS mark 5 [May 30 22:12:02] VERBOSE[4171] pbx.c: -- Executing [1234@a2billing:1] Answer("SIP/102-0000000c", "") in new stack [May 30 22:12:02] VERBOSE[4171] pbx.c: -- Executing [1234@a2billing:2] Wait("SIP/102-0000000c", "2") in new stack [May 30 22:12:04] VERBOSE[4171] pbx.c: -- Executing [1234@a2billing:3] DeadAGI("SIP/102-0000000c", "a2billing.php") in new stack [May 30 22:12:04] WARNING[4171] res_agi.c: DeadAGI has been deprecated, please use AGI in all cases! [May 30 22:12:04] VERBOSE[4171] res_agi.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php [May 30 22:12:04] VERBOSE[4171] file.c: -- <SIP/102-0000000c> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 22:12:20] VERBOSE[4171] res_agi.c: -- Playing 'prepaid-auth-fail' (escape_digits=#) (sample_offset 0) [May 30 22:12:23] VERBOSE[4171] file.c: -- <SIP/102-0000000c> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 22:12:32] VERBOSE[4171] res_agi.c: -- Playing 'prepaid-no-card-entered' (escape_digits=#) (sample_offset 0) [May 30 22:12:34] VERBOSE[4171] file.c: -- <SIP/102-0000000c> Playing 'prepaid-enter-pin-number.gsm' (language 'en') [May 30 22:12:41] VERBOSE[4171] res_agi.c: -- <SIP/102-0000000c>AGI Script a2billing.php completed, returning -1
|