PSTN and VOIP Account
RonR:
The first one will divert [2-9]11 calls to the LINE Port.
JHamCell:
Quote from: Sunfiregt on February 01, 2012, 11:44:16 am
(<**8>[2-9]11|1xxxxxxxxxx|<1>[2-9]xxxxxxxxx|<**8>[2-9]xxxxxx| <**8>(18(00|88|77|66|55)xxxxxxx|<1>8(00|88|77|66|55)xxxxxxx)|011xx.|(Mipd)|[^*#]@@.'@'@@.)
I consider myself to be a smart & technical guy, but this stuff is blowing my mind!
Please help me interpret what I am seeing.
<nnn> is a prefix to be added if the pattern that follows matches.
<**8> is the prefix that somewhere later says, send this to PSTN.
If <**n> is not specified, I assume that means nothing explicitly specified so route the call to the "default" PrimaryLine.
<**8>[2-9]11 - Matches if [2-9]11 is dialed. Prefixes the number with **8 (to force PSTN).
The pipe "|" means "or" (like || in ksh or awk).
1xxxxxxxxxx - Matches an 11 digit number starting with a 1. No ** prefix so off to PrimaryLine it goes.
<1>[2-9]xxxxxxxxx - Matches 10 digit number starting with [2-9] (Area Code) and add the "long distance" 1. No ** prefix so off to PrimaryLine it goes.
<**8>[2-9]xxxxxx - Matches 7 digit "local" number, Prefixes the number with **8 (to force PSTN).
<**8>(18(00|88|77|66|55)xxxxxxx|<1>8(00|88|77|66|55)xxxxxxx) - Covers all the "free" phone numbers and prefixes the number with **8 (to force PSTN).
011xx. - For International dialing, No prefix so off to PrimaryLine it goes.
I assume this would work to route international via SP1?: <**1>011xx.
(Mipd)|[^*#]@@.'@'@@.) - Is this condition for something more than just number pattern matching?
No clue what the Mipd bit means.
Maybe wilcard@wildcard for some kind of IP telephony address?
Living in Metro Atlanta we have 10-digit dialing for 404, 770 & 678 area codes. All other domestic LD area codes require a 1 prefix (inter & intra state).
When a pattern is matched, does it stop searching?
So if I insert the "<**8>(404|770|678)xxxxxxx" test before "<1>[2-9]xxxxxxxxx" will it route my 10 digit local numbers (404/770/678) to PSTN?
If so, I'm thinking my digit map would look something like this, note I am explicitly routing everything and not relying on the PrimaryLine to be set to anything in particular:
(<**8>[2-9]11|<**8>(404|770|678)xxxxxxx|<**1>1xxxxxxxxxx|<**11>[2-9]xxxxxxxxx|<**8>(18(00|88|77|66|55)xxxxxxx|<**81>8(00|88|77|66|55)xxxxxxx)|<**1>011xx.|(Mipd)|[^*#]@@.'@'@@.)
Am I close or am I as lost as I feel? (If I am close then writing it all down has clarified some of it in my mind).
I appreciate the time of ANYONE that wants to wade through this with me :)
Many Thanks In Advance.
JHam
RonR:
You'll find an explanation of DigitMap syntax and a description of the Digit Map Processor in the OBi Device Administration Guide.
Quote from: JHamCell on February 06, 2012, 08:13:55 pm
(Mipd)|[^*#]@@.'@'@@.) - Is this condition for something more than just number pattern matching?
ipd is a User Defined DigitMap for handling IP Dialing:
18005551212*76*10*223*207 -> 18005551212@sip.tollfreegateway.com
[^*#]@@.'@'@@. is a rule to allow SIP URI's in Speed Dials:
18005551212@sip.tollfreegateway.com
Quote from: JHamCell on February 06, 2012, 08:13:55 pm
When a pattern is matched, does it stop searching?
No. When everything has been evaluated, the best match is chosen.
Quote from: JHamCell on February 06, 2012, 08:13:55 pm
So if I insert the "<**8>(404|770|678)xxxxxxx" test before "<1>[2-9]xxxxxxxxx" will it route my 10 digit local numbers (404/770/678) to PSTN?
Yes, because it's a better match, not because of its position.
Quote from: JHamCell on February 06, 2012, 08:13:55 pm
If so, I'm thinking my digit map would look something like this, note I am explicitly routing everything and not relying on the PrimaryLine to be set to anything in particular:
(<**8>[2-9]11|<**8>(404|770|678)xxxxxxx|<**1>1xxxxxxxxxx|<**11>[2-9]xxxxxxxxx|<**8>(18(00|88|77|66|55)xxxxxxx|<**81>8(00|88|77|66|55)xxxxxxx)|<**1>011xx.|(Mipd)|[^*#]@@.'@'@@.)
You're only making it unnecessarily complex as this set of rules would normally reside at the PrimaryLine's DigitMap.
infin8loop:
Quote from: JHamCell on February 06, 2012, 08:13:55 pm
I consider myself to be a smart & technical guy, but this stuff is blowing my mind!
The OBi is like learning to ride a bike.
If the bike is designed like this...
Wilbour:
Quote from: Sunfiregt on January 25, 2012, 12:06:21 pm
Hi,
Can someone tell me how I would setup my OBI110 to allow all local / 911 / Toll free calls to route through PSTN and all long distance to route through the obi device automatically. I don't want to dial 9 or and special combination on my phone.. I want this to be seemless to the end user.
Thanks
This is exactly what I wish to do exept all local calls require 10 digit dialing. In order to keep it as simple as possible I would not want to have OBI prefill my area code on local dialing since we are so accustom to using all 10 digits. Therefore I would require the following:
911 PSTN
10 DIGIT PSTN
800 # PSTN
11 DIGIT GOOGLE VOICE
Navigation
[0] Message Index
[#] Next page
[*] Previous page