Hello to the forum,
sorry if this is not the right place to post my question.
I need to know if there is a way to redirect the call after a2billing script completes executing.
As an example i need to redirect the caller in to the main ivr (outside a2billing) when his authorization fails.
I tried to add a goto statement into the a2billing context that is used, but apparently the call finishes and the channel is closed before i can do anything.
Code:
[a2billing_callingcard] ; CallingCard application exten => _.,1,NoOp(A2Billing Start) ;exten => _.,n,DeadAgi(a2billing.php,1) exten => _.,n,AGI(a2billing.php,1) ;exten => _.,n,Dial(SIP/203); exten => _,n,Goto(ivr-4,s,1) ;exten => _.,n,Playback(tt-weasels,skip); ;exten => _.,n,Hangup
Any help is appreciated.
Thanks in advance.
|