Pages

Tuesday, 3 December 2013

Custom Voicemail Greetings in Asterisk

A user can access their voice mailbox by calling "*97", selecting "0" for Advanced Mailbox Options, and then selecting a number from "1" to "4" to record a specific type of greeting:
  • 1: Unavailable
  • 2: Busy
  • 3: User's Name
  • 4: Temporary Greeting

If you want to upload a pre-recorded voice as custom voicemail greeting for busy and unavailble status
make sure your vocie file should be PCM Encoded16 bits, at8000Hz mono format

copy your voice file to var/spool/asterisk/voicemail/default/100/
Note:** 100 is my extension for which the custom voicemail is to be changed

rename you voice file
cd /var/spool/asterisk/voicemail/default/100
mv myrecording.wav busy.wav    -------------------- this is for playing while busy
mv myrecording.wav unavail.wav  -------------------- this is for playing while unavailable

changing the ownership
chown -R asterisk:asterisk busy.wav
chown -R asterisk:asteirsk unavail.wav

now make testcall

No comments:

Post a Comment