Geekzone: technology news, blogs, forums
Guest
Welcome Guest.
You haven't logged in yet. If you don't have an account you can register now.




3745 posts

Uber Geek
+1 received by user: 206

Trusted

Topic # 23606 3-Jul-2008 21:00
Send private message

Just bought a new Linksys SPA3102-AU today courtsey of Notebook City. Ringtone and SIP settings are all set up and working properly after a 3 hour battle. Successfully made a call through 2talk but I have 3 other VOIP providers which I will only use for outbound calls and do not require registration, therefore I can use them in any of the 4 spare gateways available in the SPA3102-AU. I have tried dial plan creators and forums etc etc but I just dont understand what each lettering/numbering means?

Could someone please explain it and create a dial plan for me?

Basically 0800, 111 and all local calls (Hamilton starting with 8xxxxxx) should stay with PSTN

021, 027, 029(telstra?) should stay with 2talk which is also my inbound and is set at Line 1

All National calls should go through freecall (if possible without adding 0064 in front of every number), if not possible then it should go through 2talk.

All international calls should go through freecall but Singapore should go through intervoip.

Atm 2talk is set for line 1 and freecall is set for gateway1 and intervoip set for gateway2

Can someone please create a dial plan for these rules and PLEASE explain what the *** or | ( and numbers mean so I can learn as well.

Thanks




Do whatever you want to do man.

  

Create new topic
25459 posts

Uber Geek
+1 received by user: 5269

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 142740 3-Jul-2008 21:29
Send private message

Sorry off to bed now so don't have time to explain fully but the following will work, I'd need to look at all the area codes to work out a simpler (or complex!) plan but if you want a basic disdlplan try this.

<#1,:>xx.<:@gw1>|<#2:>xx.<:@gw2>|<#3,:>xx.<:@gw3>|111S0<:@gw0>|8xxxxxxS0<:@gw0>

This will default 111 and numbers begining with 8 that are 7 digits long via the PSTN line.

To dial out with VoIP provider 1 dial #1 and then the number (default VoIP pdovider)

To dial out with VoIP provider 2 dial #2 and then the number

To dial out with VoIP provider 3 dial #3 and then the number

Obviously you can create dialplans to look at the number and route it via the correct provider. As a general guide x is a replacement for a single digit and a . is multiple digits until the digit timeout takes effect

ie 02.<:@gw1> would route all calls that begin with 02 via gw1

xxxxxxxx<:@gw2> would route all numbers that are 8 digits long via gw2

If you're dealing with multiple providers creating a single dialplan can be very complex. As for understanding how the dial plans work - that's a *very* long post! :-)



3745 posts

Uber Geek
+1 received by user: 206

Trusted

  Reply # 142763 3-Jul-2008 22:56
Send private message

Awesome, that worked like a charm. Told the old folks to press #1 to go national/cell, #2 to go to international, #3 to go to Singapore and they got it the first time round! Thanks for the help. Now I know what the xx and . mean. Will try and create a dial rule now without using the # and see how that goes

Thanks heaps

billgates




Do whatever you want to do man.

  

 
 
 
 


25459 posts

Uber Geek
+1 received by user: 5269

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 142958 4-Jul-2008 13:54
Send private message

If you need some more help let me know..

There is a dialplan setting that allows numbers with 2-9 to be flagged so you can use 0 [2-9] which will route all NZ toll calls and calls to mobiles via a single provider. You could then use another one for all 00 for international out via another provider.

The problem with Singapore is that since there are no area codes you might be better off leaving that requiring a #3 (or any other combination you want - you could change this to just require a 1 or a 9 if you want) to dial directly.

I have my Asterisk dialplan set up to route calls to NZ and Australia straight through without requiring a country code for Australia since I can match the number lengths since NZ has 0x and then 7 digits and Australia has 0x and 8 digits. This isn't pefect as there are some clashes with number ranges (029 which is TCL and also for Sydney).




3745 posts

Uber Geek
+1 received by user: 206

Trusted

  Reply # 143066 4-Jul-2008 20:42
Send private message

Is there anyway that gateway2 (freecall) can dial national numbers (NZ...Auckland, Wellington etc) without adding 0064 in front of the city code?

Atm I have 2 talk on gateway1 and I press #1 and dial 09, 03 ,04 etc followed by the number which works great....but is there any way to add something in the dial plan for freecall which is on gw2 and only press #2 and followed by 09, 03, 04 etc...

