[asterisk-users] Having trouble with IF and blanks

2009-10-08 Thread Richard Kenner
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))? ___ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix,

Re: [asterisk-users] Having trouble with IF and blanks

2009-10-08 Thread Ivan Stepaniuk
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.

Re: [asterisk-users] Having trouble with IF and blanks

2009-10-08 Thread Richard Kenner
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 Thanks. That was my second try, but I thought that it didn't work because I introduced a typo