Page 1 of 3

uploading large files

Posted: Fri Sep 28, 2007 9:16 am
by marcr
how can i upload large files of 10mb + via the audio repository? http://hosting.plumgroup.com/audio_repository.html

presently it appears that i can only upload files that are less than 2mb

IVR system has max upload time of 10m for audio files

Posted: Fri Sep 28, 2007 2:29 pm
by support
Hi,

The maximum upload time for audio files is 10 minutes. Also, you are only allowed to upload 10 mb maximum in files. If you want to increase this limit, you can contact your IVR sales representative or sales@plumvoice.com.

Just out of curiosity, why do you want to upload 10 mb files onto the audio repository?

Regards,
Plum Support

why i want to upload > 10mb files

Posted: Mon Oct 01, 2007 5:16 am
by marcr
the application we are looking to develop with your application allows users to listen to audio books via the phone. these audio files will be segmented into chapters many of which will be greater than 10mvb. According to your sales rep this type of application is possible with plum voice is this correct?

your software

Posted: Mon Oct 01, 2007 5:28 am
by marcr
I also believe there are issues with making uploads to your repository, i am trying to upload a correctly formatted 6mb wav file. I receive a confirmation response to say upload successful however the file is not uploaded, when i click listen i hear the audio file that was previously uploaded and then 'deleted'.

IVR system has streaming capability built into audio tag

Posted: Mon Oct 01, 2007 10:32 am
by support
Hello,

You should not be using the audio repository for this purpose. It was created for customers who do not have their own web server and need to use static audio with a scratchpad. If you are looking to use extremely large audio files with our IVR systems it is recommended that you make use of the "streaming" capability we have built into the <audio> tag. You will need to put the audio files on your web server and then use the following IVR code to play it:

Code: Select all

<audio stream="http://yourserver.com/path/to/file.wav"/>
This will stream the file from your IVR application server so that there is little to no delay before we start playing the audio file. Please use this solution rather than attempting to upload the files to the audio repository.

Regards,
Plum Support

error on streaming

Posted: Tue Oct 02, 2007 4:01 am
by marcr
my code:

<?xml version="1.0"?>
<vxml version="2.0">
<form>
<block>
<prompt>
<audio stream="http://mydomain.com/myfile.wav"/>
</prompt>
</block>
</form>
</vxml>

using the code above i received this error:


Tue 02 Oct 2007 04:43:53 AM EDT:
Buffering audio stream
Unsupported stream type of (null) for *file_url in PVXpromptSourceStrea constructor
Stream from *file_url has been started
Unsupported Stream Content-Type
received event: connection.disconnect.hangup
Disconnect
Disconnecting On Channel 1

Tue 02 Oct 2007 04:43:54 AM EDT:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 1


please can you help fix my code

where are the docs

Posted: Tue Oct 02, 2007 5:32 am
by marcr
by the way i can't find any reference to streaming in the docs

IVR Programmer's Reference Manual

Posted: Tue Oct 02, 2007 8:35 am
by support
Hi,

You can find a reference to the "stream" attribute for our <audio> tag here in our IVR Programmer's Reference Manual:

http://www.plumvoice.com/docs/dev/voicexml:tags:audio

Regards,
Plum Support

sample code for a simple menu system which streams audio

Posted: Tue Oct 02, 2007 8:59 am
by marcr
hi again

can someone please provide a code sample that does the following: presents a menu with a choice of 4 audiobooks (audiobook 1, audiobook 2, audiobook 3, audiobook 4) and for each audiobook plays the related audio file from the relevant web resource (domain.com/audio1.wav, domain.com/audio2.wav...).

thanks in advance

IVR code examples on how to use menus for your application

Posted: Tue Oct 02, 2007 9:11 am
by support
Hi,

For IVR code examples on how to use menus for your IVR application, you can go here:

http://www.plumvoice.com/docs/dev/devel ... e:tutorial

You can modify the IVR menu example in this tutorial to allow the user to select from 4 audiobooks and in the <form> blocks, you can put the audiobooks that you want your caller to listen to.

