PBXes » English » Miscellaneous » Dial Patterns for Swedish land-lines
Print Page | Recommend to Friend | Add Thread to Favorites
Post New Thread Post Reply
Author
Post « Previous Thread | Next Thread »
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

How can I add a sufix to a dial string? Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Some of my VOIP providers allow you to add a # after the number to reduce the wait time from when the last digit was dialled to when you hear the ringing. It can save around 5 seconds.

How can I automatically add the # to the end of my numbers? I've tried adding the following dial rule to the trunk 00351+NXXXXXXXX[#] but when I save it the #] gets truncated.

17.01.2007 13:09 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

I know exactly what you are trying to achieve, but there is a better way which has two parts.

Part one depends on the ATA or IP phone that you have at your disposal. If it supports a local dial-plan, then you can minimize the delay on the ATA. If it doesn't you can't.

For example Grandstream ATAs do not support a local dial-plan, but Sipuras do. So if you insert an S0 at the end of the dialed string, the ATA will not wait for the inter-digit timeout (2 to 3) seconds, and will send the string of digits to PBXes right away after the last digit.

Part two is to achieve this on PBXes, and that should be on the "Dial Patterns" of the Outbound Route, and not on the "Dial Rules" of the Trunk. The reason is the "Dial Patterns" of the Outbound Route is where the digits coming from the ATA or IP phone are matched and the routing decision made. So a pattern like 2ZZxxxxxx would cover all the land lines in Portugal. The PBXes would only wait for 9 digits (no [.] exists at the end) and it would immediately send the call to the Trunk where in its' "Dial Rules" you can add 00351 via this rule "00351+2ZZxxxxx." and be off as soon as possible.

The equivalent "Dial Pattern" for the mobile numbers in Portugal would be 9[1346]xxxxxxx and the trunk's "Dial Rule" would be "00351+9[1346]xxxxxx.". Keep in mind that PBXes sends the whole string to the SIP proxy, in the Invite message, so the inter-digit timeout is non existent in this context.

Let me know if you have any questions.

18.01.2007 04:50 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Thanks for the comprehensive reply Diafora.

Part one
I use a Draytek 2800VG and as far as I'm aware it doesn't support local dial plans - or at least I haven't been able to find it within the router set up.

Part two
This part I'm still not 100% clear on. I basically understand what you say but I thought the post dialling delay was caused more by the VOIP provider .e.g Draytel, hence them accepting the # at the end of the dial string to signify that is the end of the string and not to wait for further digits. So setting up the routing as you mention helps speed it through the PBX but the VOIP provider may still add a delay. Also, our routing is simple in that all outbound calls go through one trunk except when that trunk is offline then they go through a second (backup) trunk.

When I add the # to the end of the number when dialling, it makes a big improvement to the time from when the last digit is pressed to when you hear the ringing on the other end. From what I can see there is no way of adding the # the end of a dial string in the PBX is that correct?

If I've totally missed your point verwirrt then I apologise.

18.01.2007 16:37 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

The difference here is, that when you had provisioned the SIP client in the 2800VG directly with the provider, pressing the # eliminated the delay of the inter-digit timeout in the 2800VG. After sensing the # the SIP Invite is formed and sent immediately to the provider.

On the other hand in the PBXes, when using a proper "Dial Pattern" in the Outbound Route (one without [.] which adds a delay), the delay is minimized since the dial pattern will wait for the right amount of digits, and send the call to the trunk immediately. In addition, a proper "Dial Pattern" will perform some error checking, and will refuse a misdialed call faster, instead of sending it to the provider to be rejected. For example a call to a mobile 925492003 will fail in PBXes quicker that reaching the provider.

From there the trunk will add the 00351 and the PBX will immediately send out the SIP Invite message to the provider. So no # is needed if the provider is provisioned in your PBXes account as a trunk, and the 2800VG is provisioned in PBXes as an extension.

I hope, my explanation has helped you instead of confusing you.

