Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 12:19 pm
Predictive Dialer


All times are UTC




Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sat Jun 14, 2014 10:14 am 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hello all,
I have a fully working system, where we never used the callback service, and now I wanted to setup the callback but something wrong, I guess in the agi version...

My system is running under Centos 6.4, actually running kernel 2.6.32-431.17.1.el6.x86_64, Php. 5.4.29, Asterisk 11.6.cert, and Mysql 5.5.37-cll-lve, per sure the asterisk_version in agi-conf is 1_11 ;)

in the dial plan I have set:

Quote:
[a2billing-cid-callback]
exten => _X.,1,Wait(1)
exten => _X.,n,AGI(a2billing.php,3,cid-callback)
exten => _X.,n,Hangup()


Upon
Quote:
exten => 7777,1,Goto(a2billing-cid-callback,${EXTEN},1)


The dialcommand param in this agi is:
Quote:
|60|IWXgoL(%timeout%:60000:30000)



But, when I call to 7777, I see:

Quote:
-- Executing [7777@a2billing:1] Goto("SIP/XXXX-00000007", "a2billing-cid-callback,7777,1") in new stack
-- Goto (a2billing-cid-callback,7777,1)
-- Executing [7777@a2billing-cid-callback:1] Wait("SIP/XXXXX-00000007", "1") in new stack
-- Executing [7777@a2billing-cid-callback:2] AGI("SIP/XXXXX-00000007", "a2billing.php,3,cid-callback") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/XXXX-00000007>AGI Tx >> agi_request: a2billing.php
<SIP/XXXX-00000007>AGI Tx >> agi_channel: SIP/XXXX-00000007
<SIP/XXXX-00000007>AGI Tx >> agi_language: en
<SIP/XXXX-00000007>AGI Tx >> agi_type: SIP
<SIP/XXXX-00000007>AGI Tx >> agi_uniqueid: MySystemXXX-1402740019.7
<SIP/XXXX-00000007>AGI Tx >> agi_version: 11.6-cert1
<SIP/XXXX-00000007>AGI Tx >> agi_callerid: +xxxxxx
<SIP/XXXX-00000007>AGI Tx >> agi_calleridname: XXXX
<SIP/XXXX-00000007>AGI Tx >> agi_callingpres: 0
<SIP/XXXX-00000007>AGI Tx >> agi_callingani2: 0
<SIP/XXXX-00000007>AGI Tx >> agi_callington: 0
<SIP/XXXX-00000007>AGI Tx >> agi_callingtns: 0
<SIP/XXXX-00000007>AGI Tx >> agi_dnid: 7777
<SIP/XXXX-00000007>AGI Tx >> agi_rdnis: unknown
<SIP/XXXX-00000007>AGI Tx >> agi_context: a2billing-cid-callback
<SIP/XXXX-00000007>AGI Tx >> agi_extension: 7777
<SIP/XXXX-00000007>AGI Tx >> agi_priority: 2
<SIP/XXXX-00000007>AGI Tx >> agi_enhanced: 0.0
<SIP/XXXX-00000007>AGI Tx >> agi_accountcode: XXXXX
<SIP/XXXX-00000007>AGI Tx >> agi_threadid: 140185579124480
<SIP/XXXX-00000007>AGI Tx >> agi_arg_1: 3
<SIP/XXXX-00000007>AGI Tx >> agi_arg_2: cid-callback
<SIP/XXXX-00000007>AGI Tx >>
<SIP/XXXX-00000007>AGI Rx << GET VARIABLE IDCONF
<SIP/XXXX-00000007>AGI Tx >> 200 result=0
<SIP/XXXX-00000007>AGI Rx << HANGUP
<SIP/XXXX-00000007>AGI Tx >> 200 result=1
<SIP/XXXX-00000007>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/XXXX-00000007>AGI Tx >> 200 result=1
<SIP/XXXX-00000007>AGI Rx << HANGUP
<SIP/XXXX-00000007>AGI Tx >> 511 Command Not Permitted on a dead channel
-- <SIP/XXXX-00000007>AGI Script a2billing.php completed, returning 4

== Spawn extension (a2billing-cid-callback, 7777, 2) exited non-zero on 'SIP/XXXXX-00000007'


I'm missing something, or it's a version issue??

Regards,


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sat Jun 14, 2014 10:22 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hello ,,

Can you try "DeadAgi" instead of "Agi"..

Also, for the version, if your Asterisk version is not recognized by A2B (higher than the highest that A2B recognizes) try lying about it and use the highest that A2B recognizes.

Hope this would help.


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sat Jun 14, 2014 5:13 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Swift wrote:
Hello ,,
Can you try "DeadAgi" instead of "Agi"..


Thanks for your prompt replay Swift, but even, i had test it with both, but no impact... even, it have no relation here...

Quote:
Also, for the version, if your Asterisk version is not recognized by A2B (higher than the highest that A2B recognizes) try lying about it and use the highest that A2B recognizes.

I forgot to say that I use A2billing 2.0.07, where it come with declaration for asterisk verison 1.11... even, right now, as you said, I have decrease the declaration to 1_8, and retest, and same, then, to 1_6, and retest, and same...

No idea, if I'm missing something, but in the debug it's showing an agi issue... nothing related to me...


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 12:16 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Quote:
..Command Not Permitted on a dead channel


The above error message reflects that you are using a command that should not be used on a dead channel . That is why i suggested the use of DeadAgi

On the other hand, try debugging by using as much as possible of the know-to-work parameters..
You said that your system is already smoothly running for calls other than the callbacks. Try using the same settings (agiconf ,, dial command params .. rates etc) to isolate the cause of error.

One more thing .. I noticed that the callerID that you sealed started with + ..
make sure that you A2B already knows how to deal with it.
I usually sanitize that at the Asterisk dialplan level and remove all the + or 00s

Hope this helps


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 11:16 am 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Swift wrote:
Quote:
..Command Not Permitted on a dead channel

The above error message reflects that you are using a command that should not be used on a dead channel . That is why i suggested the use of DeadAgi

I have tried it in both, but here, I have just grep one trace, as result was the same... no impact...!

Quote:
One more thing .. I noticed that the callerID that you sealed started with + ..
make sure that you A2B already knows how to deal with it.
I usually sanitize that at the Asterisk dialplan level and remove all the + or 00s

