Hi Joe,
my code in the a2billing server looks like:
Code:
[a2billing]
include => a2billing_callingcard
include => a2billing_voucher
[a2billing_callingcard]
; CallingCard application
exten => 1,1,NoOp(A2Billing Start)
exten => 1,n,DeadAgi(a2billing.php,1)
exten => 1,n,Hangup
[a2billing_voucher]
exten => 2,1,Answer()
exten => 2,n,DeadAgi(a2billing.php,2)
exten => 2,n,Hangup
before I had what you suggested:
Code:
[a2billing_voucher]
exten => 2,1,Answer()
exten => 2,n,DeadAgi(a2billing.php,1,voucher)
exten => 2,n,Hangup
However, this second option did not allow me to make a call after the voucher number has been entered. That's why I created a new agi-conf that plays the voucher IVR and works fine. The only thing I would like now is to get rid off the message: "If you want to recharge your account with a voucher please enter 8 now", and play straight away the message "Enter you voucher number". Is this possible?
carlos