Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Asterisk can't play recorded .wav files

Asterisk can't play recorded .wav files

Scheduled Pinned Locked Moved Support
2 Posts 2 Posters 226 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V
    V
    victorzulu
    wrote on last edited by
    #1

    Hi! I have the tovoicemail.pl script working and the recordings are sent to the correct voicemail account but the verbose output of Asterisk is saying it can't play the .wav format. Possibly something to do with the voicemail.conf? I'm recording normal voicemails as wav|gsm|wav49.

    Here are the error logs from Asterisk:
    [May 11 08:53:30] WARNING[23941]: format_wav.c:148 check_header: Not in mono 2
    [May 11 08:53:30] WARNING[23941]: file.c:385 fn_wrapper: Unable to open format wav
    [May 11 08:53:30] WARNING[23941]: file.c:991 ast_streamfile: Unable to open /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 (format 0x4 (ulaw)): No such file or directory
    [May 11 08:53:30] WARNING[23941]: app_voicemail.c:5814 play_message: Playback of message /var/spool/asterisk/voicemail/default/39/INBOX/msg0000 failed

    I can play the .wav file with a media player after transferring it out of the Asterisk server.

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Well, the idea is to use the voicemail explorer feature as the tovoicemail.pl script converts the wav to stereo panning the legs of the call to the left and right. You should update the tovoicemail.pl script to convert the wav file to mono if you plan to listen to them from asterisk itself. I have not tried, but perhaps commenting the first two sox calls in the script will work (lines 69 and 70).

      Best regards,

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      Powered by NodeBB Contributors
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups