[asterisk-users] Regular expression problem
Benjamin Stocker
bstocker at gmail.com
Mon Jul 24 05:15:21 MST 2006
2006/7/24, Eric ManxPower Wieling <eric at fnords.org>:
> You are using quotes when you should not be. Notice the double quoting
> of -- Executing NoOp("SIP/nnnnn-5d23", ""nothing"") in new stack
Thanks for reply. I removed the quotes, but it did not solve the
problem. After lots of trials I've found the solution:
This works: Set(myvar=$[${CALLERID(num)} : "([a-z]+)"])
This works not: Set(myvar = $[${CALLERID(num)} : "([a-z]+)"])
(Note the single blanks around the '=' )
More information about the asterisk-users
mailing list