Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 11:51 am
Voice Broadcast System


All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: setting up IVR voucher on ANI Callback
PostPosted: Sun Sep 20, 2009 2:09 am 
Offline

Joined: Sat Sep 05, 2009 11:58 am
Posts: 20
I'm using A2B -> 1.4 . Is there anyone that could guide me in setting up IVR voucher on ANI Callback? There seem to be limited information on this. I've read in the documentation that IVR voucher is supported by this version of a2b.. By supported, I take it to mean that this is a built in feature. I've modified the related options in agi-conf but still nothing. When I change the callback context to [a2billing] it prompts to enter voucher number. But setting to the default context [a2billing-callback] goes immediately to destination prompt.

I would like to enter destination as 8# to access the voucher topup and also, would like to have ivr prompt for topup when credit is low.

Any ideas? At least I need to know which files to look at to effect this feature.

thanks


Top
 Profile  
 
 Post subject: Re: setting up IVR voucher on ANI Callback
PostPosted: Mon Apr 05, 2010 8:15 am 
Offline

Joined: Tue Jan 06, 2009 11:04 am
Posts: 36
Location: Bangkok, Thailand
Yes, You can do this

1. create local sip trunk in the /etc/asterisk/sip.conf

[local_sip]
type=peer
host=127.0.0.1
port=5060
context=my_trunk
dtmfmode=rfc2833
disallow=all
allow=alaw

2. create agi-conf5 then set "ivr_voucher=yes"

3. create dialplan in /etc/asterisk/extensions.conf
;assuming you need dial "8" to get voucher service

[my_trunk]
exten => 8,1,Agi(a2billing.php|5|voucher)
exten => 8,n,Hangup

4. create trunk "local_sip" in provider -> trunk

5. create prefix 8 in rate of dialplan and select trunk = local_sip

6. when system call you back and request destination from you, just press 8# you will get voucher prompt


Regards,
Nui (Asterisk, A2Billing Thailand)


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 3 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