Yah, sur, in the diaplan I have a rule to re-write the + by 00 string;)


Quote:
You said that your system is already smoothly running for calls other than the callbacks. Try using the same settings (agiconf ,, dial command params .. rates etc) to isolate the cause of error.


Yes, it's the sme production agi, even, here, I'm using agiconf3, which is my calling cards current production agi, it's working fine since more then 3 years, as I said... ;)


Then, to clarify, below full debug, for more details:

Quote:
== Using SIP RTP TOS bits 184
== Using SIP RTP TOS bits 184 in TCLASS field.
== Using SIP RTP CoS mark 5
-- Executing [7777@a2billing:1] Goto("SIP/XXXX-000000b4", "a2billing-cid-callback,7777,1") in new stack
-- Goto (a2billing-cid-callback,7777,1)
-- Executing [7777@a2billing-cid-callback:1] Wait("SIP/XXXX-000000b4", "1") in new stack
-- Executing [7777@a2billing-cid-callback:2] DeadAGI("SIP/XXXX-000000b4", "a2billing.php,3,cid-callback") in new stack
[2014-06-15 10:59:45] WARNING[28509][C-0000038b]: res_agi.c:4005 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/XXXX-000000b4>AGI Tx >> agi_request: a2billing.php
<SIP/XXXX-000000b4>AGI Tx >> agi_channel: SIP/XXXX-000000b4
<SIP/XXXX-000000b4>AGI Tx >> agi_language: en
<SIP/XXXX-000000b4>AGI Tx >> agi_type: SIP
<SIP/XXXX-000000b4>AGI Tx >> agi_uniqueid: MySystem-1402829983.180
<SIP/XXXX-000000b4>AGI Tx >> agi_version: 11.6-cert1
<SIP/XXXX-000000b4>AGI Tx >> agi_callerid: XXXXXXXX
<SIP/XXXX-000000b4>AGI Tx >> agi_calleridname: XXXX
<SIP/XXXX-000000b4>AGI Tx >> agi_callingpres: 0
<SIP/XXXX-000000b4>AGI Tx >> agi_callingani2: 0
<SIP/XXXX-000000b4>AGI Tx >> agi_callington: 0
<SIP/XXXX-000000b4>AGI Tx >> agi_callingtns: 0
<SIP/XXXX-000000b4>AGI Tx >> agi_dnid: 7777
<SIP/XXXX-000000b4>AGI Tx >> agi_rdnis: unknown
<SIP/XXXX-000000b4>AGI Tx >> agi_context: a2billing-cid-callback
<SIP/XXXX-000000b4>AGI Tx >> agi_extension: 7777
<SIP/XXXX-000000b4>AGI Tx >> agi_priority: 2
<SIP/XXXX-000000b4>AGI Tx >> agi_enhanced: 0.0
<SIP/XXXX-000000b4>AGI Tx >> agi_accountcode: XXXX
<SIP/XXXX-000000b4>AGI Tx >> agi_threadid: 140185579632384
<SIP/XXXX-000000b4>AGI Tx >> agi_arg_1: 3
<SIP/XXXX-000000b4>AGI Tx >> agi_arg_2: cid-callback
<SIP/XXXX-000000b4>AGI Tx >>
<SIP/XXXX-000000b4>AGI Rx << GET VARIABLE IDCONF
<SIP/XXXX-000000b4>AGI Tx >> 200 result=0
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:586 - uniqueid: - A2Billing AGI internal configuration:" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:586 - uniqueid: - A2Billing AGI internal configuration:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:587 - uniqueid: - Array" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:587 - uniqueid: - Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "(" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [dialcommand_param_call_2did] => |60|WXoL(%timeout%:60000:30000)" 1
a2billing.php,3,cid-callback: [dialcommand_param_call_2did] => |60|WXoL(%timeout%:60000:30000)
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [description] => Calling Cards" 1
a2billing.php,3,cid-callback: [description] => Calling Cards
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [asterisk_version] => 1_11" 1
a2billing.php,3,cid-callback: [asterisk_version] => 1_11
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [answer_call] => 1" 1
a2billing.php,3,cid-callback: [answer_call] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [play_audio] => 1" 1
a2billing.php,3,cid-callback: [play_audio] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [say_goodbye] => 0" 1
a2billing.php,3,cid-callback: [say_goodbye] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [play_menulanguage] => 1" 1
a2billing.php,3,cid-callback: [play_menulanguage] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [force_language] => ES" 1
a2billing.php,3,cid-callback: [force_language] => ES
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [intro_prompt] => " 1
a2billing.php,3,cid-callback: [intro_prompt] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [min_credit_2call] => 0" 1
a2billing.php,3,cid-callback: [min_credit_2call] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [min_duration_2bill] => 0" 1
a2billing.php,3,cid-callback: [min_duration_2bill] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [notenoughcredit_cardnumber] => 1" 1
a2billing.php,3,cid-callback: [notenoughcredit_cardnumber] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [notenoughcredit_assign_newcardnumber_cid] => 1" 1
a2billing.php,3,cid-callback: [notenoughcredit_assign_newcardnumber_cid] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [use_dnid] => 0" 1
a2billing.php,3,cid-callback: [use_dnid] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [no_auth_dnid] => Array" 1
a2billing.php,3,cid-callback: [no_auth_dnid] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => " 1
a2billing.php,3,cid-callback: [0] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [number_try] => 3" 1
a2billing.php,3,cid-callback: [number_try] => 3
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [force_callplan_id] => 1" 1
a2billing.php,3,cid-callback: [force_callplan_id] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [say_balance_after_auth] => 0" 1
a2billing.php,3,cid-callback: [say_balance_after_auth] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [say_balance_after_call] => 0" 1
a2billing.php,3,cid-callback: [say_balance_after_call] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [say_rateinitial] => 0" 1
a2billing.php,3,cid-callback: [say_rateinitial] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [say_timetocall] => 0" 1
a2billing.php,3,cid-callback: [say_timetocall] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [auto_setcallerid] => 1" 1
a2billing.php,3,cid-callback: [auto_setcallerid] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [force_callerid] => +34925018492" 1
a2billing.php,3,cid-callback: [force_callerid] => +34925018492
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_sanitize] => 0" 1
a2billing.php,3,cid-callback: [cid_sanitize] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_enable] => 1" 1
a2billing.php,3,cid-callback: [cid_enable] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_askpincode_ifnot_callerid] => 1" 1
a2billing.php,3,cid-callback: [cid_askpincode_ifnot_callerid] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [failover_lc_prefix] => 0" 1
a2billing.php,3,cid-callback: [failover_lc_prefix] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_assign_card_to_cid] => 1" 1
a2billing.php,3,cid-callback: [cid_auto_assign_card_to_cid] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callerid_authentication_over_cardnumber] => 0" 1
a2billing.php,3,cid-callback: [callerid_authentication_over_cardnumber] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [sip_iax_friends] => 1" 1
a2billing.php,3,cid-callback: [sip_iax_friends] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [sip_iax_pstn_direct_call_prefix] => 869" 1
a2billing.php,3,cid-callback: [sip_iax_pstn_direct_call_prefix] => 869
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [sip_iax_pstn_direct_call] => 1" 1
a2billing.php,3,cid-callback: [sip_iax_pstn_direct_call] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_voucher] => 0" 1
a2billing.php,3,cid-callback: [ivr_voucher] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_voucher_prefix] => 8" 1
a2billing.php,3,cid-callback: [ivr_voucher_prefix] => 8
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [jump_voucher_if_min_credit] => 0" 1
a2billing.php,3,cid-callback: [jump_voucher_if_min_credit] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [dialcommand_param] => |60|IWXgoL(%timeout%:60000:30000)" 1
a2billing.php,3,cid-callback: [dialcommand_param] => |60|IWXgoL(%timeout%:60000:30000)
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [dialcommand_param_sipiax_friend] => |60|IWXgoL(3600:60000:30000)" 1
a2billing.php,3,cid-callback: [dialcommand_param_sipiax_friend] => |60|IWXgoL(3600:60000:30000)
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [switchdialcommand] => 0" 1
a2billing.php,3,cid-callback: [switchdialcommand] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [failover_recursive_limit] => 20" 1
a2billing.php,3,cid-callback: [failover_recursive_limit] => 20
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [maxtime_tocall_negatif_free_route] => 3600" 1
a2billing.php,3,cid-callback: [maxtime_tocall_negatif_free_route] => 3600
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [send_reminder] => 1" 1
a2billing.php,3,cid-callback: [send_reminder] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [record_call] => 0" 1
a2billing.php,3,cid-callback: [record_call] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [monitor_formatfile] => gsm" 1
a2billing.php,3,cid-callback: [monitor_formatfile] => gsm
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_force_currency] => " 1
a2billing.php,3,cid-callback: [agi_force_currency] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [currency_association] => Array" 1
a2billing.php,3,cid-callback: [currency_association] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => usd:dollars" 1
a2billing.php,3,cid-callback: [0] => usd:dollars
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [1] => mxn:pesos" 1
a2billing.php,3,cid-callback: [1] => mxn:pesos
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [2] => eur:euros" 1
a2billing.php,3,cid-callback: [2] => eur:euros
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [3] => all:credit" 1
a2billing.php,3,cid-callback: [3] => all:credit
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [local_dialing_addcountryprefix] => 0" 1
a2billing.php,3,cid-callback: [local_dialing_addcountryprefix] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [max_call_call_2_did] => 7200" 1
a2billing.php,3,cid-callback: [max_call_call_2_did] => 7200
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [file_conf_enter_destination] => prepaid-enter-dest" 1
a2billing.php,3,cid-callback: [file_conf_enter_destination] => prepaid-enter-dest
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [conf_order_menulang] => es:en:fr:br:ru" 1
a2billing.php,3,cid-callback: [conf_order_menulang] => es:en:fr:br:ru
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callback_bill_1stleg_ifcall_notconnected] => 1" 1
a2billing.php,3,cid-callback: [callback_bill_1stleg_ifcall_notconnected] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [international_prefixes] => Array" 1
a2billing.php,3,cid-callback: [international_prefixes] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => 011" 1
a2billing.php,3,cid-callback: [0] => 011
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [1] => 00" 1
a2billing.php,3,cid-callback: [1] => 00
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [2] => 09" 1
a2billing.php,3,cid-callback: [2] => 09
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [3] => 1" 1
a2billing.php,3,cid-callback: [3] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [extracharge_did] => Array" 1
a2billing.php,3,cid-callback: [extracharge_did] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => " 1
a2billing.php,3,cid-callback: [0] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [extracharge_fee] => Array" 1
a2billing.php,3,cid-callback: [extracharge_fee] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => 0" 1
a2billing.php,3,cid-callback: [0] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [1] => 0" 1
a2billing.php,3,cid-callback: [1] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [extracharge_buyfee] => Array" 1
a2billing.php,3,cid-callback: [extracharge_buyfee] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => 0" 1
a2billing.php,3,cid-callback: [0] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [1] => 0" 1
a2billing.php,3,cid-callback: [1] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [maxtime_tounlimited_calls] => 5400" 1
a2billing.php,3,cid-callback: [maxtime_tounlimited_calls] => 5400
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [maxtime_tofree_calls] => 5400" 1
a2billing.php,3,cid-callback: [maxtime_tofree_calls] => 5400
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callplan_deck_minute_threshold] => " 1
a2billing.php,3,cid-callback: [callplan_deck_minute_threshold] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [disable_announcement_seconds] => 1" 1
a2billing.php,3,cid-callback: [disable_announcement_seconds] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [verbosity_level] => 4" 1
a2billing.php,3,cid-callback: [verbosity_level] => 4
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [logging_level] => 0" 1
a2billing.php,3,cid-callback: [logging_level] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [dial_balance_reservation] => 0.8" 1
a2billing.php,3,cid-callback: [dial_balance_reservation] => 0.8
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callerid_update] => 0" 1
a2billing.php,3,cid-callback: [callerid_update] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card] => 1" 1
a2billing.php,3,cid-callback: [cid_auto_create_card] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card_len] => 10" 1
a2billing.php,3,cid-callback: [cid_auto_create_card_len] => 10
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card_typepaid] => PREPAID" 1
a2billing.php,3,cid-callback: [cid_auto_create_card_typepaid] => PREPAID
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card_credit] => 0" 1
a2billing.php,3,cid-callback: [cid_auto_create_card_credit] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card_credit_limit] => 0" 1
a2billing.php,3,cid-callback: [cid_auto_create_card_credit_limit] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_auto_create_card_tariffgroup] => 1" 1
a2billing.php,3,cid-callback: [cid_auto_create_card_tariffgroup] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [busy_timeout] => 0" 1
a2billing.php,3,cid-callback: [busy_timeout] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callback_reduce_balance] => 1" 1
a2billing.php,3,cid-callback: [callback_reduce_balance] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_enable_locking_option] => 0" 1
a2billing.php,3,cid-callback: [ivr_enable_locking_option] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_enable_account_information] => 0" 1
a2billing.php,3,cid-callback: [ivr_enable_account_information] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_enable_ivr_speeddial] => 0" 1
a2billing.php,3,cid-callback: [ivr_enable_ivr_speeddial] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [play_rate_cents_if_lower_one] => 0" 1
a2billing.php,3,cid-callback: [play_rate_cents_if_lower_one] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [callback_beep_to_enter_destination] => 0" 1
a2billing.php,3,cid-callback: [callback_beep_to_enter_destination] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid_prompt_callback_confirm_phonenumber] => 0" 1
a2billing.php,3,cid-callback: [cid_prompt_callback_confirm_phonenumber] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [logger_enable] => 1" 1
a2billing.php,3,cid-callback: [logger_enable] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [log_file] => /var/log/a2billing/a2billing.log" 1
a2billing.php,3,cid-callback: [log_file] => /var/log/a2billing/a2billing.log
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)" 1
a2billing.php,3,cid-callback: [dialcommand_param_call_2did ] => |30|HL(3600000:61000:30000)
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [currency_association_internal] => Array" 1
a2billing.php,3,cid-callback: [currency_association_internal] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [usd] => dollars" 1
a2billing.php,3,cid-callback: [usd] => dollars
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [mxn] => pesos" 1
a2billing.php,3,cid-callback: [mxn] => pesos
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [eur] => euros" 1
a2billing.php,3,cid-callback: [eur] => euros
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [all] => credit" 1
a2billing.php,3,cid-callback: [all] => credit
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [file_conf_enter_menulang] => prepaid-menulang" 1
a2billing.php,3,cid-callback: [file_conf_enter_menulang] => prepaid-menulang
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [ivr_voucher_prefixe] => 8" 1
a2billing.php,3,cid-callback: [ivr_voucher_prefixe] => 8
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cheat_on_announcement_time] => 0" 1
a2billing.php,3,cid-callback: [cheat_on_announcement_time] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [lcr_mode] => 0" 1
a2billing.php,3,cid-callback: [lcr_mode] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE ")" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 3" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:117 - uniqueid: - IDCONFIG : 3
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:118 - uniqueid: - MODE : cid-callback" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:118 - uniqueid: - MODE : cid-callback
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:130 - uniqueid: - AGI Request:" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:130 - uniqueid: - AGI Request:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "Array" 1
a2billing.php,3,cid-callback: Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "(" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_request] => a2billing.php" 1
a2billing.php,3,cid-callback: [agi_request] => a2billing.php
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_channel] => SIP/XXXX-000000b4" 1
a2billing.php,3,cid-callback: [agi_channel] => SIP/XXXX-000000b4
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_language] => en" 1
a2billing.php,3,cid-callback: [agi_language] => en
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_type] => SIP" 1
a2billing.php,3,cid-callback: [agi_type] => SIP
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_uniqueid] => MySystem-1402829983.180" 1
a2billing.php,3,cid-callback: [agi_uniqueid] => MySystem-1402829983.180
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_version] => 11.6-cert1" 1
a2billing.php,3,cid-callback: [agi_version] => 11.6-cert1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_callerid] => XXXXXXXX" 1
a2billing.php,3,cid-callback: [agi_callerid] => XXXXXXXX
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_calleridname] => XXXX" 1
a2billing.php,3,cid-callback: [agi_calleridname] => XXXX
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_callingpres] => 0" 1
a2billing.php,3,cid-callback: [agi_callingpres] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_callingani2] => 0" 1
a2billing.php,3,cid-callback: [agi_callingani2] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_callington] => 0" 1
a2billing.php,3,cid-callback: [agi_callington] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_callingtns] => 0" 1
a2billing.php,3,cid-callback: [agi_callingtns] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_dnid] => 7777" 1
a2billing.php,3,cid-callback: [agi_dnid] => 7777
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_rdnis] => unknown" 1
a2billing.php,3,cid-callback: [agi_rdnis] => unknown
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_context] => a2billing-cid-callback" 1
a2billing.php,3,cid-callback: [agi_context] => a2billing-cid-callback
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_extension] => 7777" 1
a2billing.php,3,cid-callback: [agi_extension] => 7777
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_priority] => 2" 1
a2billing.php,3,cid-callback: [agi_priority] => 2
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_enhanced] => 0.0" 1
a2billing.php,3,cid-callback: [agi_enhanced] => 0.0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_accountcode] => XXXX" 1
a2billing.php,3,cid-callback: [agi_accountcode] => XXXX
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_threadid] => 140185579632384" 1
a2billing.php,3,cid-callback: [agi_threadid] => 140185579632384
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_arg_1] => 3" 1
a2billing.php,3,cid-callback: [agi_arg_1] => 3
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [agi_arg_2] => cid-callback" 1
a2billing.php,3,cid-callback: [agi_arg_2] => cid-callback
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE ")" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.9]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:131 - uniqueid: - [INFO : A2Billing - v2.0.9]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:736 - uniqueid:MySystem-1402829983.180 - get_agi_request_parameter = XXXXXXXX ; SIP/XXXX-000000b4 ; MySystem-1402829983.180 ; XXXX ; 7777" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:736 - uniqueid:MySystem-1402829983.180 - get_agi_request_parameter = XXXXXXXX ; SIP/XXXX-000000b4 ; MySystem-1402829983.180 ; XXXX ; 7777
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:716 - uniqueid:MySystem-1402829983.180 - [MODE : CID-CALLBACK - XXXXXXXX]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:716 - uniqueid:MySystem-1402829983.180 - [MODE : CID-CALLBACK - XXXXXXXX]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:719 - uniqueid:MySystem-1402829983.180 - [HANGUP CLI CALLBACK TRIGGER]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:719 - uniqueid:MySystem-1402829983.180 - [HANGUP CLI CALLBACK TRIGGER]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << HANGUP
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:2657 - uniqueid:MySystem-1402829983.180 - [CID_ENABLE - CID_CONTROL - CID:XXXXXXXX]" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:2657 - uniqueid:MySystem-1402829983.180 - [CID_ENABLE - CID_CONTROL - CID:XXXXXXXX]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:2672 - uniqueid:MySystem-1402829983.180 - Array" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:2672 - uniqueid:MySystem-1402829983.180 - Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "(" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => Array" 1
a2billing.php,3,cid-callback: [0] => Array
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " (" 1
a2billing.php,3,cid-callback: (
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [0] => XXXXXXXX" 1
a2billing.php,3,cid-callback: [0] => XXXXXXXX
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [cid] => XXXXXXXX" 1
a2billing.php,3,cid-callback: [cid] => XXXXXXXX
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [1] => 4365" 1
a2billing.php,3,cid-callback: [1] => 4365
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [id_cc_card] => 4365" 1
a2billing.php,3,cid-callback: [id_cc_card] => 4365
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [2] => t" 1
a2billing.php,3,cid-callback: [2] => t
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [activated] => t" 1
a2billing.php,3,cid-callback: [activated] => t
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [3] => 0.00000" 1
a2billing.php,3,cid-callback: [3] => 0.00000
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [credit] => 0.00000" 1
a2billing.php,3,cid-callback: [credit] => 0.00000
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [4] => 1" 1
a2billing.php,3,cid-callback: [4] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [tariff] => 1" 1
a2billing.php,3,cid-callback: [tariff] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [5] => t" 1
a2billing.php,3,cid-callback: [5] => t
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [6] => 0" 1
a2billing.php,3,cid-callback: [6] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [inuse] => 0" 1
a2billing.php,3,cid-callback: [inuse] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [7] => 1" 1
a2billing.php,3,cid-callback: [7] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [simultaccess] => 1" 1
a2billing.php,3,cid-callback: [simultaccess] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [8] => 0" 1
a2billing.php,3,cid-callback: [8] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [typepaid] => 0" 1
a2billing.php,3,cid-callback: [typepaid] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [9] => 0" 1
a2billing.php,3,cid-callback: [9] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [creditlimit] => 0" 1
a2billing.php,3,cid-callback: [creditlimit] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [10] => en" 1
a2billing.php,3,cid-callback: [10] => en
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [language] => en" 1
a2billing.php,3,cid-callback: [language] => en
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [11] => 1068052485" 1
a2billing.php,3,cid-callback: [11] => 1068052485
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [username] => 1068052485" 1
a2billing.php,3,cid-callback: [username] => 1068052485
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [12] => 1" 1
a2billing.php,3,cid-callback: [12] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [removeinterprefix] => 1" 1
a2billing.php,3,cid-callback: [removeinterprefix] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [13] => " 1
a2billing.php,3,cid-callback: [13] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [redial] => " 1
a2billing.php,3,cid-callback: [redial] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [14] => 0" 1
a2billing.php,3,cid-callback: [14] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [enableexpire] => 0" 1
a2billing.php,3,cid-callback: [enableexpire] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [15] => 0" 1
a2billing.php,3,cid-callback: [15] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [UNIX_TIMESTAMP(expirationdate)] => 0" 1
a2billing.php,3,cid-callback: [UNIX_TIMESTAMP(expirationdate)] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [16] => 0" 1
a2billing.php,3,cid-callback: [16] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [expiredays] => 0" 1
a2billing.php,3,cid-callback: [expiredays] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [17] => 0" 1
a2billing.php,3,cid-callback: [17] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [nbused] => 0" 1
a2billing.php,3,cid-callback: [nbused] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [18] => 0" 1
a2billing.php,3,cid-callback: [18] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [UNIX_TIMESTAMP(firstusedate)] => 0" 1
a2billing.php,3,cid-callback: [UNIX_TIMESTAMP(firstusedate)] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [19] => 1402829765" 1
a2billing.php,3,cid-callback: [19] => 1402829765
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [UNIX_TIMESTAMP(cc_card.creationdate)] => 1402829765" 1
a2billing.php,3,cid-callback: [UNIX_TIMESTAMP(cc_card.creationdate)] => 1402829765
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [20] => usd" 1
a2billing.php,3,cid-callback: [20] => usd
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [currency] => usd" 1
a2billing.php,3,cid-callback: [currency] => usd
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [21] => " 1
a2billing.php,3,cid-callback: [21] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [lastname] => " 1
a2billing.php,3,cid-callback: [lastname] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [22] => " 1
a2billing.php,3,cid-callback: [22] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [firstname] => " 1
a2billing.php,3,cid-callback: [firstname] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [23] => " 1
a2billing.php,3,cid-callback: [23] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [email] => " 1
a2billing.php,3,cid-callback: [email] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [24] => 984070454460626" 1
a2billing.php,3,cid-callback: [24] => 984070454460626
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [uipass] => 984070454460626" 1
a2billing.php,3,cid-callback: [uipass] => 984070454460626
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [25] => 0" 1
a2billing.php,3,cid-callback: [25] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [id_campaign] => 0" 1
a2billing.php,3,cid-callback: [id_campaign] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [26] => 4365" 1
a2billing.php,3,cid-callback: [26] => 4365
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [id] => 4365" 1
a2billing.php,3,cid-callback: [id] => 4365
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [27] => 2151140586" 1
a2billing.php,3,cid-callback: [27] => 2151140586
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [useralias] => 2151140586" 1
a2billing.php,3,cid-callback: [useralias] => 2151140586
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [28] => 1" 1
a2billing.php,3,cid-callback: [28] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [status] => 1" 1
a2billing.php,3,cid-callback: [status] => 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [29] => 0" 1
a2billing.php,3,cid-callback: [29] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [voicemail_permitted] => 0" 1
a2billing.php,3,cid-callback: [voicemail_permitted] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [30] => 0" 1
a2billing.php,3,cid-callback: [30] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [voicemail_activated] => 0" 1
a2billing.php,3,cid-callback: [voicemail_activated] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [31] => 0" 1
a2billing.php,3,cid-callback: [31] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [restriction] => 0" 1
a2billing.php,3,cid-callback: [restriction] => 0
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [32] => " 1
a2billing.php,3,cid-callback: [32] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " [countryprefix] => " 1
a2billing.php,3,cid-callback: [countryprefix] =>
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE " )" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE ")" 1
a2billing.php,3,cid-callback: )
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "" 1
a2billing.php,3,cid-callback:
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:2792 - uniqueid:MySystem-1402829983.180 - [SET CHANNEL(language) en]" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:2792 - uniqueid:MySystem-1402829983.180 - [SET CHANNEL(language) en]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:2884 - uniqueid:MySystem-1402829983.180 - - Account code ::> 1068052485" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:2884 - uniqueid:MySystem-1402829983.180 - - Account code ::> 1068052485
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:768 - uniqueid:MySystem-1402829983.180 - [CARD STATUS UPDATE]" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:768 - uniqueid:MySystem-1402829983.180 - [CARD STATUS UPDATE]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.A2Billing.php - line:777 - uniqueid:MySystem-1402829983.180 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse = inuse + 1, credit = credit - 0.8 WHERE username = '1068052485']" 1
a2billing.php,3,cid-callback: file:Class.A2Billing.php - line:777 - uniqueid:MySystem-1402829983.180 - [QUERY USING CARD UPDATE::> UPDATE cc_card SET inuse = inuse + 1, credit = credit - 0.8 WHERE username = '1068052485']
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:736 - uniqueid:MySystem-1402829983.180 - [TRY : callingcard_ivr_authenticate]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:736 - uniqueid:MySystem-1402829983.180 - [TRY : callingcard_ivr_authenticate]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:753 - uniqueid:MySystem-1402829983.180 - [destination: - XXXXXXXX]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:753 - uniqueid:MySystem-1402829983.180 - [destination: - XXXXXXXX]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:92 - uniqueid:MySystem-1402829983.180 - force the call plan : 1" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:92 - uniqueid:MySystem-1402829983.180 - force the call plan : 1
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:97 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: (1, XXXXXXXX)]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:97 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: (1, XXXXXXXX)]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:118 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine - CALLERID : XXXXXXXX]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:118 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine - CALLERID : XXXXXXXX]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:179 - uniqueid:MySystem-1402829983.180 - [rate-engine: Count Total result 3]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:179 - uniqueid:MySystem-1402829983.180 - [rate-engine: Count Total result 3]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:344 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: Count Total result 1]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:344 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: Count Total result 1]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:345 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: number_trunk 1]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:345 - uniqueid:MySystem-1402829983.180 - [CC_asterisk_rate-engine: number_trunk 1]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:a2billing.php - line:757 - uniqueid:MySystem-1402829983.180 - [resfindrate: - 1]" 1
a2billing.php,3,cid-callback: file:a2billing.php - line:757 - uniqueid:MySystem-1402829983.180 - [resfindrate: - 1]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:358 - uniqueid:MySystem-1402829983.180 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (0.00000)]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:358 - uniqueid:MySystem-1402829983.180 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT (0.00000)]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1
<SIP/XXXX-000000b4>AGI Rx << VERBOSE "file:Class.RateEngine.php - line:364 - uniqueid:MySystem-1402829983.180 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:0]" 1
a2billing.php,3,cid-callback: file:Class.RateEngine.php - line:364 - uniqueid:MySystem-1402829983.180 - [CC_RATE_ENGINE_ALL_CALCULTIMEOUT: k=0 - res_calcultimeout:0]
<SIP/XXXX-000000b4>AGI Tx >> 200 result=1


