Hello,
How to write custom app for call recording
If I wrote something like this in extensions.conf in trunk section and reload extensions manually [asterisk -rx "extensions reload"] it works
After any Commit I have add it manually to extensions,conf
exten => _0X.,1,SetVar(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})
exten => _0X.,2,MixMonitor(${CALLFILENAME}.wav)
exten => _0X.,3,agi(selintra,OutRoute,Out_Suento8)
but if I prepare custom app and attach to specify trunk
exten => _0X.,1,SetVar(CALLFILENAME=${CALLERIDNAME}___${TIMESTAMP:0:4}-${TIMESTAMP:4:2}-${TIMESTAMP:9:4}___${EXTEN})
exten => _0X.,2,MixMonitor(${CALLFILENAME}.wav)
it doesn’t work.
There is another idea
how to add something permanently to extensions.conf or extension.conf template.
Bialy