How to use SetVar in customs apps. for example:
exten => _0X.,1,SetVar(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})
in extensions.conf it works but in custom app not why?
or other question
how set variables in custom apps.
if i use
exten => _0X.,1,Set(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})
my variable will look like this CALLERIDNAME_______EXTEN
no time stamps
what to do