regards,


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 12:35 pm 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Wow, this is really a long log :shock:

Before going in detail with the log, we should also pay attention to other things

As far as my experience goes (A2B 1.8), I do not know if things had changed since then. :

The part AGI(a2billing.php,3,cid-callback) will only handle the trigger and verify whether to call or not to call.
Then it will place an "order" for the callback daemon in the callback queue.

Hence, plz check the following :

1) the call back server settings in the admin interface ,, so that A2B can talk to the Asterisk manager
2) The cllback daemon is up and running
3) The callback queue to see if the call is already scheduled.
4) I remember having an issue once caused by the carrier response being delayed more than the callback "timeout" parameter .. you find that in the system configurations.

Hope the above helps.


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 1:46 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Swift wrote:
1) the call back server settings in the admin interface ,, so that A2B can talk to the Asterisk manager

Sur, the server setting is set under the callback server, and servergoup in the admin;)
Quote:
2) The cllback daemon is up and running

# service a2b-callback-daemon status
a2b_callback_daemon (pid 28502) is running... even, I have restart it several times, to insure it's running after asterisk, but no changes...

Quote:
3) The callback queue to see if the call is already scheduled.

Under callback a tab, in the admin I see all the earlier calls which i made for testing are recorded, and shown as pendent...

Quote:
4) I remember having an issue once caused by the carrier response being delayed more than the callback "timeout" parameter .. you find that in the system configurations.


