Do like this
GotoIf($[${LEN(${CALLERID(name)})}=0]?50)

On 1/19/07, Klaverstyn, David C <[EMAIL PROTECTED]> wrote:




Please help,



What am I doing wrong?



If the caller id name is empty then I want to set it to Unknown.



Set(CALLERID(name)=If($["${CALLERID(name)}" = ""]?Unknown)
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:

http://lists.digium.com/mailman/listinfo/asterisk-users



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to