Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Fri Mar 29, 2024 12:30 pm
VoIP Billing solution


All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: National Calls, Calls start with 9, 8 or 6 (no leading zero)
PostPosted: Wed Jul 11, 2012 11:23 am 
Offline

Joined: Fri Jul 06, 2012 1:28 pm
Posts: 12
Hi,

I currently have clients in Spain, I am trying to allow national calling (without inter prefix).

The a2billing system allows for this only in countries where national calls start with a leading zero. Spain starts with 9, 8, or 6.

Does anybody know a way of achieving this without causing conflicts. I have it almost working by having two sets of rates, but it's difficult for rates not to conflict.

Any ideas? Maybe there is a way to amend the option local dialing rule to work with 9,8 and 6?


Top
 Profile  
 
 Post subject: Re: National Calls, Calls start with 9, 8 or 6 (no leading zero)
PostPosted: Fri Jul 13, 2012 10:19 am 
Offline

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

If its VoIP its quite easy, simply manipulate the number in the dial-plan by adding 34 in front to any 9 digit number starting in 6, 8 & 9

If it's calling card, then two rate tables is probably the best way, using regex expressions to closely identify 9 digit numbers starting in 6, 8 or 9

Joe


Top
 Profile  
 
 Post subject: Re: National Calls, Calls start with 9, 8 or 6 (no leading zero)
PostPosted: Wed Jul 03, 2013 9:20 am 
Offline

Joined: Fri Jul 06, 2012 1:28 pm
Posts: 12
This was a while back and I came up with a solution for my short term as we were only working with business and each had there own PBX.

Simply on their FreePBX I added 0 to any number starting with 1-9, this meant that A2billing did the rest using local_dialing_addcountryprefix.

Now I would like to do this for retail customer so I need to do it in my dialplan.

How would I write that, something like this:
exten => _Z.,1,AGI(a2billing.php,1)

But I'm not sure ow to add the zero at the beginning.

Thanks,

Adam


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


All times are UTC


Who is online

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