We've Moved! Please visit our new and improved forum over at our new portal: https://portal.plumvoice.com/hc/en-us/community/topics

uploading large files

Questions and answers about IVR programming for Plum DEV

Moderators: admin, support

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code and call log needed to help debug issue

Post by support »

Hi,

Can you send us a small snippet of IVR code and an IVR call log of this problem occurring for you? This will help us replicate the IVR problem so that we can better help you.

For more information on how to view an IVR call log, go here:

www.plumvoice.com/docs/dev/plumdevguide:debugging

Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 2:14 pm, edited 3 times in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

problem with the plum voice system

Post by marcr »

#here is my code the problem is with the system detecting inputs when none are made, at every stage of the system.

<?xml version="1.0"?>
<vxml version="2.0">

<form>
<block>
<prompt>Welcome to Unlimited</prompt>
<goto next="#mainmenu"/>
</block>
</form>

<menu id="mainmenu">
<prompt>for tom sawyer press 1, for another book press 2, for another book press 3</prompt>
<choice dtmf="1" next="#sawyer_chapters"></choice>
<choice dtmf="2" next="#support"></choice>
<choice dtmf="3" next="#directory"></choice>
</menu>


<menu id="sawyer_chapters">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<prompt>for chapter one press one, for chapter two press two, for chapter three press three</prompt>
<choice dtmf="1" next="#ch1"></choice>
<choice dtmf="2" next="#support"></choice>
<choice dtmf="3" next="#directory"></choice>
</menu>

<menu id="ch1">
<prompt bargein="false">to return to the previous menu press hash at any time</prompt>
<audio stream="mywav1.wav"/>
<choice dtmf="#" next="#sawyer_chapters"/>
</menu>

<menu id="ch2">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="mywav2.wav"/>
<choice dtmf="#" next="#sawyer_chapters"/>
</menu>

<menu id="ch3"></menu>

</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

why the IVR system detects inputs when "none" are

Post by support »

Hi,

This is the expected behavior of the IVR platform, since by default, it will respond to both speech and dtmf inputs. So, if there's any background noise occurring during your IVR application, this may cause the IVR system to return the message, "I'm sorry, I didn't understand you" since it is expecting a dtmf grammar match instead of a speech grammar.

To allow for just dtmf inputs only, you could use the IVR property, "inputmodes". To do this, place this line in between the "<vxml version="2.0">" and "<form>" line:

Code: Select all

<property name="inputmodes" value="dtmf"/>
Regards,
Plum Support
Last edited by support on Fri Feb 26, 2010 11:18 am, edited 5 times in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

recent upgrade of account and now streaming doesnt work

Post by marcr »

hi we recently upgraded to the full account but now the streaming that was previously working no longer is, is there any reason for this?

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR code needed to demonstrate user's issue

Post by support »

Hi,

Could you paste a small sample of your IVR code here that demonstrates this IVR issue?

Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 2:15 pm, edited 2 times in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

my code

Post by marcr »

#heres my code note the filenames arent real

<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<form>
<block>
<prompt>Hi there and welcome to ...</prompt>
<goto next="#mainmenu"/>
</block>
</form>

<menu id="mainmenu">

<prompt>If you'd like to hear...</prompt>
<choice dtmf="1" next="#sawyer_chapters"></choice>
<choice dtmf="2" next="#the_black_cat"></choice>
<choice dtmf="3" next="#children_of_the_zodiac"></choice>

</menu>

<menu id="sawyer_chapters">

<prompt bargein="false">You have chosen to hear ....</prompt>
<choice dtmf="1" next="#sawyer_chapters1-20"></choice>
<choice dtmf="2" next="#sawyer_chapters21-35"></choice>

</menu>

<menu id="the_black_cat">

<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>


</menu>

<menu id="children_of_the_zodiac">

<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters31-32"/>

</menu>

<menu id="sawyer_chapters1-20">

