News:

On Tuesday September 6th the forum will be down for maintenance from 9:30 PM to 11:59 PM PDT

Main Menu

missed 1 digit when dialing US number 252- and I got connected to Somalia(252)!

Started by onepolarbear, February 04, 2013, 09:20:06 PM

Previous topic - Next topic

onepolarbear

Thanks! :)

That should put a stop to all my bad dialing to int'l calls, at least to numbers that require 011.

I looked into my billing history and discovered that I also had
several calls to area code (242) which I believe is the Bahamas.
Billed at 10 cents/minute.   I must have dialed 242 instead of
252(North Carolina) as intended and hung up. 

Since there are many foreign country codes within North America,
can the digimaps to be programmed to restrict calls to all of them?
These are mostly Carribean countries, plus PR and Guam.  I looked
it up and there are about 25 3-digit foreign country codes in North
America:

Source: http://www.nanpa.com/pdf/NANP_Member_Country_Maps.pdf

242
246
264
268
284
340
345
441
473
649
664
670
671
684
721
758
787
939
767
784
809
829
849
868
869
876



Thanks! :)

ianobi

Using this DigitMap:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|01144xx.|01149xx.)

Calls leaving your OBi going to GV will be eleven digits starting with "1" or international calls starting with 01144 or 01149.

Rather than banning certain numbers, this DigitMap only allows the above formats / numbers. The important thing is to remove rules xx.|(Mipd)|[^*#]@@. from GV DigitMaps, then nine or ten digit numbers cannot get to GV to allow them to send them around the world  :)

onepolarbear

I have already updated my digimap with the one you provided. :)  Thanks!

However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)
instead of 252-327-6000(North Carolina), the call will go to the Bahamas
and be billed at 10 cents.(assuming someone picks up before I realize the mistake)
Just tried it and that's exactly what happened. :)

Probably time for me to find a new cordless phone with bigger keypad for my giant fingers! :D

QBZappy

Quote from: onepolarbear on February 07, 2013, 11:18:31 AM
However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)

Now that you have narrowed it down considerably, block 242 numbers on the OBi.
Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.

ianobi

You could be very restrictive on your ten digit dialling and use a DigitMap such as:

(1xxxxxxxxxx|<1>252xxxxxxx|01144xx.|01149xx.)

This means only ten digit numbers starting with 252 would have "1" prepended, then sent to GV. Any other ten digit number would be rejected by the OBi. All other North American numbers would need to be dialled as eleven digit numbers starting with "1".

infin8loop

onepolarbear,

Try this:

(1) Pick an unconfigured Voice Gateway. I chose VG5 in Gateways and Trunk Groups:

Enable: unchecked (must uncheck default box)
Name: Route misdialed calls here (must uncheck default box)
AccessNumber: leave default box checked
DigitMap:
(1?(242|246|264|268|284|340|345|441|473|649|664|670|671|684|721|758|787|939|767|
784|809|829|849|868|869|876)xx.)
AuthUserID: leave default box checked
AuthPassword: leave default box checked

(2) Add this parameter to the beginning of your PHONE Port OutboundCallRoute: {(Mvg5):vg5},
    (change the 5 to the actual VGx slot # you used in step 1)

Now whenever any of the 26 (I counted 26, not 25 in your list) "toll" area codes in North America are dialed with or without a "1" prefix you should hear a message from the OBi like "No service configured error...". You will get the message because the VGx (in this example VG5) is not enabled or configured with a service provider. This will be your cue that you misdialed.

I have implemented and tested this on my primary OBi110.  I chose VG5 because I use RonR's method (mentioned elsewhere in this forum) and have VG3, VG4, VG6, and VG7 configured as dialing prefixes **3, **4, **6 and **7 respectively. **5 cannot be used in this method because it conflicts with the **5code dialed to register an OBi so I had the VG5 slot free.    

The misdials do not show up in the OBi call history. This is good because you won't lose good call history but could be a pain if you need to debug.

I don't have a balance in my GV account so I could test and not worry that a priced call would go through. You might want to add 252 (NC) to the list in the DigitMap shown above and place calls to 1252xxxxxxx and 252xxxxxxx numbers to ensure you have it setup correctly. Then remove the 252.

Hopefully this and whatever DigitMap you choose will help keep you get from getting nicked by toll charges when misdialing.

Updated: I split the VGx DigitMap up on multiple lines. It did not display like the "preview" and displayed a scrollbar within the post.  Please ensure the complete DigitMap is entered in the OBi VGx slot with no embedded spaces.

Update: Changed DigitMap to start with 1? instead of 1. as ianobi pedantically pointed out. Either works. The 1? is clearer and more accurate. Everything sounds so much more important in a British accent as found here:
http://dictionary.cambridge.org/dictionary/british/pedantic  Click on UK speaker.  LOL    
"This has not only been fun, it's been a major expense." - Gallagher

QBZappy

Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.

Lavarock7

Quote from: onepolarbear on February 07, 2013, 11:18:31 AM
However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)

I have stayed at that hotel and the front desk has been wondering why people call and hang up :-)
My websites: Kona Coffee: http://itskona.com and Web Hosting: http://planetaloha.info<br />A simplified Voip explanation: http://voip.planet-aloha.com

ateo

Quote from: QBZappy on February 07, 2013, 11:28:47 AM
Quote from: onepolarbear on February 07, 2013, 11:18:31 AM
However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)

Now that you have narrowed it down considerably, block 242 numbers on the OBi.

If onepolarbear has set up the digit map to the recommended
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|01144xx.|01149xx.)
why dialing 242-327-6000 would call the hotel in the Bahamas ?