But the call is just being recorded and shcudled, the call back is not started yet, as shown in the log, so, I can't acuse the other carrier yet... we are just into the first part of the call, the callback agi haven't started yet...

Regards,


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 2:12 pm 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Ok, good to know that.

Since you can see the requests being stacked in the queue, the role of the AGI(a2billing.php,3,cid-callback) has ended successfully .. you need to debug somewhere else.

Now it is up to the callback daemon to inform asterisk to perform the call through the Manager Interface (AMI)

Make sure that the settings for the asterisk manager (especially user and pass ) are matching those in the /etc/asterisk/manager.conf file (or any of its included extension files)

Regards


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Sun Jun 15, 2014 2:43 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Swift wrote:
Make sure that the settings for the asterisk manager (especially user and pass ) are matching those in the /etc/asterisk/manager.conf file (or any of its included extension files)


I have the asterisk manager autorised to do all; as

Quote:
[my-a2billing-user]
secret=my-pass
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read=all,system,call,log,verbose,command,agent,user,originate
write = all,system,call,log,verbose,command,agent,user,originate


So, having all, in read and write, I guess it's giving absolutly everything, so, what's missing??

This credentials are matching what I have under callback -server, un the admin gui.

So, now idea, where can I trace log, to find there's the lack...

;(


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Mon Jun 16, 2014 2:16 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hello,

It is time to check the /var/log/a2billing/a2b-callback-daemon.log
In a normal case it should throw a heart-beat log every few seconds.
It will also throw a notification if something went wrong.

Hope you will catch it here .


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Mon Jun 16, 2014 12:22 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Swift wrote:
It is time to check the /var/log/a2billing/a2b-callback-daemon.log
In a normal case it should throw a heart-beat log every few seconds.
It will also throw a notification if something went wrong.


I have foubnd several trying lines there... then waitings.... I have restarted the deamon, and no impact... then, i reboot all the host, and then, I see again, the same lines, just after rebooting, with new date... the deamon is trying, but no advance!

Quote:
""2014-06-13 15:21:24,779 - root - MainThread - INFO - waiting..."
"2014-06-13 15:21:24,890 - root - MainThread - INFO - [<callback_daemon.database.CallBack_Spool object at 0x29ec690>, <callback_daemon.databa$

....

2014-06-16 12:17:55,658 - root - MainThread - INFO - try_originate : SIP/mycarrier/zzzzz#XXXXXXXXX : 1000 : a2billing-callback"
"2014-06-16 12:17:56,189 - root - MainThread - INFO - try_originate : SIP/mycarrier/zzzzz#XXXXXXXXX : 1000 : a2billing-callback"
"2014-06-16 12:17:56,720 - root - MainThread - INFO - try_originate : SIP/mycarrier/zzzzz#XXXXXXXXX : 1000 : a2billing-callback"
"2014-06-16 12:17:57,250 - root - MainThread - INFO - try_originate : SIP/mycarrier/zzzzz#XXXXXXXXX : 1000 : a2billing-callback"
"2014-06-16 12:17:57,781 - root - MainThread - INFO - try_originate : SIP/mycarrier/zzzzz#XXXXXXXXX : 1000 : a2billing-callback"
"2014-06-16 12:18:02,998 - root - MainThread - INFO - waiting..."
"2014-06-16 12:18:08,110 - root - MainThread - INFO - waiting..."
"2014-06-16 12:18:13,222 - root - MainThread - INFO - waiting..."
"2014-06-16 12:18:18,346 - root - MainThread - INFO - waiting..."
"2014-06-16 12:18:23,460 - root - MainThread - INFO - waiting..."


I have sow something in the documentation that the deamon have to start after asterisk, and not before it...
So, i have detected:
Quote:
# service a2b-callback-daemon status
a2b_callback_daemon (pid 2516) is running...
[root@sip a2billing]# service asterisk status
asterisk (pid 2739) is running...


So, i have restarted the deamon, to insure that, and get:
Quote:
# service a2b-callback-daemon status
a2b_callback_daemon (pid 3067) is running...


But, the log still printing the same...

;(


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Mon Jun 16, 2014 3:44 pm 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Hello,

Usually after the call is placed in the queue, you would see an attempt to connect to the Asterisk Manager in the asterisk CLI console. please check for that .. and see if it is connecting

If manager connection is not happening, try changing the user and pass to something simple ,, or replace the 127.0.0.1 ..... with localhost .. etc or just re-write everything ... such details sometimes get nasty.

Also, check to see if the call is already attempted and you can find a trace in the Asterisk CDR

Also, check other parameters related to callback in the System Settings.

Good luck with your homework !


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Tue Jun 17, 2014 11:17 am 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hi again,
I think the issue is into my configuration, and my own system situation...
because:
1) I have 3 asterisk servers;
2) I have another server where I locate only mysql server;
3) i have a small VPS, where I have the admin, and the customer portal.

