News:

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

Main Menu

User defined DigitMap

Started by meokey, June 07, 2012, 11:59:33 AM

Previous topic - Next topic

meokey

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)

meokey

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?

maddawg

Also, interested in seeing an answer to this question. Can anyone answer his question.

pc44

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.  So (based on my understanding), using [123] would match a single digit only -- either 1, 2, or 3.

What do you think?
pc44

ProfTech

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.

meokey

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?

meokey

#6
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?

pc44

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