OBiTALK Community

General Support => Day-to-Day Use => Topic started by: VANJ on August 10, 2012, 07:51:22 AM

Title: Dial 1 before US number
Post by: VANJ on August 10, 2012, 07:51:22 AM
Obi100
Callcentric for incoming calls
Call With Us for outgoing calls

I know that Call With Us needs the 1 before the 10-digit US number but when I tried dialing just the 10-digit number from the phone connected to the Obi100, to my surprise, it worked! I am the curious sort so I was wondering, who adds the 1 ahead of the number. Is it the Obi100 or Callcentric? How/where is this configured?

Thanks
Title: Re: Dial 1 before US number
Post by: MurrayB on August 10, 2012, 08:48:02 AM
The prefix 1 is usually only required when using a PSTN long distance service. Local services via the PSTN and internet services both local and long distance usually require only the telephone number.
Title: Re: Dial 1 before US number
Post by: VANJ on August 10, 2012, 08:59:12 AM
Understood. But the SP I am using http://www.callwithus.com/faq#dialing requires the 1 prefix. When I use a software SIP client or their access number, I can see this is the case (see Q3 in the FAQ link). So, clearly, some component is automatically adding the prefix before it gets to the service provider. I was curious to know who/what is doing this. Any ideas? Thanks
Title: Re: Dial 1 before US number
Post by: ianobi on August 10, 2012, 10:16:41 AM
VANJ,

Default digit map:
DigitMap (Msp1)
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

The rule <1>[2-9]xxxxxxxxx prepends the digit 1 to any number that begins with a digit from 2 to 9 and is followed by nine more digits of any sort. So the ten digit number gets the 1 added at the start. The first rules accepts any eleven digit number that begins with 1. Therefore, the numbers go out as eleven digits beginning with 1 in either case.

A long explanation for a couple of short rules :)

Title: Re: Dial 1 before US number
Post by: VANJ on August 10, 2012, 10:24:04 AM
Ah, that's exactly what I was looking for, powerful stuff, thanks!