;[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
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
>
> 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