News:

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

Main Menu

OBi100 call China 400 number

Started by hpad06, October 21, 2012, 01:24:33 PM

Previous topic - Next topic

hpad06

Need some help here.

I am curring using Obi100 for voip.ms (US /Canada ) call, also use SP2 for calling China number( using a chinese SIP provider). The reason I do this is because voip.ms sound quality is pretty bad and take very long to connect for calls to China.

When I call regular call to china, for example shanghai , I would dial **202012345678

**2 is switching to sp2, 020 is area code, 12345678 is the number to call.

However when I call free Chinese 400 number, for example **24001122800, my OBi100 would automatically add 1 , and it becomes **214001122800, which will make that Chinese SIP provider reject the call

ianobi

The problem you are encountering is due to the digit map used by the Obi to process the calls sent via sp2. The default is:

ITSP Profile B General

DigitMap (Msp2)
(1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|011xx.|xx.|(Mipd)|[^*#]@@.)

02012345678 is an eleven digit number not matching the more specific rules, so it is processed by the xx. rule, which means "any digit followed by any number of digits". This works, but adds a ten second delay after dialling.

4001122800 is a ten digit number and is being processed by the <1>[2-9]xxxxxxxxx rule which adds a 1 to any ten digit number starting with 2 to 9.

I suggest the following DigitMap would suit your needs better:
ITSP Profile B General > DigitMap
(0xxxxxxxxxx|400xx.|011xx.|xx.|(Mipd)|[^*#]@@.)

Make the change using OBiTALK Expert Pages. Uncheck both boxes to the right of the DigitMap and leave them unchecked. Delete the existing default DigitMap, replace with the new DigitMap. Press submit at the bottom of the page and wait a few minutes for the Obi to reboot.