Regards,
Plum Support

on the code samples

Posted: Tue Oct 02, 2007 9:15 am
by marcr
sorry those code samples are inadequate there is not a single example of streaming

IVR error on streaming

Posted: Tue Oct 02, 2007 9:19 am
by support
Hi,

As to your IVR error with streaming earlier, can you provide a direct link to your audio file? This will help us with replicating the IVR error.

Regards,
Plum Support

IVR code example...

Posted: Tue Oct 02, 2007 9:45 am
by support
Hi,

If you had looked into section 2.1 of our tutorial on <menu>s, you would have seen this IVR code example:

Code: Select all


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

  <form>
    <block>
      <prompt>
         Welcome to Plum Voice.
      </prompt>
      <goto next="#mainmenu"/>
    </block>
  </form>

  <menu id="mainmenu">
    <prompt>
      For sales, press 1.
      For tech support, press 2.
      For company directory, press 3.
    </prompt>
    <choice dtmf="1" next="#sales">
       Sales</choice>
    <choice dtmf="2" next="#support">
       Tech Support</choice>
    <choice dtmf="3" next="#directory">
       Company Directory</choice> 
  </menu>

  <form id="sales">
    <block>
      Please hold for the next available sales
      representative.
      <!-- transfer to sales -->
    </block>
  </form>

  <form id="support">
    <block>
      <!-- transfer to tech support -->
    </block> 
  </form>

  <form id="directory">
    <block>
      <!-- transfer to company directory -->
    </block>
  </form>

</vxml>
Now, taking this IVR example, you can modify it for your audiobook example.

Here's what you would want to do with your IVR code:

Code: Select all

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

  <menu id="mainmenu">
    <prompt>
      For audiobook 1, press 1.
      For audiobook 2, press 2.
      For audiobook 3, press 3.
    </prompt>
    <choice dtmf="1" next="#audiobook1">
       Audio book 1</choice>
    <choice dtmf="2" next="#audiobook2">
       Audio book 2</choice>
    <choice dtmf="3" next="#audiobook3">
       Audio book 3</choice> 
  </menu>

  <form id="audiobook1">
        <block>
            <audio stream="http://yourserver.com/path/to/audiobook1.wav"/>
        </block>
  </form>

  <form id="audiobook2">
    <block>
            <audio stream="http://yourserver.com/path/to/audiobook2.wav"/>
    </block>
  </form>

  <form id="audiobook3">
    <block>
            <audio stream="http://yourserver.com/path/to/audiobook3.wav"/>
    </block>
  </form>

</vxml>
Hope this helps.

Regards,
Plum Support

the code sample modified

Posted: Tue Oct 02, 2007 10:00 am
by marcr
hi ive modified the code sample to play a file i uploaded to my repository (which is correctly formatted), for some reason it does not work here is the code:

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

<form>
<block>
<prompt>
Welcome to Plum Voice.
</prompt>
<goto next="#mainmenu"/>
</block>
</form>

<menu id="mainmenu">
<prompt>
For sales, press 1.
For tech support, press 2.
For company directory, press 3.
</prompt>
<choice dtmf="1" next="#sales">
Sales</choice>
<choice dtmf="2" next="#support">
Tech Support</choice>
<choice dtmf="3" next="#directory">
Company Directory</choice>
</menu>

<form id="sales">
<block>
<audio stream="http://audio.plumgroup.com/root/43320050/43320050_1.wav"/>
</block>
</form>

<form id="support">
<block>
<!-- transfer to tech support -->
</block>
</form>

<form id="directory">
<block>
<!-- transfer to company directory -->
</block>
</form>

</vxml>

IVR system needs certain audio formats

Posted: Tue Oct 02, 2007 10:14 am
by support
Hi,

We've downloaded your audio file and noticed it is not one of the supported IVR formats that we use. For information on what audio formats to use for your audio files, you can go here:

http://www.plumvoice.com/docs/dev/devel ... ence:audio .

Regards,
Plum Support