exten => _3XXX,1,Dial(SIP/${EXTEN})  ; matches extensions and dials them
exten => _.,1,Dial(ZAP/g1/${EXTEN})   ; should match anything else

Matthew

----- Original Message ----- 
From: "Jon Lawrence" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 2004 4:30 PM
Subject: [Asterisk-Users] fallthrough extension.


> Hi all,
> I'm trying to sort out my dial plan.
> What I'm wanting is something like the following - a bit simplified but
> hopefully you'll get the idea.
> 1) match internal extensions: dial them
> 2) anything else: send out zap
>
> 1 is easy :) it's 2 that's giving me problems.
> I had hoped that the 'i' extension would act as a catchall extension but
it
> seems to only do that from a menu. I've tried matching _. (hoping that *
> would parse the dial plan from top to bottom) but that just took over the
> entire dial plan and everything went out of the dial with the _. match.
>
> I'm sure that there must be a way of doing this, can anyone point me in
the
> right direction.
>
> TIA
> Jon
> _______________________________________________
> Asterisk-Users mailing list
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users

_______________________________________________
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to