All servers connect to the SQl server to handle all over the service.

So, into the callbcl configuration, i have configured all asterisk servers, as: Server1, sever2, and server3. with there respective credentials for asterisk manager.

forget about server2, and 3, as I'm making my test only in server1.

So, when I'm placing the call test, the callback is being recorded as server: localhost, in the gui, and it's not related to the server who's placing the callback, and for this, reason, it's being stacked, I thing, or I'm mistacking?? Or it's being intended as localhost, in each server, as each server work independently, and just connect to the sql via the a2billing.conf file??

I think it's a configuration issue... or I'm misunderstanding something....

Regards,


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Wed Jun 18, 2014 1:55 am 
Offline

Joined: Fri Jan 18, 2008 9:54 pm
Posts: 135
Well, that changes the equation a bit.

To avoid confusion, remove configs related to server 2 and 3 and keep only one server

Then make sure to have the daemon running on the same server where asterisk 1 is running so that it can connect to astersik manager @ localhost.

Make sure to have the user,pass unified in the :
1) callback setting (admin interface)
2) /etc/asterisk/manager.conf of server 1

Hope this helps


Top
 Profile  
 
 Post subject: Re: Callback issues with Asterisk 11.6 Command Not Permitted
PostPosted: Wed Jun 18, 2014 1:17 pm 
Offline

