[asterisk-users] Asterisk 1.8.7 and VoiceMailMain

Administrator TOOTAI admin at tootai.net
Tue Oct 11 06:41:57 CDT 2011


Hi,

We can't read the messages in our mailbox always getting

     -- <SIP/tootaiAUDIO-00000001> Playing 
'/var/spool/asterisk/voicemail/default/100/Old/msg0002.slin' (language 'fr')
[Oct 11 13:24:50] WARNING[26778]: app_voicemail.c:7802 play_message: 
Playback of message 
/var/spool/asterisk/voicemail/default/100/Old/msg0002 failed

As you see Asterisk try to read messages in slin format! Recorded 
messages that are present:

root at bescomx:/var/spool/asterisk/voicemail/default/100/INBOX# ls -al
total 944
drwxrwx--- 2 asterisk asterisk   4096 2011-10-11 13:24 .
drwxrwx--- 6 asterisk asterisk   4096 2011-10-10 08:02 ..
-rw-rw---- 1 asterisk asterisk      0 2011-10-08 07:20 msg0000.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-08 07:20 msg0000.txt
-rw-rw---- 1 asterisk asterisk     44 2011-10-08 07:20 msg0000.wav
-rw-rw---- 1 asterisk asterisk     60 2011-10-08 07:20 msg0000.WAV
-rw-rw---- 1 asterisk asterisk   7392 2011-10-10 19:12 msg0001.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-10 19:12 msg0001.txt
-rw-rw---- 1 asterisk asterisk  71724 2011-10-10 19:12 msg0001.wav
-rw-rw---- 1 asterisk asterisk   7340 2011-10-10 19:12 msg0001.WAV
-rw-rw---- 1 asterisk asterisk  14388 2011-10-11 05:32 msg0002.gsm
-rw-rw-rw- 1 asterisk asterisk    280 2011-10-11 05:32 msg0002.txt
-rw-rw---- 1 asterisk asterisk 139564 2011-10-11 05:32 msg0002.wav
-rw-rw---- 1 asterisk asterisk  14230 2011-10-11 05:32 msg0002.WAV
-rw-rw---- 1 asterisk asterisk  20691 2011-10-11 06:24 msg0003.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 06:24 msg0003.txt
-rw-rw---- 1 asterisk asterisk 200684 2011-10-11 06:24 msg0003.wav
-rw-rw---- 1 asterisk asterisk  20405 2011-10-11 06:24 msg0003.WAV
-rw-rw---- 1 asterisk asterisk   2838 2011-10-11 06:30 msg0004.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 06:30 msg0004.txt
-rw-rw---- 1 asterisk asterisk  27564 2011-10-11 06:30 msg0004.wav
-rw-rw---- 1 asterisk asterisk   2855 2011-10-11 06:30 msg0004.WAV
-rw-rw---- 1 asterisk asterisk  14586 2011-10-11 07:08 msg0005.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 07:08 msg0005.txt
-rw-rw---- 1 asterisk asterisk 141484 2011-10-11 07:08 msg0005.wav
-rw-rw---- 1 asterisk asterisk  14425 2011-10-11 07:08 msg0005.WAV
-rw-rw---- 1 asterisk asterisk   1254 2011-10-11 08:00 msg0006.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 08:00 msg0006.txt
-rw-rw---- 1 asterisk asterisk  12204 2011-10-11 08:00 msg0006.wav
-rw-rw---- 1 asterisk asterisk   1295 2011-10-11 08:00 msg0006.WAV
-rw-rw---- 1 asterisk asterisk   7788 2011-10-11 08:00 msg0007.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 08:00 msg0007.txt
-rw-rw---- 1 asterisk asterisk  75564 2011-10-11 08:00 msg0007.wav
-rw-rw---- 1 asterisk asterisk   7730 2011-10-11 08:00 msg0007.WAV
-rw-rw---- 1 asterisk asterisk   5742 2011-10-11 08:06 msg0008.gsm
-rw-rw-rw- 1 asterisk asterisk    282 2011-10-11 08:06 msg0008.txt
-rw-rw---- 1 asterisk asterisk  55724 2011-10-11 08:06 msg0008.wav
-rw-rw---- 1 asterisk asterisk   5715 2011-10-11 08:06 msg0008.WAV

Codec negotiation:

Capabilities: us - 0x80030c7fffff 
(g723|gsm|ulaw|alaw|g726|adpcm|slin|lpc10|g729|speex|speex16|ilbc|g726aal2|g722|slin16|jpeg|png|h261|h263|h263p|h264|mpeg4|red|t140|siren7|siren14|testlaw|g719), 
peer - audio=0xc (ulaw|alaw)/video=0x380000 (h263|h263p|h264)/text=0x0 
(nothing), combined - 0x38000c (ulaw|alaw|h263|h263p|h264)

In asterisk.conf we even activate

transcode_via_sln = yes ;Build transcode paths via SLINEAR,instead of 
directly.

Why is Asterisk trying to read messages in slin format?

Thanks for any hint.

-- 
Daniel



More information about the asterisk-users mailing list