On Aug 30, 2007, at 10:11 AM, Jared Smith wrote:

> On Thu, 2007-08-30 at 15:42 +0100, Adrian Marsh wrote:
>> Is there a way of using variables within the dialplan, eg:
>>
>> [globals]
>> SOMEVAR=0179344
>>
>> [local]
>> exten => _${SOMEVAR}.,1,NoOp(Dialled own number)
>
> No, unfortunately you can't use variables as part of the extension  
> name
> or pattern match.
>


Since when?  I knew you couldn't use them for pattern matches but in  
1.2 you could at one point I tested this personally.

/b


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to