[solved] Asterisk not recognizing ${CALLERID}

thanks navaismo,

after a version change the syntax was updated

1.8 syntax:

${CALLERID(num)}


I set the caller id as normally:

Set(CALLERID(num)=100)
Set(CALLERID(ANI)=100)

But then after a goto,

echo “–${CALLERID}–”

“----”

1.8.9.3

echo "--${CALLERID}--"That isn’t a valid sintax of asterisk dialplan but a PHP like. If you are referring to NoOp then your variable still wrong you need to use the complete var/func whatever like ${CALLERID(num)}.