Hello
How could I send a file recorded with something like MixMonitor or any sound file to voicemail directly?
mtia
Jeremy
Hello
How could I send a file recorded with something like MixMonitor or any sound file to voicemail directly?
mtia
Jeremy
Amit from the asterisk users list sent this to me a while back. Never had time to test it:
Hi Dovid
This is config for Monitor call file set to Voicemail
in features.conf
[applicationmap]
automon =>*2,callee,Macro,automon
in extension.conf
[globals]
DYNAMIC_FEATURES=>automon
Also in incoming context or in your stndard macro yo need to set this line
exten => s,1,Set(DYNAMIC_FEATURES=automon)
then this below macro you can mention anywhere in dail plan
[macro-automon]
exten => s,1,Set(MONITOR_FILENAME=${STRFTIME(${EPOCH},%Y%m%d-%H%M%S)}-${CALLERID(num)})
exten => s,2,MixMonitor(${MONITOR_FILENAME}.wav,b,mv /var/spool/asterisk/monitor/^{MONITOR_FILENAME}.wav /var/spool/asterisk/voicemail/7010/INBOX)
Now here whenever call reach at your extension 7010 & if you want to MOnitor it simply dial *2 its start monitoring, once anybody hang up that call its stop monitoring & gors to resp. voice mail box as here 7010 & you can here reacirded call -complete conversation