Non-US Dial plan.

<< < (3/3)

infin8loop:
Isn't a "+" generally just a place holder to be replaced with the actual International Access Code for the country you're calling from? For instance when dialing a number outside the US from the US it would be replaced with "011".  This site http://www.howtocallabroad.com/codes.html calls it an "Exit Code". 

atikansari:
When making international calls from countries other than the USA, India, KSA and Asia the following dialing sequence is normally used. 
    00 + (country code) + (city code) + (local phone number)
    +  + (country code) + (city code) + (local phone number)
I can use "00" or "+" to make International calls, and my phone has + symbol on it.

RonR:
Unless I'm mistaken, there's only 16 DTMF tones/characters : 0 - 9, *, #, and A, B, C, and D (A, B, C, and D aren't present on standard telephones).  There isn't a DTMF tone for a + character.

I'll need to know what's sent to the OBi when you press the + key.

Billy2Hats:
Thanks Ron.

If I may just check with you, my default Service Providers -> ITSP Profile A -> General -> DigitMap is as follows:

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

I replace the whole line with the one you provided ie

(xxxxxxxxxx|<07>55xxxxxx|<07>56xxxxxx|0011xx.|(Mipd)|[^*]@@.'@'@@.)

I can now follow the "any 10 digit number starting with 55, prefix with 07" part, is the other "xx. removal" and extra "@"s bits that I have no idea about.   

RonR:
Quote from: Billy2Hats on August 06, 2011, 08:01:16 pm

I can now follow the "any 10 digit number starting with 55, prefix with 07" part, is the other "xx. removal" and extra "@"s bits that I have no idea about.    


The default ITSPx and LINE Port DigitMaps contain an xx. rule that matches any string of digits.  This rule defeats all number validation and also interferes with a lot of number transformation rules.  I generally remove the xx. rule as it really doesn't serve any purpose (other than allow any number you dial to be passed through).

The [^*]@@. rule was added when SIP URI dialing support was added.  It's to allow these to be used in Speed Dials:

18005551212@204.74.220.162
18005551212@tf.callwithus.com

The [^*]@@. rule matches anything that that doesn't start with an asterisk.  This rule has all the same problems as the xx. rule.  I like to replace it with @@.'@'@@. which matches only real SIP URI's: anything@anything.  Unfortunately, this rule uncovered a bug in the Digit Map Processor and/or Star Code Processor that causes any Star Codes that use the coll(VAR) function to fail (*60/*62/*72/*74).  I haven't been able to get Obihai to fix this bug and unless/until they do, a bandaid of [^*] has to be added to circumvent the bug.

Navigation

[0] Message Index

[*] Previous page