[asterisk-users] How to handle "+" prefix

Brian West brian.west at mac.com
Thu Aug 30 10:17:18 CDT 2007


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




More information about the asterisk-users mailing list