Plum issue with Record verbatim
Posted: Wed Mar 25, 2015 2:51 pm
From Plum http://www.plumvoice.com/docs/dev/voicexml:tags:record
It says
type: The media format of the resulting recording. Defaults to “audio/basic”. Can also be set to “audio/x-alaw-basic” and “audio/x-wav”.
This is my code for <Record> step
<record name="callerMsg" beep="false" dtmfterm="false" maxtime="${callSession.ivrConfig.maxVoiceMessageLength}s" type="audio/basic" finalsilence="10s">
Expected result: it records successful to wav file and I can playback that file in Windows Media Player or use some tool like Sound Recorder (on Win XP) I can open file and see format
Actual result: it records successful to wav file but I cannot playback that file in Windows Media Player (it complains the codec is not supported...). I used Sound Recorder (on Win XP), open file but it says this is not valid wav format file
Workaround: if I use type of "audio/x-wav" in <record> step everything works fine
My question: is there any setting needed at Plum side to support type of “audio/basic” or “audio/x-alaw-basic”? So that it can record and playback successful
Thanks
Hung
It says
type: The media format of the resulting recording. Defaults to “audio/basic”. Can also be set to “audio/x-alaw-basic” and “audio/x-wav”.
This is my code for <Record> step
<record name="callerMsg" beep="false" dtmfterm="false" maxtime="${callSession.ivrConfig.maxVoiceMessageLength}s" type="audio/basic" finalsilence="10s">
Expected result: it records successful to wav file and I can playback that file in Windows Media Player or use some tool like Sound Recorder (on Win XP) I can open file and see format
Actual result: it records successful to wav file but I cannot playback that file in Windows Media Player (it complains the codec is not supported...). I used Sound Recorder (on Win XP), open file but it says this is not valid wav format file
Workaround: if I use type of "audio/x-wav" in <record> step everything works fine
My question: is there any setting needed at Plum side to support type of “audio/basic” or “audio/x-alaw-basic”? So that it can record and playback successful
Thanks
Hung