<prompt bargein="false">For chapters 1 and 2, press 1. For chapter 3 and 4, press 2. For chapters 5 and 6 press 3. For chapters 7 and 8, press 4. For chapters 9 and 10, press 5.</prompt>
<choice dtmf="1" next="#sawyer_ch1-2"></choice>
<choice dtmf="2" next="#sawyer_ch3-4"></choice>
<choice dtmf="3" next="#sawyer_ch5-6"></choice>

</menu>

<menu id="sawyer_chapters21-35">

<prompt bargein="false">For chapter 11, press 1. For chapter 12, press 2. For chapters 13 press 3</prompt>
<choice dtmf="1" next="#sawyer_ch21-35"></choice>
<choice dtmf="2" next="#sawyer_ch1-2"></choice>
<choice dtmf="3" next="#sawyer_ch1-2"></choice>

</menu>

<menu id="sawyer_ch1-2">

<prompt bargein="false">to return to the previous menu press hash at any time</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-10"/>

</menu>

<menu id="sawyer_ch3-4">

<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>

</menu>

<menu id="sawyer_ch5-6">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch7-8">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch9-10">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch11-12">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch13-15">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch16-17">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch18-20">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters1-20"/>
</menu>

<menu id="sawyer_ch21-23">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters21-22-23"/>
</menu>

<menu id="sawyer_ch24-25">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters24-25"/>
</menu>

<menu id="sawyer_ch26">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters26"/>
</menu>

<menu id="sawyer_ch27-28">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters27-28"/>
</menu>

<menu id="sawyer_ch29">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters29"/>
</menu>

<menu id="sawyer_ch30">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters31-32"/>
</menu>

<menu id="sawyer_ch31-32">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters31-32"/>
</menu>

<menu id="sawyer_ch33-35">
<prompt bargein="false">to return to the previous menu press hash</prompt>
<audio stream="http://myfile.wav"/>
<choice dtmf="#" next="#sawyer_chapters31-32"/>
</menu>

</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR fix- change audio format to a supported audio format

Post by support »

Hi,

For your IVR code, I would suggest replacing:

Code: Select all

 <audio stream="http://myfile.wav"/> 
with this:

Code: Select all

 <audio src="http://myfile.wav"/> 
to first confirm that the Plum Voice Platform can play the files. If the IVR platform cannot play the file, you should change the audio format of the file to one of the supported audio formats listed here:

http://www.plumvoice.com/docs/dev/devel ... io_Formats

Hope this helps.

Regards
Plum Support
Last edited by support on Fri Feb 19, 2010 2:16 pm, edited 3 times in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

why wont this audio file play?

Post by marcr »

im using code that you told me to use in an earlier post but it no longer works for my account:

<audio stream="http://www.travelculture.com.au/unlimit ... _03-04.wav"/>

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

my full code

Post by marcr »

re: the earlier above

here is my full code just so its clear to you what isnt working:

<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<form>
<block>
<prompt>Hi there and welcome to ...</prompt>
<goto next="#mainmenu"/>
</block>
</form>

<menu id="mainmenu">

<prompt>
If you'd like to hear The Adventures of Tom Sawyer, by Mark Twain, press 1, If you'd like to hear White Fang, by Jack London, press 2, If you'd like to hear The Black Cat, by Edgar Allan Poe, press 3, If you'd like to hear The Children of the Zodiac, by Rudyard Kipling, press 4
</prompt>
<audio src="http://www.travelculture.com.au/unlimit ... _01-02.wav"/>
<choice dtmf="1" next="#sawyer_chapters"></choice>
<choice dtmf="2" next="#the_black_cat"></choice>
<choice dtmf="3" next="#children_of_the_zodiac"></choice>

</menu>

</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR error fix- change audio format to supported audio format

Post by support »

Hi,

We've just downloaded your IVR file, "Tom_Sawyer_01-02.wav", and noticed that it has a sample rate of 22 KHz. You should change the audio format of the file to one of the supported audio formats:

