Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:37 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: IVR Play BALANCE
PostPosted: Sat Feb 07, 2009 1:42 am 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Friends, I looked around and found several forum questions about creating a balance IVR play, but found no solution, someone knows how to create an IVR to dial a number when he speak the internal balance? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 9:26 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Its all done in the a2billing.conf.

Send the call into one agi-conf which does not have the balnce read out, and into another agi-conf that is set to read out the balance.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 11:28 am 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Not understand, please explain better. thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 11:52 am 
Offline

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

In order to explain better, I would need to know what you understand, or rather what you don't understand from the sentence.

Have you understood the concept of the agi-conf in /etc/asterisk/a2billing.conf, and you understand that this controls the attributes of the call in progress.

Secondly, are you familiar with the idea of creating small dial plans in asterisk to send calls to different destinations, and how to call different agi-conf's in A2Billing.

Once you have understood these concepts, you will be able to create:-

and agi-conf that does not play the balance at the begining of the call

An agi-conf that does play the balance.

Then you will be able to create a short dial plan in asteisk that calls the appropriate agi-conf.

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 1:14 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Now I understand what you said. I created agi-conf3 (say_balance_after_auth = yes) and insert in extensions.conf:

exten => 999,1,Answer
exten => 999,2,DeadAGI(a2billing.php|3)
exten => 999,3,Hangup

Yes he talks about the balance, but when he ends the hangup, it dials the number to 999, how do you turn off the balance after he speaks? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 1:17 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
use_dnid=no


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 6:29 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Now yes, thank you jroper! Only have one detail, when the user has less than 100 of the keto, where 100 is the wrong a2billing speech in the American standard, here in Brazil is different, here we speak, 20 percent and he speaks in his 2 cent and 20 , has the change? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 07, 2009 6:52 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
You would need to install and download Portuguese sound prompts. They usually include a file that says the digits in the correct order

Here is a source: - http://www.voip-info.org/wiki/view/Aste ... ernational


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 3:21 am 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
I have the prompts in my language, the problem is that even so a2billing makes the reading of the balance in the American standard, such as reading to change the pattern of Brazil? Thanks


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 6:34 am 
Offline

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

It's not A2Billing that does that, its Asterisk.

Just to confirm this, create a little dialplan that does saynumber, then hangs up.

Maybe the asterisk forums can be of more help?

Joe


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 08, 2009 1:04 pm 
Offline

Joined: Sun Mar 30, 2008 5:52 pm
Posts: 138
Already moved in sip.conf language = br and also the peer for "br". changed in indications.conf for "br" but even so it makes the reading of the balance in the American standard, anyone know where can I change this? Below is where bold is where it makes the reading incorrect. Thanks

Playing 'prepaid-you-have' (escape_digits=#) (sample_offset 0)
-- <SIP/0881000-08321b88> Playing 'digits/1' (language 'br')
-- <SIP/0881000-08321b88> Playing 'digits/hundred' (language 'br')
-- <SIP/0881000-08321b88> Playing 'digits/20' (language 'br')
-- <SIP/0881000-08321b88> Playing 'digits/7' (language 'br')
-- Playing 'vm-and' (escape_digits=#) (sample_offset 0)
-- <SIP/0881000-08321b88> Playing 'digits/70' (language 'br')
-- <SIP/0881000-08321b88> Playing 'digits/6' (language 'br')
-- Playing 'prepaid-cents' (escape_digits=#) (sample_offset 0)


Top
 Profile  
 
 Post subject: Re:
PostPosted: Tue Jul 12, 2011 2:17 am 
Offline

Joined: Sat Jul 02, 2011 11:10 pm
Posts: 8
dbbrito wrote:
Now I understand what you said. I created agi-conf3 (say_balance_after_auth = yes) and insert in extensions.conf:

exten => 999,1,Answer
exten => 999,2,DeadAGI(a2billing.php|3)
exten => 999,3,Hangup

Yes he talks about the balance, but when he ends the hangup, it dials the number to 999, how do you turn off the balance after he speaks? Thanks


i creat agi-conf2 and to play balance when auth
but really dont know how say to asterisk when call 999 route to it
add this in extension.conf also:

exten => 999,1,Answer
exten => 999,2,DeadAGI(a2billing.php|2)
exten => 999,3,Hangup

but when call 999 still it got to [a2billing] same old and not happen any new thing.
where i should be change to cut off the 999 from old and route it new way to do this ivr ?


Top
 Profile  
 
 Post subject: Re: IVR Play BALANCE
PostPosted: Tue Jul 12, 2011 7:34 am 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Quote:
but when call 999 still it got to [a2billing] same old and not happen any new thing.


Did you issue an asterisk reload?


Joe


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 
Auto Dialer Software


All times are UTC


Who is online

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