[asterisk-users] Regular expression problem

Gonzalo Servat gservat at gmail.com
Mon Jul 24 05:17:13 MST 2006


On 7/24/06, Benjamin Stocker <bstocker at gmail.com> wrote:
> Hi!
>
> What's wrong with this?
>
> exten => s,1,Set(myvar="nothing")
> exten => s,2,Set(myvar = $["${CALLERID(num)}" : "([a-z]+)"])
> exten => s,3,NoOp(${myvar})

Try removing the spaces on either side of the "=" symbol.

Regards,
Gonzalo



More information about the asterisk-users mailing list