[asterisk-users] error retrieving a video voicemail in asterisk 11

Steve Dolloff sdolloff at noc.dls.net
Mon Apr 13 11:46:12 CDT 2015

Using asterisk 11.16.0 I am unable to retrieve any voicemail with a video attachment while using any video phone.  This does work in my installation.  The file is skipped with the ast_streamfile error (and moved to OLD), and the prompts following that message display the ast_best_codec error.

[Apr  7 16:05:50] WARNING[17497][C-00006fdd]: file.c:1017 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/2036/INBOX/msg0000 (format (ulaw|h264)): No such file or directory [Apr  7 16:05:50] WARNING[17497][C-00006fdd]: app_voicemail.c:8609 play_message: Playback of message /var/spool/asterisk/voicemail/default/2036/INBOX/msg0000 failed
[Apr  7 16:05:50]     -- <SIP/2036-000000ee> Playing 'vm-advopts.gsm' (language 'en')
[Apr  7 16:05:50] WARNING[17497][C-00006fdd]: channel.c:940 ast_best_codec: Don't know any of (h264) formats

The file does exist in h264 format

-rw-r--r-- 1 root root 298102 Apr  7 16:05 msg0000.h264
-rw-r--r-- 1 root root    301 Apr  7 16:05 msg0000.txt
-rw-r--r-- 1 root root 124524 Apr  7 16:05 msg0000.wav

Passthrough h264 video does work.  I do have h264 and ulaw codecs on the peer and videosupport=yes in sip.conf.  I also tried enabling h264 in the general section of sip.conf and gsm in voicemail.conf with the same results.

If I disable the h264 codec for the peer, I can listen to the audio portion of the message:

[Apr  7 16:41:05]     -- <SIP/2036-000000f3> Playing '/var/spool/asterisk/voicemail/default/2036/Old/msg0000.slin' (language 'en')

Any guesses what I might be doing wrong?  Did something related change in asterisk 11?

-- Stephen

More information about the asterisk-users mailing list