Joined: Sun Nov 07, 2010 10:00 pm
Posts: 253
Hi Again,

I have reload everything, by:

I have created a new user in asterisk manager as:
Quote:
[mycallback]
secret=******
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read=all
write = all


Then, in the callback server setting, i set:
Quote:
servername: myserver.com
host: localhost >> I have tried to set 127.0.0.1, instead and retest, but the same ;(
username: mycallback
manager secret: *****



Where in extensions.conf, I have:
Quote:
[a2billing-callback]
exten => _X.,1,DeadAGI(a2billing.php,3,callback)
exten => _X.,n,Hangup()

[a2billing-cid-callback]
exten => _X.,1,Wait(1)
exten => _X.,n,DeadAGI(a2billing.php,3,cid-callback)
exten => _X.,n,Hangup()


[a2billing-all-callback]
exten => _X.,1,DeadAGI(a2billing.php,3,all-callback,) ;last parameter is the callback area code
exten => _X.,n,Hangup()


and the testing is:
Quote:
exten => 7777,1,Goto(a2billing-cid-callback,${EXTEN},1)


Then, restart asterisk, and restart the callback deamon...so:
Quote:
# service asterisk status
asterisk (pid 23592) is running...
# service a2b-callback-daemon status
a2b_callback_daemon (pid 23911) is running...

So, place a call again , and:

Quote:
-- Executing [7777@a2billing:1] Goto("SIP/XXXX-00000005", "a2billing-cid-callback,7777,1") in new stack
-- Goto (a2billing-cid-callback,7777,1)
-- Executing [7777@a2billing-cid-callback:1] Wait("SIP/XXXX-00000005", "1") in new stack
-- Executing [7777@a2billing-cid-callback:2] DeadAGI("SIP/XXXX-00000005", "a2billing.php,3,cid-callback") in new stack
[2014-06-18 12:57:26] WARNING[23874][C-00000006]: res_agi.c:4005 deadagi_exec: DeadAGI has been deprecated, please use AGI in all cases!
-- Launched AGI Script /var/lib/asterisk/agi-bin/a2billing.php
<SIP/XXXX-00000005>AGI Tx >> agi_request: a2billing.php
<SIP/XXXX-00000005>AGI Tx >> agi_channel: SIP/XXXX-00000005
<SIP/XXXX-00000005>AGI Tx >> agi_language: en
<SIP/XXXX-00000005>AGI Tx >> agi_type: SIP
<SIP/XXXX-00000005>AGI Tx >> agi_uniqueid: mysystem-1403096244.5
<SIP/XXXX-00000005>AGI Tx >> agi_version: 11.6-cert1
<SIP/XXXX-00000005>AGI Tx >> agi_callerid: XXXXXXXX
<SIP/XXXX-00000005>AGI Tx >> agi_calleridname: XXXX
<SIP/XXXX-00000005>AGI Tx >> agi_callingpres: 0
<SIP/XXXX-00000005>AGI Tx >> agi_callingani2: 0
<SIP/XXXX-00000005>AGI Tx >> agi_callington: 0
<SIP/XXXX-00000005>AGI Tx >> agi_callingtns: 0
<SIP/XXXX-00000005>AGI Tx >> agi_dnid: 7777
<SIP/XXXX-00000005>AGI Tx >> agi_rdnis: unknown
<SIP/XXXX-00000005>AGI Tx >> agi_context: a2billing-cid-callback
<SIP/XXXX-00000005>AGI Tx >> agi_extension: 7777
<SIP/XXXX-00000005>AGI Tx >> agi_priority: 2
<SIP/XXXX-00000005>AGI Tx >> agi_enhanced: 0.0
<SIP/XXXX-00000005>AGI Tx >> agi_accountcode: XXXX
<SIP/XXXX-00000005>AGI Tx >> agi_threadid: 140228768581376
<SIP/XXXX-00000005>AGI Tx >> agi_arg_1: 3
<SIP/XXXX-00000005>AGI Tx >> agi_arg_2: cid-callback
<SIP/XXXX-00000005>AGI Tx >>
<SIP/XXXX-00000005>AGI Rx << GET VARIABLE IDCONF
<SIP/XXXX-00000005>AGI Tx >> 200 result=0
<SIP/XXXX-00000005>AGI Rx << HANGUP
<SIP/XXXX-00000005>AGI Tx >> 200 result=1
<SIP/XXXX-00000005>AGI Rx << SET VARIABLE CHANNEL(language) "en"
<SIP/XXXX-00000005>AGI Tx >> 200 result=1
<SIP/XXXX-00000005>AGI Rx << HANGUP
<SIP/XXXX-00000005>AGI Tx >> 511 Command Not Permitted on a dead channel
-- <SIP/XXXX-00000005>AGI Script a2billing.php completed, returning 4
== Spawn extension (a2billing-cid-callback, 7777, 2) exited non-zero on 'SIP/XXXX-00000005'



And the log still showing the same:

Quote:
"2014-06-18 13:00:12,071 - callbackLogger - MainThread - INFO - info message"
"2014-06-18 13:00:12,072 - callbackLogger - MainThread - WARNING - warn message"
"2014-06-18 13:00:12,072 - callbackLogger - MainThread - ERROR - error message"
"2014-06-18 13:00:12,072 - callbackLogger - MainThread - CRITICAL - critical message"
"2014-06-18 13:00:14,106 - root - MainThread - INFO - ------ Starting Callback Daemon ------
"
"2014-06-18 13:00:14,106 - root - MainThread - INFO - waiting..."
"2014-06-18 13:00:14,218 - root - MainThread - INFO - [<callback_daemon.database.CallBack_Spool object at 0x2731810>, <callback_daemon.database.CallBack_Spool object at 0x2731910>, <callback_daemon.database.CallBack_Spool object at 0x2731990>, <callback_daemon.database.CallBack_Spool object at 0x2731a10>, <callback_daemon.database.CallBack_Spool object at 0x2731ad0>, <callback_daemon.database.CallBack_Spool object at 0x2731b90>, <callback_daemon.database.CallBack_Spool object at 0x2731c50>, <callback_daemon.database.CallBack_Spool object at 0x2731d10>, <callback_daemon.database.CallBack_Spool object at 0x2731dd0>, <callback_daemon.database.CallBack_Spool object at 0x2731e90>, <callback_daemon.database.CallBack_Spool object at 0x2731f50>, <callback_daemon.database.CallBack_Spool object at 0x273a050>, <callback_daemon.database.CallBack_Spool object at 0x273a110>, <callback_daemon.database.CallBack_Spool object at 0x273a1d0>, <callback_daemon.database.CallBack_Spool object at 0x273a290>, <callback_daemon.database.CallBack_Spool object at 0x273a350>, <callback_daemon.database.CallBack_Spool object at 0x273a410>, <callback_daemon.database.CallBack_Spool object at 0x273a4d0>, <callback_daemon.database.CallBack_Spool object at 0x273a590>]"
"2014-06-18 13:00:14,646 - root - MainThread - INFO - try_originate : SIP/mycarrier/xxxxxxxx : 1000 : a2billing-callback"
"2014-06-18 13:00:15,387 - root - MainThread - INFO - try_originate : SIP/mycarrier/xxxxxxxx : XXXXXXX : a2billing-callback"



So, callback is being recorded, and correctly schudled, and it's stacked when the deamon try to originate again, in asterisk,, it's stacked...

At main time, in asterisk log, i don't see anything related to all of that trying...

I'm really becoming crazy with this....
;(


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page 1, 2  Next
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 12 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