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