Re: [Asterisk-Users] Handling invalid extensions

2004-08-20 Thread Craig Guy
;[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, August 21, 2004 12:57 AM Subject: RE: [Asterisk-Users] Handling invalid extensions Hrm: > [extensions] > exten => 950X,Macro(siphandset,${EXTEN}) > exten => 951X,Macro(siphandset,${EXTEN}) > exten => 9521

RE: [Asterisk-Users] Handling invalid extensions

2004-08-20 Thread William Glynn
Hrm: > [extensions] > exten => 950X,Macro(siphandset,${EXTEN}) > exten => 951X,Macro(siphandset,${EXTEN}) > exten => 9521,Macro(siphandset,${EXTEN}) > exten => 9537,Macro(siphandset,${EXTEN}) > exten => 9543,Macro(siphandset,${EXTEN}) > ; ... > ; define patterns matching all assigned extensions >

RE: [Asterisk-Users] Handling invalid extensions

2004-08-20 Thread William Glynn
> Is there any other way that we should be 'supposed' to do this > functionality? I would probably do something like this: [macro-siphandset] exten => s,1,Dial(SIP/${ARG1},16,tr) exten => s,2,Voicemail(u${ARG1}) exten => s,102,Voicemail(b${ARG1}) ; do whatever you want your normal SIP handsets to

[Asterisk-Users] Handling invalid extensions

2004-08-20 Thread Craig Guy
Hi, I was wondering how other people might handle this situation. We have a 10 channel fractional E1 and have so far only allocated about 25 numbers out of a 100 number block (9500 - 9599). If an external caller dials an invalid extension then we would like for them to be put through to our main