OBiTALK Community

General Support => Installation and Set-Up (Devices) => Topic started by: meokey on June 07, 2012, 11:59:33 AM

Title: User defined DigitMap
Post by: meokey on June 07, 2012, 11:59:33 AM
Could anyone help and tell me whether these Digit Maps will work or not?

FPLareacode
(905|416|647|289|365|519|226|343|613|438|514|450|579|902|506|709|403|780|587|778|236|250|604|204|306|639|418|581[2-9])
FPLnumber
(1[(MFPLareacode)]xxxxxx)
USnumber
(1[^(MFPLareacode)]xxxxxx)
Title: Re: User defined DigitMap
Post by: meokey on June 07, 2012, 12:22:06 PM
and does the following equal to each other?

18[00|88|77|66|55]xxxxxxx     vs     1800xxxxxxx|1888xxxxxxx|1877xxxxxxx|1866xxxxxxx|1855xxxxxxx

if yes, why a lot of ppl, including RonR who I believe is guru enough, use the long format? if not, why?
Title: Re: User defined DigitMap
Post by: maddawg on June 11, 2012, 08:27:25 AM
Also, interested in seeing an answer to this question. Can anyone answer his question.
Title: Re: User defined DigitMap
Post by: pc44 on June 11, 2012, 09:37:32 AM
Quote from: meokey on June 07, 2012, 12:22:06 PMand does the following equal to each other?

18[00|88|77|66|55]xxxxxxx     vs     1800xxxxxxx|1888xxxxxxx|1877xxxxxxx|1866xxxxxxx|1855xxxxxxx

I could be mistaken, but I do not believe they are equal.  A pair of brackets "matches any digit in the set" according to the OBI Admin Guide (http://www.obihai.com/OBiAdminGuide.htm#_Toc321996461).  So (based on my understanding), using [123] would match a single digit only -- either 1, 2, or 3.

What do you think?
pc44
Title: Re: User defined DigitMap
Post by: ProfTech on June 11, 2012, 03:25:59 PM
The correct nomenclature is (18(00|55|66|77|88)xxxxxxx). Use Parenthesis instead of square brackets. I took it right from one of Ron's posts some time ago. Works like a charm. As far as your area code question, just be aware that the maps have a maximum length of 512 characters.
Title: Re: User defined DigitMap
Post by: meokey on June 11, 2012, 04:15:38 PM
Thank you, pc44, for your reply. I have tested and confirmed that the short form, 18[00|88|77|66|55]xxxxxxx, does not working. I put 18[00|88|77|66|55]xxxxxxx(Msp2)|<**1>1[2-9]xxxxxxxxx(Msp1) and the call goes to SP1.


So here is my question: according to the same OBI Admin Guide you referred, the caller-list can be formed like this:
caller-list := caller|caller|caller|...   which I thought may suggest we can have multiple digits, like a caller number, as an option in a pair of brackets, but practically it's not working. WHY?
Title: Re: User defined DigitMap
Post by: meokey on June 11, 2012, 04:22:49 PM
Quote from: ProfTech on June 11, 2012, 03:25:59 PM
The correct nomenclature is (18(00|55|66|77|88)xxxxxxx). Use Parenthesis instead of square brackets. I took it right from one of Ron's posts some time ago. Works like a charm. As far as your area code question, just be aware that the maps have a maximum length of 512 characters.


Wow~~~~~~~ it really works like a charm. Thanks a lot, ProfTech!


About the 512 characters limitation, does "(1[(MFPLareacode)]xxxxxx)" count 26 chars or 130?
Title: Re: User defined DigitMap
Post by: pc44 on June 11, 2012, 05:07:50 PM
Quote from: ProfTech on June 11, 2012, 03:25:59 PMAs far as your area code question, just be aware that the maps have a maximum length of 512 characters.

Hi meokey,

Glad I could help a little; however, ProfTech provided the solution you needed!

Good info, ProfTech!  I'll have to keep this in mind. :)
pc44