Hi, I am trying to shrink my config files as much as possible by converting to macros.
When using “priorities” instead of pattern matching filenames are not created correctly
exten => _1XXX,1,MixMonitor(${STRFTIME(,%d-%m-%Y-%H%M-${CALLERID(num)}-${EXTEN})}.wav,b)
this works and Creates a file: dd-mm-yyyy-HHMM-<calling_phonenumber>-<dialed_phonenumber>.wav
when changing this to :
exten => s,1,MixMonitor(${STRFTIME(,%d-%m-%Y-%H%M-${CALLERID(num)}-${EXTEN})}.wav,b)
Creates a file: dd-mm-yyyy-HHMM-<calling_phonenumber>-s.wav
Where “s” is actually “s” not the value assigned to “s”. ${EXTEN} as a vairable now = “s” and not the dialled number ( internal or extenal ). Is there a way to fix this? I cant seem to work it out.
Thanks