19.01.2007 03:02 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Yes thanks. It's clear and makes sense now.

So, as I basically use the same trunk for all my routes should I place all the routing dial rules in the same outbound route or should I split them into separate routes?

This is what I tried for my dial rules in my outbound route (these are all in a single route)
2ZZXXXXXX - Portugal landline
9[1346]XXXXXXX - Portugal mobile
[0][0][1]ZXXXXXXXXX - US numbers
[0][0]NXXXXXXXXXX - Int'l number with 2 digit country code
[0][0]NXXXXXXXXXXX- Int'l number with 3 digit country code
[8]XXXXXXXX - Int'l freephone

My trunk dial pattern is as you suggested
00351+2ZZxxxxx.
00351+9[1346]xxxxxx.

This post has been edited 1 time(s), it was last edited by cyb on 19.01.2007 at 11:40.

19.01.2007 11:39 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Something I forgot to mention earlier is, that when you dial # at the end of the last digit on the 2800VG. the # character is not passed on neither to the provider nor to the PBXes. In essence, the # acts as a delimiter on the 2800VG, to signal there wouldn't be any more digits coming through. So if you get into the habit of pressing #, you will avoid the inter-digit timeout on the 2800VG, which is what you were trying to achieve in the first place.

Concerning the Outbound Route, I would use one for Portugal with 2ZZxxxxxx and 9[1346]xxxxxxx and one or more Outbound Routes for the International calls. I would also create a separate Outbound Route for the Freephone numbers, since you will be using a different trunk for them.

For the US and Canada though, it's better to use the pattern 001NxxNxxxxxx since that is how you would dial it in the first place. Be careful though with calls that look like the above pattern, but do not terminate to the US or Canada. Bermuda, and 16 Caribbean nations use the same North America dial plan, but the cost is a lot higher.

Finally, I wouldn't use the [0][0]NXXXXXXXXXX or [0][0]NXXXXXXXXXXX patterns for calls to all other countries, but instead I would decide which countries I needed to call, and add their valid patterns for land-line and mobile numbers. A lot of unpleasant surprises can be avoided with the right dial patterns. Let me know if you need a pattern for a specific country, I have been compiling a list.

19.01.2007 12:14 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Diafora, you seem to know more about the 2800VG than I do smile.

Regarding the dial patterns to the various countries, your list would be very useful. Trouble is we don't always know which country we may need to call as we receive enquiries from all over the world. However the most common countries are:
UK
US
Germany
Netherlands
Hungary
Spain
Cyprus
Panama
Canada
France
Belgium
Ireland
Italy

What happens if I create patterns for the above countries and I then need to call a country that doesn't match the pattern? Will the call still go through or do I need to create a "catch all" route?

19.01.2007 15:07 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

International Dial Patterns Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

I would advise against a "catch all" route to avoid surprises, but you can go ahead and create one, and put it at the end.

The other advantage of not having a "catch all" route is that you get to qualify each provider for the specific country, before your clients start complaining. It just comes down to how you set the expectation with your clients.

Here is a partial list for the countries you asked for. It will take me some time to get the rest of them.

0044[12]xxxxxxxxx -> Britain land-lines
00447[7-9]xZxxxxxx -> British mobile networks
0049Nxxxxxxx. -> Germany land-lines
00491[5-7]xxxxxxxx -> German mobile networks
0036NNxxxxxxxx -> Hungary land-lines rest of country
00361Nxxxxxxx -> Hungary land-lines Budapest
0036[237]0xxxxxxxxx -> Hungary mobile networks
0034[89]Zxxxxxxx -> Spain land-lines
00346[0237]xxxxxxx -> Spanish mobile networks
003572[2-7]xxxxxx -> Cyprus land-lines
003579[69]xxxxxx -> Cypriot mobile & paging networks
0033[1-5]Zxxxxxxx -> France land-lines
00336xxxxxxxx -> French mobile & paging networks
0032Zxxxxxxx -> Belgium land-lines 8 digits only
00324[4789]xxxxxxx -> Belgian mobile networks
00353[124-79]xxxxxx. -> Ireland land-lines
003538[35-8]xxxxxxx -> Irish mobile networks
00390Zxxxxxx. -> Italy land-lines
00393[1-46-9]xxxxxxxx -> Italian mobile networks

