[Asterisk-Users] Re: Compressing a dialplan

Maron Kristófersson maron at transistor.tv
Wed Aug 25 05:24:41 MST 2004


Hi Tobias!

Have you looked at http://voip-info.org/wiki-Asterisk+Dialplan+Patterns,

The extensions _123X0 would handle all the extensions below except for 
the six digit extension.

Regards,
Maron Kristofersson, Staffanstorp SE

Tobias Jönsson wrote:
> Does anyone have a program that could be used to compress the dialplan? 
> I have lots of numbers in a list, for example if the file contains
> 
> 12300
> 12310
> 123113
> 12320
> 12330
> 12340
> 12350
> 12360
> 12370
> 12380
> 12390
> 
> they all could have been written as two entries (123X0 and 123113) instead.
> 
> Can anyone give me a hint please?
> 
> Regards,
> Tobias Jönsson, Lund SE
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list