[asterisk-users] Having trouble with "IF" and blanks

Ivan Stepaniuk ivan at albafotonica.com
Thu Oct 8 09:44:56 CDT 2009


Richard Kenner wrote:
> How do I properly quote things when I want to use the IF function on
> something returning a string with blanks (e.g, CALLERID(name))?

Use double quotes around your variable

See:
http://www.voip-info.org/wiki/view/Asterisk+Expressions

-- 
Iván Stepaniuk
Alba Fotónica S.L.
www.albafotonica.com



More information about the asterisk-users mailing list