This post has been edited 4 time(s), it was last edited by Dia on 11.10.2008 at 02:19.

20.01.2007 05:43 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Thanks Diafora. You've been a great help. großes Grinsen großes Grinsen großes Grinsen

BTW, we are not a reseller or call provider. We use the PBX for our own office use so the PBX users are all internal staff.

For the Irish mobile the length is 7 digits. E.g. of an Irish mobile number taken from our call logs +353 86 9331160.

This post has been edited 3 time(s), it was last edited by cyb on 20.01.2007 at 09:56.

20.01.2007 09:43 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Irish mobile number length Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Hey cyberdude, thanks for the info on the Irish mobile numbers. Can you please verify their legth is indeed 9 digits after the +353 country code?

To make it easier, you can actually filter the results in the Call Monitor using the Search field.

Take care.

21.01.2007 02:48 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
cyb
Grünschnabel


Registration Date: 22.07.2006
Posts: 123

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Diafora, the total number of digits after 00353 is nine.

The Irish mobile is +353 YY XXXXXXX where YY seems to be the network code and the XXXXXXX the number. My logs look like 00353 86 XXXXXXX or 00353 87 XXXXXXX.

Hope that helps.

23.01.2007 15:27 cyberdude is offline Search for Posts by cyberdude Add cyberdude to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

Thanks for the update cyberdude. I have corrected the original post, to reflect it.

If you have a chance, verify the rest of the patterns through your logs, and let me know if anything is amiss.

23.01.2007 18:14 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Tight lists of US and Canadian Dial Patterns Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

I would like to add to the collection of Dial Patterns, the US list of NPAs, as well as a tighter version of the Canadian NPAs.

The US list is long, but it avoids the countries and terittories which are part of the NANP, but are usually more expensive to call.

Tight list of Canadian NPAs
1204Nxxxxxx
1226Nxxxxxx
1250Nxxxxxx
1289Nxxxxxx
1306Nxxxxxx
1343Nxxxxxx
1403Nxxxxxx
141[68]Nxxxxxx
1438Nxxxxxx
1450Nxxxxxx
1506Nxxxxxx
151[49]Nxxxxxx
158[17]Nxxxxxx
1604Nxxxxxx
1613Nxxxxxx
1647Nxxxxxx
170[59]Nxxxxxx
1778Nxxxxxx
1780Nxxxxxx
1807Nxxxxxx
1819Nxxxxxx
1867Nxxxxxx
190[25]Nxxxxxx

