extensions_voicemail_enabled.conf.TEMPLATE 933 B

123456789101112131415161718192021222324252627
  1. [context-voicemail-record-greeting]
  2. exten => *789,1,Wait(1)
  3. exten => *789,n,Playback(/etc/pbx-voicemail/recordings/greeting)
  4. exten => *789,n,Wait(1)
  5. exten => *789,n,Playback(beep)
  6. exten => *789,n,Playback(beep)
  7. exten => *789,n,WaitExten(30)
  8. exten => t,1,Playback(vm-goodbye)
  9. exten => t,n,Wait(2)
  10. exten => t,n,Hangup()
  11. exten => *,1,Playback(beep)
  12. exten => *,n,Playback(beep)
  13. exten => *,n,Record(/tmp/voicemail/greeting:gsm,20,120,k)
  14. exten => *,n,Wait(1)
  15. exten => *,n,Playback(/tmp/voicemail/greeting)
  16. exten => h,1,System(/etc/pbx-voicemail/pbx-move-greeting &)
  17. [context-voicemail]
  18. exten => s,1,Wait(2)
  19. exten => s,2,Playback(/etc/pbx-voicemail/recordings/greeting)
  20. exten => s,3,Wait(2)
  21. exten => s,n,Record(/tmp/voicemail/voicemail%d:WAV,20,180,k)
  22. exten => h,1,System(/etc/pbx-voicemail/pbx-send-voicemail '${RECORDED_FILE}.WAV' '${CALLERID(all)}' &)