Stephen Bosch
2007-Feb-27 18:34 UTC
[asterisk-users] Voice mail is not giving unavailable or busy prompts
Hi: This should be easy. I'm running 1.2.15. When a caller calls someone's voice mail, it goes straight to a beep, even though there is an unavail.wav file in that user's voice mail directory. Here is the relevant part of extensions.conf: [internal] exten => 2211,1,Dial(SIP/211,10) exten => 2211,2,VoiceMail(u211@default) exten => 2211,3,Hangup Here is the relevant part of voicemail.conf: [default] 211 => 5555,Mr Test,test@internal.com Here's what I see in the console:> -- Executing Dial("SIP/210-081990b0", "SIP/211|10") in new stack > -- Called 211 > -- SIP/211-0819e5f0 is ringing > -- Nobody picked up in 10000 ms > -- Executing VoiceMail("SIP/210-081990b0", "u211@default") in new stack > -- Playing '/var/spool/asterisk/voicemail/default/211/unavail' (language 'en') > -- Playing 'vm-intro' (language 'en') > -- Playing 'beep' (language 'en') > -- Recording the message > -- x=0, open writing: /var/spool/asterisk/voicemail/default/211/tmp/EWtUPC format: wav, 0x81a3c98 > -- User ended message by pressing # > -- Playing 'auth-thankyou' (language 'en') > -- Executing Hangup("SIP/210-081990b0", "") in new stack > == Spawn extension (internal, 2211, 3) exited non-zero on 'SIP/210-081990b0'This is what is actually in /var/spool/asterisk/voicemail/default/211:> asterisk1 211 # ls -liah > total 108K > 4918844 drwx------ 7 root root 4.0K Feb 27 17:59 . > 4898961 drwxr-xr-x 5 root root 4.0K Feb 27 17:05 .. > 4918846 drwx------ 2 root root 4.0K Feb 27 18:32 INBOX > 4918850 drwx------ 2 root root 4.0K Feb 27 17:12 Old > 4918849 -rwx------ 1 root root 56K Feb 27 17:10 busy.wav > 4918845 drwx------ 2 root root 4.0K Feb 27 17:05 temp > 4918847 drwx------ 2 root root 4.0K Feb 27 18:32 tmp > 4931585 drwxr-xr-x 2 root root 4.0K Feb 27 17:59 unavail > 4918848 -rwx------ 1 root root 20K Feb 27 17:13 unavail.wavAsterisk creates that "unavail" directory after the first time someone tries to call in. Ideas? -Stephen-
C F
2007-Feb-28 07:05 UTC
[asterisk-users] Voice mail is not giving unavailable or busy prompts
If the temp message exists then that will play. The user has to log into the mailbox (app_voicemailmain) and select 0 for mailbox options, and delete the temp message. Or you could do it using the shell. On 2/27/07, Stephen Bosch <posting@vodacomm.ca> wrote:> Hi: > > This should be easy. I'm running 1.2.15. > > When a caller calls someone's voice mail, it goes straight to a beep, > even though there is an unavail.wav file in that user's voice mail > directory. > > Here is the relevant part of extensions.conf: > > [internal] > exten => 2211,1,Dial(SIP/211,10) > exten => 2211,2,VoiceMail(u211@default) > exten => 2211,3,Hangup > > Here is the relevant part of voicemail.conf: > > [default] > 211 => 5555,Mr Test,test@internal.com > > Here's what I see in the console: > > > -- Executing Dial("SIP/210-081990b0", "SIP/211|10") in new stack > > -- Called 211 > > -- SIP/211-0819e5f0 is ringing > > -- Nobody picked up in 10000 ms > > -- Executing VoiceMail("SIP/210-081990b0", "u211@default") in new stack > > -- Playing '/var/spool/asterisk/voicemail/default/211/unavail' (language 'en') > > -- Playing 'vm-intro' (language 'en') > > -- Playing 'beep' (language 'en') > > -- Recording the message > > -- x=0, open writing: /var/spool/asterisk/voicemail/default/211/tmp/EWtUPC format: wav, 0x81a3c98 > > -- User ended message by pressing # > > -- Playing 'auth-thankyou' (language 'en') > > -- Executing Hangup("SIP/210-081990b0", "") in new stack > > == Spawn extension (internal, 2211, 3) exited non-zero on 'SIP/210-081990b0' > > This is what is actually in /var/spool/asterisk/voicemail/default/211: > > > asterisk1 211 # ls -liah > > total 108K > > 4918844 drwx------ 7 root root 4.0K Feb 27 17:59 . > > 4898961 drwxr-xr-x 5 root root 4.0K Feb 27 17:05 .. > > 4918846 drwx------ 2 root root 4.0K Feb 27 18:32 INBOX > > 4918850 drwx------ 2 root root 4.0K Feb 27 17:12 Old > > 4918849 -rwx------ 1 root root 56K Feb 27 17:10 busy.wav > > 4918845 drwx------ 2 root root 4.0K Feb 27 17:05 temp > > 4918847 drwx------ 2 root root 4.0K Feb 27 18:32 tmp > > 4931585 drwxr-xr-x 2 root root 4.0K Feb 27 17:59 unavail > > 4918848 -rwx------ 1 root root 20K Feb 27 17:13 unavail.wav > > Asterisk creates that "unavail" directory after the first time someone > tries to call in. > > Ideas? > > -Stephen- > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
Stephen Bosch
2007-Mar-01 14:31 UTC
[asterisk-users] Voice mail is not giving unavailable or busy prompts
C F wrote:> If the temp message exists then that will play. The user has to log > into the mailbox (app_voicemailmain) and select 0 for mailbox options, > and delete the temp message. Or you could do it using the shell.I finally resolved this problem by putting "format=wav" in the general section of the voicemail.conf file. -Stephen-