Tight list of L48 US NPAs
120[1235-9]Nxxxxxx
121[02-9]Nxxxxxx
122[45789]Nxxxxxx
123[149]Nxxxxxx
124[08]Nxxxxxx
125[1-46]Nxxxxxx
126[0279]Nxxxxxx
127[06]Nxxxxxx
128[13]Nxxxxxx
130[1-5789]Nxxxxxx
131[02-9]Nxxxxxx
132[0135]Nxxxxxx
133[014679]Nxxxxxx
134[017]Nxxxxxx
135[12]Nxxxxxx
136[0149]Nxxxxxx
138[056]Nxxxxxx
140[1245-9]Nxxxxxx
141[02-579]Nxxxxxx
142[345]Nxxxxxx
143[0245]Nxxxxxx
144[0237]Nxxxxxx
146[69]Nxxxxxx
147[0589]Nxxxxxx
148[04]Nxxxxxx
150[1-5789]Nxxxxxx
151[0235-8]Nxxxxxx
15[234]0Nxxxxxx
15[45]1Nxxxxxx
155[79]Nxxxxxx
156[1-47]Nxxxxxx
157[013-5]Nxxxxxx
158[056]Nxxxxxx
160[1-35-9]Nxxxxxx
161[024-9]Nxxxxxx
162[036-8]Nxxxxxx
163[016]Nxxxxxx
164[16]Nxxxxxx
165[0179]Nxxxxxx
166[01279]Nxxxxxx
167[0189]Nxxxxxx
168[249]Nxxxxxx
170[1-4678]Nxxxxxx
171NNxxxxxx
172[047]Nxxxxxx
173[01247]Nxxxxxx
174[07]Nxxxxxx
175[47]Nxxxxxx
176[02-59]Nxxxxxx
177[02-59]Nxxxxxx
178[1567]Nxxxxxx
180[1-68]Nxxxxxx
181[02-8]Nxxxxxx
1828Nxxxxxx
183[012]Nxxxxxx
184[3578]Nxxxxxx
185[06789]Nxxxxxx
186[02-5]Nxxxxxx
187[028]Nxxxxxx
190[1346-9]Nxxxxxx
191[02-9]Nxxxxxx
192[058]Nxxxxxx
193[15-79]Nxxxxxx
194[0179]Nxxxxxx
195[12469]Nxxxxxx
197[0123589]Nxxxxxx
198[0459]Nxxxxxx

This post has been edited 1 time(s), it was last edited by Dia on 11.10.2008 at 02:17.

06.03.2007 07:15 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
Dia
Premium Account


Registration Date: 03.03.2006
Posts: 1443

Dial Patterns for Swedish land-lines Post Reply with Quote Edit/Delete Post Report Post to a Moderator       IP Information Go to the top of this page

I would like the Swedish users in the forum, to validate the Dial Patterns of Swedish land-lines. Specifically, the length of each dial string is of particular importance.

Thanks in advance.

Swedish land-lines complete
4611xxxx.
4612[01235]xxxx.
4613xxxx.
4614[01-4]xxxx.
4615[0125-9]xxxx.
4616xxxx.
4617[13456]xxx.
4618xxxxx.
4619xxxxx.
4621xxxx.
4622[01-7]xxx.
4623xxxx.
4624[013678]xxx.
4625[0138]xxxx.
4626xxx.
4627[018]xxxx.
4628[01]xxxx.
4629[01-57]xxx.
4630[01-4]xxx.
4631xxxx.
4632[0125]xxx.
4633xxx.
4634[056]xxxx.
4635xxx.
4636xxx.
4637[012]xxxx.
463[0123]xxxx.
4639[023]xxxx.
4640xxx.
4641[013-8]xxxx.
4642xxx.
4643[0135]xxxx.
4644xxxx.
4645[14-79]xxxx.
4646xxxx.
4647[01246-9]xxxx.
4648[0156]xxxx.
4649[01-689]xxxx.
4650[01-6]xxxx.
4651[01-5]xxxx.
4652[01-68]xxxx.
4653[01-4]xxxx.
4654xxxx.
4655[01-5]xxxx.
4656[0345]xxxx.
4657[013]xxxx.
4658[01-79]xxxx.
4659[01]xxxx.
4660xxxx.
4661[123]xxxx.
4662[01234]xxxx.
4663xxxx.
4664[023457]xxxx.
4665[01237]xxxx.
4666[0123]xxxx.
4667[012]xxxx.
4668[0247]xxxx.
4669[012356]xxxx.
468xxxx.
4691[01-68]xxxx.
4692xxxxx.
4693[02-5]xxxx.
4694[0123]xxxx.
4695[01-4]xxxx.
4696[01]xxxx.
4697[0135678]xxxx.
4698[01]xxxx.

27.05.2007 00:14 Diafora is offline Search for Posts by Diafora Add Diafora to your Buddy List
 
Post New Thread Post Reply
Go to:

Powered by Burning Board Lite 1.0.2 © 2001-2004 WoltLab GmbH
English Translation by Satelk