Added 0800 and 0508 support last night to gw0 and worked great...this is what I have atm....

<#1,:>xx.<:@gw1>|<#2,:>xx.<:@gw2>|<#3,:>xx.<:@gw3>|111S0<:@gw0>|8xxxxxxS0<:@gw0|0800xxxxxxS0<:@gw0|0508xxxxxxS0<:@gw0>




Do whatever you want to do man.

  

25459 posts

Uber Geek
+1 received by user: 5269

Moderator
Trusted
Biddle Corp
Subscriber

  Reply # 143068 4-Jul-2008 20:48
Send private message

You can force it to append numbers at the start - if you use <0:0064>xxxxxxx it would strip the 0 from a toll call and add 0064 to the start.

Using multiple providers really does get messy, I personally wouldn't bother with freecall as you get what you pay for..



3745 posts

Uber Geek
+1 received by user: 206

Trusted

  Reply # 143099 4-Jul-2008 22:06
Send private message

sbiddle: You can force it to append numbers at the start - if you use <0:0064>xxxxxxx it would strip the 0 from a toll call and add 0064 to the start.

Using multiple providers really does get messy, I personally wouldn't bother with freecall as you get what you pay for..


sweet, thanks that worked great as well....freecall is surprisingly good and crystal clear if you pay them 10 euros every 3 months....I tried a freecall when I did not pay them and call was average quality.....paid them and tried 5 mins later.....crystal clear....




Do whatever you want to do man.

  



3745 posts

Uber Geek
+1 received by user: 206

Trusted

  Reply # 143349 6-Jul-2008 13:28
Send private message

Another weird problem that I noticed today. Mum was talking to somone overseas through the cordless phone connected to the voip adapter. I did not know that and rang home from work and her phone call got cut off from me calling to the landline no (telecom assigned). why did it get cut off? There is another analogue phone connected in the lounge connected staight to the wall jack (no voip calls on this, connected straight to the PSTN line), is it because of this phone? should I disconnect it? because normally when someone rings home the lounge phone and cordless phone both start ringing....any way to solve this issue? more than happy to get rid of the lounge phone altogether if thats causing the problem.




Do whatever you want to do man.

  

Create new topic



Twitter »

Follow us to receive Twitter updates when new discussions are posted in our forums:



Follow us to receive Twitter updates when news items and blogs are posted in our frontpage:



Follow us to receive Twitter updates when tech item prices are listed in our price comparison site:





News »

Vodafone TV — television in the cloud
Posted 17-Oct-2017 19:29


Nokia 8 review: Classy midrange pure Android phone
Posted 16-Oct-2017 07:27


Why carriers might want to embrace Commerce Commission study, MVNOs
Posted 13-Oct-2017 09:42


Fitbit launches Ionic, its health and fitness smartwatch
Posted 12-Oct-2017 15:52


Xero launches machine learning automation to improve coding accuracy for small businesses
Posted 12-Oct-2017 15:45


Bank of New Zealand uses Intel AI to detect financial crime
Posted 12-Oct-2017 15:39


Sony launches Xperia XZ1, a smartphone with real-time 3D capture
Posted 11-Oct-2017 10:26


Notes on Nokia’s phone comeback
Posted 10-Oct-2017 10:06


Air New Zealand begins Inflight Wi-Fi rollout
Posted 9-Oct-2017 20:16


The latest mobile phones in perspective
Posted 9-Oct-2017 18:34


Review: Acronis True Image 2018 — serious backup
Posted 8-Oct-2017 11:22


Lenovo launches ThinkPad Anniversary Edition 25
Posted 7-Oct-2017 23:16


Less fone, more tech as Vodafone gets brand make-over
Posted 6-Oct-2017 08:16


API Talent Achieves AWS MSP Partner Status
Posted 5-Oct-2017 21:20


Stellar Consulting Group now a Domo Partner
Posted 5-Oct-2017 21:03



Geekzone Live »

Try automatic live updates from Geekzone directly in your browser, without refreshing the page, with Geekzone Live now.



Are you subscribed to our RSS feed? You can download the latest headlines and summaries from our stories directly to your computer or smartphone by using a feed reader.

Alternatively, you can receive a daily email with Geekzone updates.