[Asterisk-Users] Re: Compressing a dialplan
Tobias Jönsson
asterisk at tobiasjonsson.se
Wed Aug 25 05:43:08 MST 2004
On Wed, 25 Aug 2004, Maron Kristófersson wrote:
> 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.
>
> 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.
Yes exactly, that is why I ask for a program (or script or anything) that
could do this transcription. My extensions.conf is about 60000 lines so I
cannot do it manually.
Regards,
Tobias Jönsson, Lund SE
More information about the asterisk-users
mailing list