asterisk 1.4 + a2billing 1.3.4
Dont billed first leg
Here my config files
Code:
; CURRENCY SECTION
; Define all the audio (without file extensions) that you want to play according to currency (use , to separate, ie "usd:prep
currency_association = usd:dollars,mxn:pesos,eur:euros,all:credit
; Please enter the file name you want to play when we prompt the calling party to enter the destination number
; file_conf_enter_destination = prepaid-enter-number-u-calling-1-or-011
file_conf_enter_destination = prepaid-enter-dest
; Please enter the file name you want to play when we prompt the calling party to choose the prefered language
; file_conf_enter_menulang = prepaid-menulang
file_conf_enter_menulang = prepaid-menulang2
; Define if you want to bill the 1st leg on callback even if the call is not connected to the destination
callback_bill_1stleg_ifcall_notconnected = YES
Code:
$charge_callback = 1;
if ($callback_mode=='CID'){
$charge_callback = 1;
$A2B->agiconfig['use_dnid'] = 0;
$A2B->agiconfig['number_try'] =1;
$A2B->CallerID = $called_party;
Code:
[a2billing-cb] ;CallBack CallingCard application Ukraine
exten => s,1,Ringing
exten => s,2,Wait(5)
exten => s,3,Set(CALLERID(num)=${IF($[${LEN(${CALLERID(num)})} = 11]?3${CALLERID(num)}:${CALLERID(num):3})})
exten => s,4,DeadAGI(a2billing.php|1|cid-callback|)
exten => s,5,Wait(2)
exten => s,6,Hangup
What i need to do?
Help me please with this problem