[solved] Asterisk not recognizing ${CALLERID}

thanks navaismo,

after a version change the syntax was updated

1.8 syntax:


I set the caller id as normally:


But then after a goto,

echo “–${CALLERID}–”


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)}.