[asterisk-users] More efficient dial plan for a list of selective inbound numbers

bruce bruce bruceb444 at gmail.com
Thu Apr 22 16:02:47 CDT 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100422/a1f8a4d8/attachment.htm 


More information about the asterisk-users mailing list