Colin Anderson wrote:
Don't want to point out the obvious, but seems to me that the lowest common denominator here is to dial out the PRI if there's no extension match, correct? If this is the case, then you can use the 's' extension. The 's' extension is a 'match-none' extension and is invoked when there is not match for an extension. So you could add at the end of each relevant context:exten => s,1,Dial(ZAP/g0/${EXTEN}) and if there's no extension match, it'll go out your PRI. Only problem I see there is your PRI might not like it if it is a local call from the caller's perspective but a LD call from Asterisk's perspective and vice-versa. That,you have to put on your thinking cap to deal with.
*sigh* "exten => i" is "we got digits and nothing matches". "exten => s" means "we didn't get any digits". _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
