Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Tue Apr 16, 2024 11:07 pm
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: simple calling card set-up question
PostPosted: Wed Jan 21, 2009 5:58 pm 
Offline

Joined: Wed Jan 21, 2009 5:43 pm
Posts: 19
Folks, I am new to this forum, and I have started evaluating a2billing to replace an existing home grown billing system of one of my customers.

My question is very simple, this is regarding simple calling card use. For every calling card system you provide toll free access number and many local access numbers. If a customer calls through a toll free number then needs to be charged 1-2 cents more than if he calls a local number, for same destination.

It seems like we can create two rate cards one for toll free and the other for local access. How do we tell a2billing to use appropriate rate card based on the incoming "trunk" ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 6:03 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
Using the 'DNID prefix' on each rate-card.

For your specific situation it is much less arduous to simply add your toll free number and additional fee to 'extra_charge_*' in a2billing.conf.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 6:54 pm 
Offline

Joined: Wed Jan 21, 2009 5:43 pm
Posts: 19
Thanks for that. Now I would like to add a little more to the requirement.
Lets say customer (same card number) subscribed to SIP/IAX IP phone. Now I want to set him a rate card if he use the IP phone to make a call. Effectively three rates for same destination ( tollfree, local and ipphone ).
How can this be done ?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jan 21, 2009 6:57 pm 
Offline
Moderator
User avatar

Joined: Thu Jun 22, 2006 2:19 pm
Posts: 2890
Location: Devon, UK
In your dialplan force calls from IP phones to use a different [agi-conf] section in a2billing.conf. In this [agi-conf] use 'force_callplan_id' to select a different ratecard than the customer's default.


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


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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group