Installing Asterisk v18.0.1 on Centos 7.9.2009 (Kernel 3.10.0-1127.el7.x86_64) and try to implement these simple dialplan
[default]
exten => *100,1,NoOP(Hello there)
same => n,ExecIf($["${CALL_ORIGIN}"="APP"]?nemo)
same => n,Playback(vm-welcome)
same => n,Hangup()
ExecIf("PJSIP/100-00000001", "nan?nemo")
The conditional " ["{CALL_ORIGIN}"=“APP”] " returns “nan” instead of zero. Is this a known issue on the latest version of Asterisk?