* 8 kHz 16-bit linear headerless PCM (*.pcm)
* 8 kHz μ-law encoded headerless PCM (*.ul)
* 8 kHz α-law encoded headerless PCM (*.al)
* Microsoft WAV format encoded with any of the three formats listed above (*.wav)

Regards,
Plum Support
Last edited by support on Mon Dec 28, 2009 5:08 pm, edited 1 time in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

contradictions in your support

Post by marcr »

sorry but there seems to be a lot of issues with the support i have received from you.

1. earlier in this post you told me to use the stream attribute which did work and then for some reason it stopped working (for the same files) then later you tell me to use the src attribute not stream?

2. you have just told me that the format of the files is wrong, then how come it was clearly streaming previously, not just for me but for everyone who used the system. The files have not changed since then, the system has simply stopped working.

3. i have sent an email to yourselves with the customer id in the subject and was told by auto-reply that i would have a response from you within 24 hours, those 24 hours have now passed and i have had no reply.

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR fix- reencode your audio file

Post by support »

You need to follow our suggestions. Earlier in this thread, we told you to use one of the following formats for your audio files:

* 8 kHz 16-bit linear headerless PCM (*.pcm)
* 8 kHz μ-law encoded headerless PCM (*.ul)
* 8 kHz α-law encoded headerless PCM (*.al)
* Microsoft WAV format encoded with any of the three formats listed above (*.wav)

When we downloaded your audio file (Tom_Sawyer_01-02.wav), it had a 22 KHz sample rate, which is not one of the supported audio formats. Please re-encode your audio file.

So, to answer issue #1, the reason we suggested for you to use the "src" attribute as opposed to the to the "stream" attribute is to CONFIRM that the Plum Voice Platform can actually play your audio files. If these files were able to be played, then you can use the "stream" attribute to stream your files.

To answer issue #2, you are not playing the exact same files as before. Earlier audio files that you posted were not "Tom_Sawyer_01-02.wav" and those files worked because they were formatted at an 8 KHz sample rate. Again, if you change the audio format of your file, "Tom_Sawyer_01-02.wav", from a 22 KHz sample rate to an 8 KHz sample rate and stream that file, it will work assuming you have not made other encoding changes like recording the file in stereo or 24-bit audio.

To answer issue #3, your reply was posted on this forum at Wed Nov 14, 2007 10:32 am. All IVR code related questions are handled in this IVR developer forum.

Regards,
Plum Support
Last edited by support on Fri Feb 19, 2010 2:17 pm, edited 2 times in total.

marcr
Posts: 23
Joined: Fri Sep 21, 2007 9:36 am

please can you check this file

Post by marcr »

this file seems to be correctly formatted please can you check as it does not play:

<?xml version="1.0"?>
<vxml version="2.0">
<property name="inputmodes" value="dtmf"/>
<form>
<block>
<prompt>Hi there and welcome to Orange Unlimited. Make yourself comfortable and we'll begin.
<audio stream="http://www.travelculture.com.au/unlimit ... ampled.wav"/>
</prompt>

<goto next="#mainmenu"/>
</block>
</form>
</vxml>

support
Posts: 3632
Joined: Mon Jun 02, 2003 3:47 pm
Location: Boston, MA
Contact:

IVR error fix- change audio format to supported audio format

Post by support »

Hi,

We've just downloaded your IVR file, "white-fang-resampled.wav", and noticed it's still formatted incorrectly. Your audio file is 8-bit PCM, which is not one of our supported audio formats. Please use one of the following formats for your audio files:

* 8 kHz 16-bit linear headerless PCM (*.pcm)
* 8 kHz μ-law encoded headerless PCM (*.ul)
* 8 kHz α-law encoded headerless PCM (*.al)
* Microsoft WAV format encoded with any of the three formats listed above (*.wav)

Regards,
Plum Support

Post Reply