Chris Modesitt
2004-Nov-23 17:14 UTC
[Asterisk-Users] Is there a way to check if an extensions exists in a context before you send the call there.
Is there a way to check if an extension exists? This is the problem I ran into, I have exceeded the number of extensions you can attempt to match in one pass (1500+ Extensions). I am hoping that someone has discovered a clever way of checking if an extension exists in a particular context. Any help would be greatly appreciated. Chris. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041123/35a028de/attachment.htm
Jason Williams
2004-Nov-26 03:01 UTC
[Asterisk-Users] Is there a way to check if an extensions exists in a context before you send the call there.
On Tue, 23 Nov 2004 17:14:30 -0700, Chris Modesitt <chris@octelecom.net> wrote:> > > > Is there a way to check if an extension exists? > > > > This is the problem I ran into, I have exceeded the number of extensions you > can attempt to match in one pass (1500+ Extensions).The solution is not to fix the extensions.conf parsing but to organise your extensions.conf with wild cards and pattern matching and so reduce the number of extensions. Or app_realtime may solve this in the future Jason