Dialing 242-327-6000 would make OBi to dial +12423276000 and not +2423276000
So, with this digit map the OBi should not call the Bahamas.
or am I wrong?


ianobi

@ infin8loop,

I like that idea. It provides a good filter without complicating the basic digit maps.

I see that at the start of your DigitMap you use the format "1." to mean 0 or more "1"s. A very pedantic person might use "1?" to mean 0 or one "1".

Now everyone is thinking "ianobi, get a life"  :D


infin8loop

Quote from: ateo on February 08, 2013, 04:00:41 AM
Quote from: QBZappy on February 07, 2013, 11:28:47 AM
Quote from: onepolarbear on February 07, 2013, 11:18:31 AM
However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)

Now that you have narrowed it down considerably, block 242 numbers on the OBi.

If onepolarbear has set up the digit map to the recommended
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|01144xx.|01149xx.)
why dialing 242-327-6000 would call the hotel in the Bahamas ?

Dialing 242-327-6000 would make OBi to dial +12423276000 and not +2423276000
So, with this digit map the OBi should not call the Bahamas.
or am I wrong?

I also thought the same at first. Actually "242" is an area code in the "1" North America prefix (or country code).  If you can trust wikipedia there is an explanation here: http://en.wikipedia.org/wiki/Area_code_242. The 26 three-digit numbers in the list onepolar bear posted are apparently all area codes in the "1" prefix. Since none of the area codes are in the continental U.S. or Canada, then they are probably treated as toll calls (long distance) when dialed in Google Voice.

This is what led my to the VGx solution to block these area codes by routing them to an unconfigured VGx. While I'm posting again, the DigitMap I gave ended in "xx.".  The "xx." means one or more digits after the 3 digit area code in the list. I tried dialing 1242 and received a busy signal and not the Google voice message indicating I needed funds in my account to place the call. The OBi call log shows call connected (about 1 sec). I don't know if this would have resulted in a toll charge if I had funds available. It might be safer to end the DigitMap with "x." (none or more digits) instead of "xx." (the whole DigitMap enclosed in parenthesis of course) but I have not tried it.             
"This has not only been fun, it's been a major expense." - Gallagher

infin8loop

Quote from: ianobi on February 08, 2013, 07:54:12 AM
A very pedantic person might use "1?" to mean 0 or one "1".

I had to look up "pendantic". Now I have to use it in a sentence. He's not pendantic, he's just British.

I agree, "1?" is probably more clear and accurate than "1."  Forgive me, I'm an American.

Whether you are indeed British or not, play along to make this joke work. LOL

You're probably the kid in class that always wrecked "the curve".   ;D

 
"This has not only been fun, it's been a major expense." - Gallagher

ianobi

No need to play along - you are correct, I am indeed British, living in England. Here we know how to speak this language like wot it should be spoke wiv dead good grammar and stuff  :D

Tomorrow I shall be mostly watching cricket and drinking tea  :)

QuoteYou're probably the kid in class that always wrecked "the curve". 

I did not understand this reference. Is it an Americanism of some sort?

QBZappy

And now for something completely different:

"Hello.... Hello.... [tap tap] is this thing on? Hello??"

A Priest, a Rabbi, and a Minister walk into bar. The bartender looks up and asks "What is this, some kind of joke?"

Cheers.
Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.


ianobi


QBZappy

Quote from: ianobi on February 08, 2013, 09:30:38 AM
Here we know how to speak this language like wot it should be spoke wiv dead good grammar and stuff  :D

Ian you do a good Texas accent.
Owner of the 1st OBi110/100 units in service in Canada & South America. 1st OBi202 on my street. 1st OBi1032 in Montreal.

infin8loop

@QBZappy, Thanks for the bottle of virtual Crown Royal but it's just not the same. No taste and less intoxicating.

@ianobi, I didn't think about "the curve" not being international. I meant it in a good way as ihm. indicated. In the 60's I attended a British primary school for two years on a RAF base in Germany. The RAF base has been closed and is now the site of: http://goo.gl/T9s9M 

You guys all make me laugh. Thanks. 
"This has not only been fun, it's been a major expense." - Gallagher

CoalMinerRetired

Quote from: infin8loop on February 08, 2013, 08:07:40 AM
Quote from: ateo on February 08, 2013, 04:00:41 AM
Quote from: QBZappy on February 07, 2013, 11:28:47 AM
Quote from: onepolarbear on February 07, 2013, 11:18:31 AM
However,  if I make a mistake and dial 242-327-6000(a hotel in the Bahamas)

Now that you have narrowed it down considerably, block 242 numbers on the OBi.

If onepolarbear has set up the digit map to the recommended
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|01144xx.|01149xx.)
why dialing 242-327-6000 would call the hotel in the Bahamas ?

Dialing 242-327-6000 would make OBi to dial +12423276000 and not +2423276000
So, with this digit map the OBi should not call the Bahamas.
or am I wrong?

I also thought the same at first. Actually "242" is an area code in the "1" North America prefix (or country code).  If you can trust wikipedia there is an explanation here: http://en.wikipedia.org/wiki/Area_code_242. The 26 three-digit numbers in the list onepolar bear posted are apparently all area codes in the "1" prefix. Since none of the area codes are in the continental U.S. or Canada, then they are probably treated as toll calls (long distance) when dialed in Google Voice.
242 is officially the area code for the Bahamas. So says the "North American Numbering Plan Administration", see here for the list of Caribbean area codes: http://www.nanpa.com/pdf/NANP_Member_Country_Maps.pdf

lhm.

Removing xx. from GV dial plan will disable iNum calling. (ie: +883510000000093)