Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Apr 18, 2024 4:01 am
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: DID Destination - Can we play balance before connection?
PostPosted: Fri Apr 09, 2010 10:58 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Hello,
Is it possible to play the user's balance and time to call prior to connecting the call? The agi-conf tells it to do so, and it works with the regular calling card dialing. Unfortunately it will not make the announcement beforehand. The only thing I see works in the agi-conf is when I play with "answer call". When I set it to yes, the call answers and rings the destination. When it's set to no, it will not answer the call until asterisk receives a code that the call was answered.

Thanks in advance!


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Sat Apr 10, 2010 4:07 pm 
Offline

Joined: Sun Jan 17, 2010 9:22 pm
Posts: 64
Location: Canada
In the a2billing.conf you will find these settings:

; Play the balance to the user after the authentication (values : yes - no)
say_balance_after_auth = yes

; Play the balance to the user after the call (values : yes - no)
say_balance_after_call = yes

; Play the initial cost of the route (values : yes - no)
say_rateinitial = yes

; Play the amount of time that the user can call (values : yes - no)
say_timetocall = yes

Set them to what you want.


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Sat Apr 10, 2010 9:12 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
That's exactly what I did. Works great when calling from a calling card and entering the number manually. But when I route a DID and send it directly to a destination (external number), a2billing answers the call and connects it. That's it. Even after the party hangs up, a2billing hangs up the call, even though "play balance after hangup" is set to yes.
The agi that this is programmed under is the same exact agi for calling card users, so I know that it definitely works, however it is simply not working when the destination is set for the DID.

I am using a2billing 1.6 with asterisk 1.6.2


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Sun Apr 11, 2010 6:42 am 
Offline

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

If you are sending in a DID to be forwarded directly onto a destination as in ...a2billing.php,1,DID) not playing any IVR is expected behaviour.

Joe


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Mon Apr 12, 2010 1:47 am 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Understood. Is there an alternative way in doing this?


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Mon Apr 12, 2010 7:32 am 
Offline

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

I'm not sure that I understand the reasoning for this call flow.

Total stranger rings up a DID, and is told the balance of the person he is trying to ring, and then the call is delivered to the owner of the DID.

Is that what you want to do?

Joe


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Mon Apr 12, 2010 12:11 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Yes, in a way. The only difference in the scenario is that I will be routing the call based on Caller ID for security. So if someone calls their assigned DID from a "stranger" phone number, it would just ask for their PIN. If calling directly from their cell phone or another authorized number, that's when it will route the call accordingly.


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Mon Apr 12, 2010 3:56 pm 
Offline

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

Still not getting it.

Maybe if you explained the purpose of the product?

There are a couple of answers depending on the scenario.

Joe


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Tue Apr 13, 2010 12:30 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
In addition to a feature that a2billing offers, pinless dialing, I also want to have a feature that users can supply me with one or two phone numbers of overseas destinations that they call to often. It appears that DID Destination would be the perfect feature for this. The customer will need to give me the telephone numbers that he/she will be calling from. I will provide the customer with a DID to use. From there I create a Caller ID route with FreePBX and route it to the appropriate destination. However, when they call the DID, before their call is connected, I would like the balance and amount of talk time to be played.


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Tue Apr 13, 2010 12:41 pm 
Offline

Joined: Fri Jun 23, 2006 3:56 pm
Posts: 4065
Why not just use speed dial.


Top
 Profile  
 
 Post subject: Re: DID Destination - Can we play balance before connection?
PostPosted: Tue Apr 13, 2010 1:29 pm 
Offline

Joined: Wed Mar 24, 2010 6:27 pm
Posts: 149
Good idea. I'll look into that, thanks


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 
Voice Broadcast System


All times are UTC


Who is online

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