Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Apr 19, 2024 7:44 pm
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Route call after a2billing
PostPosted: Wed Jun 20, 2012 10:35 am 
Offline

Joined: Wed Jun 20, 2012 10:34 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: Route call after a2billing
PostPosted: Thu Jun 21, 2012 10:46 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Hi

The only way I can think of doing this is to create some dialplan before calling a2billing.php which gets the users PIN, checks it against the database, then on success, call a2billing.php, on failure send to your other destination.

Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 
VoIP Billing solution


All times are UTC


Who is online

Users browsing this forum: No registered users and 29 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group