Why won't my .wav file play?

Answers to common Plum DEV questions

Moderators: admin, support

  • Author
  • Message
Offline

support

  • Posts: 3628
  • Joined: Mon Jun 02, 2003 3:47 pm
  • Location: Boston, MA

Why won't my .wav file play?

PostFri Jun 06, 2003 11:38 am

There are two primary reasons why a .wav file won't play properly.

1) The .wav file is encoded in an unsupported format. The event log file will report something similar to the entries below:
Code: Select all
Mon 09 Jun 2003 02:17:54 PM EDT (000000;002;1055182515) [prompt] ERROR: File: http://test.plumgroup.com/gsm.wav Unknown encoding: 49
Mon 09 Jun 2003 02:17:54 PM EDT (000000;002;1055182515) [prompt] ERROR: Unrecognized format in pvxPromptConvertCopySource
Mon 09 Jun 2003 02:17:54 PM EDT (000000;002;1055182515) [prompt] ERROR: Failure during pvxPromptConvertCopySource

As specified in the Programmer's Reference Manual, only .wav files encoded in linear 16-bit, u-law, or a-law formats are permitted. Encoding type 49 (which is G.729 GSM encoding) is not supported by the Plum Voice Platform.

2) The .wav file is missing from the web server. The event log file will report something similar to the entries below:
Code: Select all
Mon 09 Jun 2003 02:22:02 PM EDT (000000;000;1055182877) [inet] EVENT: Attempting to fetch http://test.plumgroup.com/foobar.wav
Mon 09 Jun 2003 02:22:02 PM EDT (000000;000;1055182877) [prompt] ERROR: Unsupported file type of text/html; charset=iso-8859-1 in PVXpromptSourceURL constructor

Most web servers will respond with an HTML error page when a file is requested that does not exist. The platform sees this HTML and immediately flags it as a bad format error. You can check for the presence (or absence!) of your specified wave file by simply copying the URL shown in the log entry preceding the error entry into a browser to see whether the web server returns a wave file.

Return to Plum DEV FAQs

Who is online

Users browsing this forum: No registered users and 1 guest

cron