[Asterisk-Users] Re: [Asterisk] Major new * Dialplan Features

Martin Pycko martinp at digium.com
Tue Feb 18 12:55:24 MST 2003


Well I tested it and it does.

regards
Martin

On Tue, 18 Feb 2003 jharragi at mw.k12.ny.us wrote:

>
> Hey Mark,
>
> I think these additions will be of great value to those with large dial
> plans.
>
> A couple of questions. Are nested Macro's valid (I know this is the height
> of laziness)?
>
> for example...
>
>  [macro-stdexten]
>  exten => s,1,Dial(${ARG2},20)
>  exten => s,2,Voicemail(u${ARG1})
>  exten => s,102,Voicemail(b${ARG2})
>
>  [macro-lesstyping]
>  exten => ${ARG1},Macro(stdexten,${ARG1},${ARG2})
>
> [default]
> Macro(lesstyping,6275,Zap/1)
> Macro(lesstyping,6236,Zap/2)
>
> .. or worse yet - it could be really succinct if [] could expand to an
> entry for each value - so [] would might look something like () in regular
> expressions...
>
> [default]
> Macro(lesstyping,62[01-24],Zap/$1)                    ;would handle a
> whole channel bank
>
> John
>
>
>
> -----------------------------------------------------
> This message was sent using Monroe-Woodbury's WebMail.
> http://webmail.mw.k12.ny.us/
>
>
> This e-mail was scanned and found clean by Monroe-Woodbury CSD Antivirus.
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list