Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 5:24 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Author Message
 Post subject: Re: Help required in A2billing basics
PostPosted: Wed Apr 20, 2011 7:51 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi

Is there a way that user dials an extension just to get the information about balance. e.g User dial 333 and hear a prompt "You have 12 dollars...".

say_balance_after_auth = NO
say_timetocall = NO

with the above configuration and only using agi-conf1, can we get information about our balance?

Regards


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Wed Apr 20, 2011 8:00 am 
Offline

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

Create an extension 333 in your inbound context which calls a2billing.php with agi-conf 2 which is configured to play the balance.

Joe


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Wed Apr 20, 2011 11:03 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Dialling 333 gives information about balance but in the end a prompt is heard "The number you have dialled is currently unavailable".

Do we need to configure inbound did for extension 333? or any other idea to overcome this prompt?

Regards


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Wed Apr 20, 2011 11:04 am 
Offline

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


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Thu Apr 21, 2011 5:24 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi,

I have made two extension, one is 123 for account information using agi-conf 3 and another extension 8 for top-up balance using voucher. On dialling 123 account information prompt is played but in the end another prompt "Please enter the number you wish to call and press # key" starts playing (which I dont want). It happens with extension 123 and does not happen on dialling extension 8.

use_dnid = No
Is this a right behaviour if not then is there a valid way to stop this prompt?

Regards


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Fri Apr 22, 2011 4:15 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi,

can any one please comment on my previous message.

Regards.


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Fri Apr 22, 2011 6:59 am 
Offline

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

This is usual behaviour and there are no settings to stop the prompts being played. however there may be a workaround

Create a context in A2Billing to say goodbye, then hangup.
Create a DID in A2Billing of 123, with a destination of local/extension-created-in-above-Step@context-created-in-above-step
Set use DNID to yes.

Now what should happen is that the call comes in, plays the balance, then dials 123, which them takes it to your asterisk context which plays goodbye and hangs up.

Joe


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Fri Apr 22, 2011 11:54 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi,

Am I heading in the right direction, can you please verify following;

jroper wrote:
Create a context in A2Billing to say goodbye, then hangup.

extension.conf additions
[a2billing]
;Calling card application
exten => _X.,1,Answer()
exten => _X.,n,Wait(2)
exten => _X.,n,AGI(a2billing.php,1)
exten => _X.,n,Wait(2)
exten => _X.,n,Hangup()

[goodbye]
exten => 123,1,Playback(goodbye)
exten => 123,n,Hangup()

jroper wrote:
Create a DID in A2Billing of 123, with a destination of local/extension-created-in-above-Step@context-created-in-above-step

Destination additions
LOCAL/123@goodbye

On dialling 123 prompt appears that "The number you have dialled is not available" any comments on this?

Regards


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Mon Apr 25, 2011 12:09 pm 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi,
I set
ivr_enable_account_information = YES,
use_dnid =NO,
then IVR ends and prompt is heard "Please enter the number you wish to call and press # key"

if use_dnid = YES
then IVR ends and prompt is heard "The number you have dialled is unavailable"

I just wanted to verify that as you said earlier, in this particular case prompt is also just normal and cant be stopped.

Btw I tried the previous workaround but I think there was some mistake on my end due to which it was not workable for me. Anyway I achieved it in another way, I did the following in agi-conf 4;
say_balance_after_auth = YES
number_try = 0


by dialing some configured extension xx I hear the balance and then call hung up. Its working but is it valid behaviour? Kindly do point out if you see any issue in this.

Regards


Top
 Profile  
 
 Post subject: Re: Help required in A2billing basics
PostPosted: Wed Apr 27, 2011 4:18 am 
Offline

Joined: Tue Apr 05, 2011 12:05 pm
Posts: 36
Hi,

Can any one kindly share any comments/hints related to my previous post.

Regards


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3
Hosted Voice Broadcast


All times are UTC


Who is online

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