OBiTALK Community

General Support => Day-to-Day Use => Topic started by: ricky on August 02, 2011, 09:36:04 AM

Title: Can't call Belgium!
Post by: ricky on August 02, 2011, 09:36:04 AM
I have had an OBi110 for several months with GV on SP1 and callwithus.com for outbound international calling on SP2. It is manually configured, not managed through the OBi portal. Today I had to call a hotel in Belgium, but dialing **23227108000 causes 13227108000 to be dialed instead, which is rejected by callwithus. The modified number appears in both the OBi and callwithus logs. No other international number that I dial gets a 1 prepended to it. If I dial a callwithus access number, bypassing the OBi, the call goes through. I have not messed with any digit maps or outbound call routing - all are at default. Why is this happening?
Title: Re: Can't call Belgium!
Post by: RonR on August 02, 2011, 09:44:22 AM
International calls are made using a 011 prefix:

**20113227108000
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 09:49:16 AM
Actually, callwithus.com does not use the 011 prefix. All calls are dialed starting with just the country code, or 1 for US calls.
Title: Re: Can't call Belgium!
Post by: RonR on August 02, 2011, 09:57:10 AM
Then you'll need to change the CallWithUs DigitMap.  3227108000 looks like a 10-digit US/Canada number (322-710-8000) to the OBi, so it adds a leading 1 and sends it out.

Change your CallWithUs DigitMap to:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|<011:>xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.

7/10/11 digit numbers will go out with a leading 1.
011+ numbers will go out with the 011 stripped off.
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 10:30:06 AM
Hi RonR, I put your digit map in ITSP Profile B, General, DigitMap, and callwithus is configured to use service profile B, and under Voice Services, SP2 Service everything is set to profile B, but I'm still having the same problem calling that pesky Belgian number! Still seeing a 1 prepended to it, both in the OBi log and CallWithUs log. I'm baffled as to why this does not happen to any other international number I call in France, Switzerland, UK, Cameroon, and others.
Title: Re: Can't call Belgium!
Post by: RonR on August 02, 2011, 10:39:53 AM
Are you dialing? : **20113227108000

I'd bet the France, Switzerland, UK, Cameroon, and other international calls that have gone through don't look like valid 10-digit US/Canada numbers ([2-9]xxxxxxxxx).  The default OBi DigitMaps contain an xx. rule that lets anything though, even if it doesn't match one of the validation rules.
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 10:57:59 AM
I wasn't dialing the 011, but then I dialed it exactly as you just stated, and believe it or not, it still prepends that 1! The 011 is stripped off and 13227108000 is sent to callwithus, which rejects it.
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 11:06:41 AM
If it makes the dial plan easier, I use SP2 only for international calls, as GV is fine for the US & Canada.
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 11:11:58 AM
Oh, RonR, you're right about the other international numbers which all work: They all have at least 11 digits, whereas the Belgian number has only 10.
Title: Re: Can't call Belgium!
Post by: RonR on August 02, 2011, 11:17:11 AM
Ooops!  I overlooked a subtle gotcha in the way the OBi processes a DigitMap twice, once from the PHONE Port DigitMap and again from the the PHONE Port OutboundCallRoute.

Try this instead:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|<011:+>xx.|<+:>xx.|(Mipd)|[^*]@@.'@'@@.)

Hopefully, this will work properly with : **20113227108000

(I haven't tested this, so please forgive me if I've screwed it up again.)
Title: Re: Can't call Belgium!
Post by: ricky on August 02, 2011, 11:38:10 AM
You did it RonR! It works! Thanks! So now I have to dial 011 for all international calls on SP2? I hope to eventually understand the alphabet soup that is these digit maps! I have a computer background, but no telephony experience prior to the OBi.
Title: Re: Can't call Belgium!
Post by: RonR on August 02, 2011, 11:49:37 AM
The normal dialing convention in the US is 7/10/11 digits for US/Canada destinations and 011 + country code + number for international destinations.  That's the convention normally used in the OBi.

If you'd also like the same dialing on Google Voice, use the following on SP1/ITSPA:

(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<1aaa>xxxxxxx|<011xx.|(Mipd)|[^*]@@.'@'@@.)

where aaa is your local area code.

The 011 is not stripped for Google Voice.