08-24-2004 12:07 AM
Dear All,
if you have the following ext. no#s
232371
232385
232386
232387
232390
How could you configure them in the
destination-pattern command..?!!
The target of my question is to know how to use the
regular expression ^[][^0-9,ABCD#*.?+%()-]*T?(\$)
with the destination-pattern command to achieve my target..
Regards,
Tamer
08-24-2004 05:10 AM
With the limited amount of info, I'll assume that you want to go TO these DNs instead of FROM them? The destination-pattern should look like 2323.. (two dots). This assumes that the pattern is unique enough for the rest of your dial plan, the target is correct, etc., but that pattern should fill your needs.
08-24-2004 05:27 AM
yes i would like to go to the following no#
232371
232385
232386
232387
232390
but if i do it as you said this will not serve what i need because it might match 232311 which is not valid..
did you got my point?!!
regards,
Tamer
08-24-2004 05:44 AM
Usually you will want a dial plan design that will make it easier on yourself, but to solve the immediate issue you can always put in a dial peer for each extension. This of course results in a big config file but it does work.
Ultimately I think you will want a dial plan where you can do summarization a little more easily (larger ranges), but from what I can see perhaps you want to try 2323[789]. as a single pattern (note the trailing dot).
Good luck!
08-24-2004 06:45 AM
232370
232391
232392
232393
232394
232395
232396
232397
232398
232399
are out of the range.. there must be something much more specific..!!
Adding dial peers for each range is not the solution..
regards,
Tamer
08-24-2004 06:01 AM
Hi,
You can have 3 dial-peers
1. destination-pattern 23238[5-7]
2. destination-pattern 232371
3. destination-pattern 232390
Hope this should satisfy your requirement, but not sure this is the correct way :-)
Thanks
Arun
08-24-2004 12:17 PM
I believe that re-thinking the dial plan would be in order here, to summarize things. For instance, all extensions on one end of this conection would have 232xxx and all extension on the other side have 233xxx. Not sure of your dial plan, but if it's cut up this much then the only way to get that specific is to use a separate destination-pattern for each grouping.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide