- Joined
- Jul 12, 2007
- Messages
- 37
- Likes
- 0
- Points
- 0
In my extensions_custom.conf I use a macro to record calls:
[macro-monitor]
exten => s,1,Monitor(wav,/var/spool/asterisk/monitor/${TIMESTAMP:0:8}/${TIMESTAMP:9:2}.${TIMESTAMP:11:2}_to_${ARG1},m)
[from-internal-custom]
exten => 1111,1,Macro(monitor,0023487719xxx)
...
...
This should give an output like:
/var/spool/asterisk/monitor/20070807/11.58_to_0023487719xxx.wav
However, I get no recording at all.
hmy:
In addition to the above question, I should like to change the standard monitor output, which gives a random (?) output name.
[macro-monitor]
exten => s,1,Monitor(wav,/var/spool/asterisk/monitor/${TIMESTAMP:0:8}/${TIMESTAMP:9:2}.${TIMESTAMP:11:2}_to_${ARG1},m)
[from-internal-custom]
exten => 1111,1,Macro(monitor,0023487719xxx)
...
...
This should give an output like:
/var/spool/asterisk/monitor/20070807/11.58_to_0023487719xxx.wav
However, I get no recording at all.
In addition to the above question, I should like to change the standard monitor output, which gives a random (?) output name.