Extensions Mask As Variable?

Hi, How to define a extension mask as global variable in Ast 1.8? For example:
[globals]
MYVARIABLE = _15[7-9]X

I tried this way but it did not work.

Thanks Att, Rafael Saraiva

One Response to “Extensions Mask As Variable?”

  1. Danny Nicholas said:

    Aug 20, 12 at 3:46 pm

    I don’t fool with 1.8 but I don’t think this is supposed to work. The extension mask and variable processing are two different routines. I assume you are trying to do “real-time” filtering where you would set a variable to control a group of extensions?

    From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Rafael dos Santos Saraiva Sent: Monday, August 20, 2012 3:38 PM
    To: Asterisk Users Mailing List – Non-Commercial Discussion Subject: [asterisk-users] Extensions mask as variable?

    Hi,

    How to define a extension mask as global variable in Ast 1.8? For example:

    [globals]

    MYVARIABLE = _15[7-9]X

    I tried this way but it did not work.

    Thanks

    Att,

    Rafael Saraiva