[asterisk-users] Need help with if command

C F shmaltz at gmail.com
Thu Jan 18 23:05:02 MST 2007


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

On 1/19/07, Klaverstyn, David C <David.Klaverstyn at intergraph.com> 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
>
>
>


More information about the asterisk-users mailing list