If all the dialplan follow the exact same patten, you may try use 
realtime and put the dialplan into mysql.

Just my 2 cents.

bruce bruce wrote:
> I have a list of CLIDs prefixes that I want to use in a context.
>
> Basically, I want to do this but the list of prefix numbers is much 
> longer. List of prefixes (556,557,557,989.....)
>
> [custom-inbound]
> exten => _556,1,answer
> exten => _556,n,playback(beep)
>
> exten => _557,1,answer
> exten => _557,n,playback(beep)
>
> exten => _558,1,answer
> exten => _558,n,playback(beep)
>
> exten => _989,1,answer
> exten => _989,n,playback(beep)
>
> If there are like 100s of different prefixes, this list gets really 
> big. Not desired. How can I have a more efficient dialplan?
>
> Thanks,
> Bruce

-- 
Jian Gao
IT Technician
SJ Geophysics Ltd. <http://www.sjgeophysics.com>
jian....@sjgeophysics.com <mailto:jian....@sjgeophysics.com>
Tel: (604)582-1100

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to