Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 12:27 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: A special extension where IVR tells your balance
PostPosted: Mon Oct 02, 2006 12:28 pm 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
is it possible to implement in future releases?
Imagine: some customers don't want to hear the annoying balance announcement on every call; though they are too lazy to check their balance via customer web interface. Would be just great if they could dial 5555 (for example) and hear their actual balance.


Top
 Profile  
 
 Post subject: Re: A special extension where IVR tells your balance
PostPosted: Mon Oct 02, 2006 4:41 pm 
Offline

Joined: Tue Aug 08, 2006 4:00 pm
Posts: 117
Location: Bitola,Macedonia
toor wrote:
is it possible to implement in future releases?
Imagine: some customers don't want to hear the annoying balance announcement on every call; though they are too lazy to check their balance via customer web interface. Would be just great if they could dial 5555 (for example) and hear their actual balance.


Yes this is good option im also interested about this ?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 12:39 am 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
That functionality is already implemented. Try "*0#".


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 6:53 am 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
marcelbarbulescu wrote:
That functionality is already implemented. Try "*0#".

Thanks, but it doesn't really work. All I get is 404 Not found. Is there anything that should be added in extensions.conf or a2billing.conf?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 7:38 am 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
marcelbarbulescu wrote:
That functionality is already implemented. Try "*0#".

Now I see. You mean this:

// SAY BALANCE
// this is hardcoded for now but we might have a setting in a2billing.conf for the combination
if ($this->destination=='*0'){
$this -> write_log("[SAY BALANCE ::> ".$this->credit."]");
$this -> fct_say_balance ($agi, $this->credit);
return -1;
}

Thanks, I'll think about it.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 03, 2006 2:41 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
Once you're authenticated by a2billing and prompted to enter the destination, just enter *0# instead of the destination number and you'll hear the balance.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 5:52 am 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
marcelbarbulescu wrote:
Once you're authenticated by a2billing and prompted to enter the destination, just enter *0# instead of the destination number and you'll hear the balance.

Yes, I got that. But most of my users have "answer_call=no" along with "use_dnid=YES" in their a2billing.conf section. For them it won't work.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 7:20 am 
Offline

Joined: Sun Jun 25, 2006 9:13 am
Posts: 183
Location: Germany
you can have extension where IVR tells your balance


/var/lib/asterisk/agi-bin
1. cp a2billing.php balance.php
2. cp -r libs_a2billing balance
3. edit balance.php and and change path from libs_a2billing to balance
4. edit balance/Class.A2Billing.php and change a2billing.conf to balance.conf

/etc/asterisk/
5 cp a2billing.conf balance.conf
6 edit balance.conf set for say_balance_after_auth=YES , use_dnid=NO, answer_call=Yes

7. Add Extentenstion for balance
exten => 900,1,DeadAGI,balance.php

reload and enjoy :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 8:27 am 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
mohan76 wrote:
you can have extension where IVR tells your balance


/var/lib/asterisk/agi-bin
1. cp a2billing.php balance.php
2. cp -r libs_a2billing balance
3. edit balance.php and and change path from libs_a2billing to balance
4. edit balance/Class.A2Billing.php and change a2billing.conf to balance.conf

/etc/asterisk/
5 cp a2billing.conf balance.conf
6 edit balance.conf set for say_balance_after_auth=YES , use_dnid=NO, answer_call=Yes

7. Add Extentenstion for balance
exten => 900,1,DeadAGI,balance.php

reload and enjoy :)

Obviously that's what I have done :)
I thought that maybe there's more elegant way.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 1:31 pm 
Offline

Joined: Tue Mar 21, 2006 7:17 pm
Posts: 141
Location: Washington DC
You can use multiple configurations by creating different [agi-confN] sections in the a2billing.conf file and calling DeadAGI(a2billing.php|N).


Top
 Profile  
 
 Post subject:
PostPosted: Wed Oct 04, 2006 2:11 pm 
Offline

Joined: Sat Apr 15, 2006 2:26 pm
Posts: 87
Location: Germany
marcelbarbulescu wrote:
You can use multiple configurations by creating different [agi-confN] sections in the a2billing.conf file and calling DeadAGI(a2billing.php|N).

Oh really? Really-really-really?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 
Predictive Dialer


All times are UTC


Who is online

Users browsing this forum: No registered users and 5 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