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

audio files voice not coming

Questions and answers about Plum Survey

Moderators: admin, support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

audio files voice not coming

Post by bmreddyrs »

Hi Team,

I uploaded the autido files - wc-INTRO.wav and wc-prelogin.wav fiels to 'af' directory using File repository.

1). I created scratchPads application - 'Afligo'.

ScratchPads - vml file:

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

<form>
<block>
<prompt bargein="false">
<audio src="af/wc-INTRO.wav"> the audio file could not be retrieved!</audio>
<break time="500ms"/>
</prompt>
<prompt bargein="false">
<audio src="af/wc-prelogin.wav">
</audio>
</prompt>
</block>
</form>

</vxml>

2). I open application configuration.
choose application source: ScratchPads and choose the scratchPads Name
3). validate and save this application

4). dialed the number

Here i did not hear the uploaded audio files voice.

Please find the below logs.





Fri 03 Jun 2016 07:33:44 AM EDT:
Call Start Event: ANII DNIS 3999 VURL http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument()
Fetching Document: http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument(http://us.popproxy.plumgroup.com/plumvp/demo.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/demo.php
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
Entering form = '$_internalName_32720' form item = 'ext'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_32720' formitem = 'ext'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Fri 03 Jun 2016 07:33:54 AM EDT:
dtmf input: 6298
Found grammar match
hypothesis #0: 6298 (0.9990)
VXI::var_element(name="session_id" expr = "session.id")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
Fetching Document: demo.php
DocumentParser::FetchDocument(demo.php)
Posted form data is URL encoded
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Entering form = '$_internalName_32723' form item = '$_internalName_32724'
Fetching Document: scratchpad.php/robert%40wavecrest.gi/Afligo
DocumentParser::FetchDocument(scratchpad.php/robert%40wavecrest.gi/Afligo)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... .gi/Afligo
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... .gi/Afligo
Entering form = '$_internalName_32726' form item = '$_internalName_32727'
bargein set to false
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... -INTRO.wav
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... -INTRO.wav
Audio segment from the URL af/wc-INTRO.wav added to prompt queue
File: af/wc-INTRO.wav not WAV/RIFF format
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
bargein set to false
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak> the audio file could not be retrieved!<break size="medium" time="500ms"/></speak>
---------
Newly queued prompts are now being played
bargein set to false
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... elogin.wav
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... elogin.wav
Audio segment from the URL af/wc-prelogin.wav added to prompt queue
File: af/wc-prelogin.wav not WAV/RIFF format
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource

Fri 03 Jun 2016 07:33:58 AM EDT:
received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 0


=====================

I tried with different way. Please check below post.

1). I uploaded the two audio files - wc-INTRO.wav and wc-prelogin.wav from File Repository

2). I create 'Afligo' scratchPad application

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

<form>
<block>
<prompt bargein="true">
<audio src="Afligo/af/wc-INTRO.wav"> the audio file could not be retrieved!</audio>
<break time="500ms"/>
</prompt>
<prompt bargein="true">
<audio src="Afligo/af/wc-prelogin.wav">
</audio>
</prompt>

</block>
</form>

</vxml>

3). 'Afligo' scratchPad application has configured

4). I dialed the number.

there is no audio file playing.

Please find the below logs

Fri 03 Jun 2016 09:20:37 AM EDT:
Call Start Event: ANII DNIS 3999 VURL http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument()
Fetching Document: http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument(http://us.popproxy.plumgroup.com/plumvp/demo.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/demo.php
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
Entering form = '$_internalName_32805' form item = 'ext'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_32805' formitem = 'ext'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Fri 03 Jun 2016 09:20:43 AM EDT:
dtmf input: 6298
Found grammar match
hypothesis #0: 6298 (0.9990)
VXI::var_element(name="session_id" expr = "session.id")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
Fetching Document: demo.php
DocumentParser::FetchDocument(demo.php)
Posted form data is URL encoded
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Entering form = '$_internalName_32808' form item = '$_internalName_32809'
Fetching Document: scratchpad.php/robert%40wavecrest.gi/Afligo
DocumentParser::FetchDocument(scratchpad.php/robert%40wavecrest.gi/Afligo)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... .gi/Afligo
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... .gi/Afligo
Entering form = '$_internalName_32811' form item = '$_internalName_32812'
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... -INTRO.wav
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... -INTRO.wav
Audio segment from the URL Afligo/af/wc-INTRO.wav added to prompt queue
File: Afligo/af/wc-INTRO.wav not WAV/RIFF format
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak> the audio file could not be retrieved!<break size="medium" time="500ms"/></speak>
---------
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... elogin.wav
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... elogin.wav
Audio segment from the URL Afligo/af/wc-prelogin.wav added to prompt queue
File: Afligo/af/wc-prelogin.wav not WAV/RIFF format
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
Newly queued prompts are now being played

Fri 03 Jun 2016 09:20:47 AM EDT:
received event: connection.disconnect.hangup:
VXI::exit_element()
Call End Event
Ending session
Ending Session On Channel 0

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

Re: audio files voice not coming

Post by support »

Hello,

You are on the right track. We checked your call logs and found 404 errors, which means that your audio files were not being referenced correctly. The way to fix this is to go into your file repository in Dev and next to the audio file there is a small link icon. Get the full url of your file by clicking on that icon and paste that into your audio src instead. This will enable you to reference the audio file correctly.
The full documentation on this is in the link below,
http://www.plumvoice.com/docs/dev/plumdevguide:filerepo

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Reg: Audio files are not played, the file size more than 100

Post by bmreddyrs »

Hi Team,

Audio files are not played, the file size more than 100 KB in remote system.

I written the vxml file in scratchpad. Please find the below vxml file.

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

<form>

<block>
<prompt>
<audio src="http://repo.local.plumgroup.com/root/e1 ... -INTRO.wav"/>
</prompt>
</block>

<field name="language">

<prompt>
<audio src="https://wcdevint2.wavecrest.in:444/stat ... wc-A87.wav"/>
</prompt>

<grammar mode="dtmf" type="application/x-jsgf">
( 1 | 2 )+
</grammar>

</field>

<block>

<submit next="https://wcuser:wcuser@dev2.api.wavecres ... rprocessor" namelist="language"/>

</block>

</form>

</vxml>

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

Re: audio files voice not coming

Post by support »

Hello,

We placed a test call to your number and were able to hear both the audio files being played. If you are still having issues, please provide us with step by step details on how we can reproduce this problem so that we can look further into it.

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Re: Audio files are not played, the file size more than 100

Post by bmreddyrs »

Hello Team,

1. create the scratchpad application afligoivr.
2. written the vxml file with two audio files - one is in File Repository and second one is in remote system

Find the below vml file>

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

<form>

<block>
<prompt>
<audio src="http://repo.local.plumgroup.com/root/e1 ... -INTRO.wav"/>
</prompt>
</block>

<field name="language">

<prompt>
<audio src="https://wcdevint2.wavecrest.in:444/stat ... elogin.wav"/>
</prompt>

<grammar mode="dtmf" type="application/x-jsgf">
( 1 | 2 )+
</grammar>

</field>

<block>

<submit next="https://wcuser:wcuser@dev2.api.wavecres ... rprocessor" namelist="language"/>

</block>

</form>

</vxml>

3. I dialed the number - Only the file repository file is playing and remote audio file is not played.

Please check the below logs.

Call Start Event: ANII DNIS 3999 VURL http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument()
Fetching Document: http://us.popproxy.plumgroup.com/plumvp/demo.php
DocumentParser::FetchDocument(http://us.popproxy.plumgroup.com/plumvp/demo.php)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/demo.php
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Loading Builtin grammar: builtin:grammar/digits
Loading Builtin grammar: builtin:dtmf/digits
Entering form = '$_internalName_126704' form item = 'ext'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_126704' formitem = 'ext'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:53:52 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://us.popproxy.plumgroup.com/plumvp/audio/sorry.wav
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/audio/sorry.wav
Audio segment from the URL audio/sorry.wav added to prompt queue
Entering form = '$_internalName_126704' form item = 'ext'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_126704' formitem = 'ext'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:01 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/sorry.wav
Audio segment from the URL audio/sorry.wav added to prompt queue
Entering form = '$_internalName_126704' form item = 'ext'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Hit: http://us.popproxy.plumgroup.com/plumvp/audio/demo.wav
Audio segment from the URL audio/demo.wav added to prompt queue
VXI::field_element - activating grammars for form = '$_internalName_126704' formitem = 'ext'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:08 AM EDT:
dtmf input: 6298
Found grammar match
hypothesis #0: 6298 (0.9990)
VXI::var_element(name="session_id" expr = "session.id")
VXI::var_element(name="dnis" expr = "session.telephone.dnis")
Fetching Document: demo.php
DocumentParser::FetchDocument(demo.php)
Posted form data is URL encoded
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp/demo.php
Entering form = '$_internalName_126711' form item = '$_internalName_126712'
Fetching Document: scratchpad.php/robert%40wavecrest.gi/Afligoivrprompt
DocumentParser::FetchDocument(scratchpad.php/robert%40wavecrest.gi/Afligoivrprompt)
Cache Miss: http://us.popproxy.plumgroup.com/plumvp ... oivrprompt
Attempting to fetch http://us.popproxy.plumgroup.com/plumvp ... oivrprompt
GrammarManager::CreateGrammarFromString(application/x-jsgf):
---------
<?xml version='1.0'?>
<grammar xml:lang="en-us" mode="dtmf">
( 1 | 2 )+
</grammar>
---------
Entering form = '$_internalName_126714' form item = '$_internalName_126715'
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: http://repo.local.plumgroup.com/root/e1 ... -INTRO.wav
Attempting to fetch http://repo.local.plumgroup.com/root/e1 ... -INTRO.wav
Audio segment from the URL http://repo.local.plumgroup.com/root/e1 ... -INTRO.wav added to prompt queue
Entering form = '$_internalName_126714' form item = 'language'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav
Attempting to fetch https://wcdevint2.wavecrest.in:444/stat ... elogin.wav

Wed 08 Jun 2016 01:54:11 AM EDT:
Audio segment from the URL https://wcdevint2.wavecrest.in:444/stat ... elogin.wav added to prompt queue
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
VXI::field_element - activating grammars for form = '$_internalName_126714' formitem = 'language'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:19 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>Sorry, I didn't understand you. </speak>
---------
Entering form = '$_internalName_126714' form item = 'language'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav
Attempting to fetch https://wcdevint2.wavecrest.in:444/stat ... elogin.wav

Wed 08 Jun 2016 01:54:22 AM EDT:
Audio segment from the URL https://wcdevint2.wavecrest.in:444/stat ... elogin.wav added to prompt queue
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
VXI::field_element - activating grammars for form = '$_internalName_126714' formitem = 'language'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:25 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>I still don't understand. </speak>
---------
Entering form = '$_internalName_126714' form item = 'language'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav
Attempting to fetch https://wcdevint2.wavecrest.in:444/stat ... elogin.wav

Wed 08 Jun 2016 01:54:28 AM EDT:
Audio segment from the URL https://wcdevint2.wavecrest.in:444/stat ... elogin.wav added to prompt queue
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
VXI::field_element - activating grammars for form = '$_internalName_126714' formitem = 'language'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:35 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>Please say it one last time. </speak>
---------
Entering form = '$_internalName_126714' form item = 'language'
VXI::queue_prompts()
bargein set to true
INPUTMODES set to "DTMF VOICE"
Cache Miss: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav
Attempting to fetch https://wcdevint2.wavecrest.in:444/stat ... elogin.wav

Wed 08 Jun 2016 01:54:38 AM EDT:
Audio segment from the URL https://wcdevint2.wavecrest.in:444/stat ... elogin.wav added to prompt queue
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000
Unrecognized format in WavDecoder
Failure during pvxPromptConvertCopySource
VXI::field_element - activating grammars for form = '$_internalName_126714' formitem = 'language'
VXI::do_recognition()
PromptManager::Play()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:40 AM EDT:
received event: nomatch:
bargein set to true
INPUTMODES set to "DTMF VOICE"
Audio segment added to prompt queue from TTS application/synthesis+ssml for:
---------
<?xml version='1.0'?><speak>I'm sorry. I just can't understand your response.</speak>
---------
VXI::exit_element()
Newly queued prompts are now being played

Wed 08 Jun 2016 01:54:44 AM EDT:
Call End Event
Ending session
Ending Session On Channel 0


Please let me know the below points.

1. what is the audio file size which can able to played in Remote system?
2. Plum Dev account. Is this account for only testing or Can we use this account in production?

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

Re: audio files voice not coming

Post by support »

Hi,

We called into your app and got an error that says:
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000

Meaning the bitrate and sample rate of your audio file is not compatible. Your sample rate is too high. Please follow one fo the formats listed here:
http://www.plumvoice.com/docs/dev/devel ... ence:audio

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Re: audio files voice not coming

Post by bmreddyrs »

support wrote:Hi,

We called into your app and got an error that says:
File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav Should be 8000 samples per second, it's 48000

Meaning the bitrate and sample rate of your audio file is not compatible. Your sample rate is too high. Please follow one fo the formats listed here:
http://www.plumvoice.com/docs/dev/devel ... ence:audio

Regards,
Plum Support
Hi Team,

wc-prelogin.wav this file is played perfectly if we giving the File repository path - http://repo.local.plumgroup.com/root/e1 ... elogin.wav

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

Re: audio files voice not coming

Post by support »

Hi,

The reason the file works correctly from the repositry is that the repository automatically converts the file to a format that is compatible with our platform. Thus, the same file will work from the repository but will not work from the remote system as your file format is still not right. To be able to make your files work form a remote system you will have to comply with one of the formats that is compatible with our platform.

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Reg: audio files are not playing from remote system

Post by bmreddyrs »

Hi All,

The audio file : wc-prelogin_03.wav file not played from remote system and we got the below error messages.

File: https://wcdevint2.wavecrest.in:444/stat ... elogin.wav (here file name changed).

This is the file properties:

bit rate: 64 kbpss
size: 90.1KB
8 kHz 8-bit µ-law WAV (*.wav)

File repository Location: http://repo.local.plumgroup.com/root/e1 ... gin_03.wav

Please check and let me know the correct format and share the converted working file.

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

Re: audio files voice not coming

Post by support »

Hi,

Your file format is still incorrect. Here is a breakdown of the file you are referring to at https://wcdevint2.wavecrest.in:444/stat ... elogin.wav: :
Audio
Format : PCM
Format settings, Endianness : Little
Format settings, Sign : Signed
Codec ID : 1
Duration : 11s 194ms
Bit rate mode : Constant
Bit rate : 768 Kbps
Channel(s) : 1 channel
Sampling rate : 48.0 KHz
Bit depth : 16 bits
Stream size : 1.02 MiB (100%)

Here's an example of a file that conforms to the platform standards:
Audio
Format : ADPCM
Format profile : U-Law
Codec ID : 7
Codec ID/Hint : CCITT
Duration : 11s 191ms
Bit rate mode : Constant
Bit rate : 64.0 Kbps
Channel(s) : 1 channel
Sampling rate : 8 000 Hz
Bit depth : 8 bits
Stream size : 87.4 KiB (100%)

Here's a list of supported file formats that will work with the platform: http://www.plumvoice.com/docs/dev/devel ... ence:audio

We cannot convert your files for you. If you are unable to do so yourself, as a work around you can upload the files to the file repository and then download the files from the repository. We implicitly convert the audio files on upload to something that will work with our platform.

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Reg: Post Method support in Remote URL configuration

Post by bmreddyrs »

Hi Plum Support,

I am unable to configure the Remote url in POST Method support.
Please let me know, How can i configure POST method support in Remote URL

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

Re: audio files voice not coming

Post by support »

Hi,

What exactly do you mean when you say "Remote url in POST method support"? If you mean when configuring a remote url when assigning your application url to a phone number, you cannot utilize POST for this. This script will always be fetched via GET. Reason being, you're simply providing a URL that's the entry point to your application. With GET you can add query parameters to that URL and pass those to your initial script, but with POST there's no way for the platform to know what parameters to be sent with that initial fetch. You could simply make a wrapper script that the platform fetches via GET and then POSTs to another script with the parameters you have set in that initial script if you absolutely must utilize POST.

If you're referring to submitting data between your scripts using POST via tags such as <data>, <submit>, <subdialog>, etc, you can use the method attribute like such:

Code: Select all

<submit next="http://example.com/process_request.php" method="post" namelist="
        license_number request_type" fetchtimeout="60s"/>
Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Reg: To avoid extension dail number.

Post by bmreddyrs »

Hi Support,

How can we avoid dial number extension.
Please let me know the configurations for this.

We are using Plum IVR in two ways
1). Call forward option.
we are calling to TWILIO and twilo is forwarding to Plum which is redirect to the Wavecrest system.
In Dev, environment, every we enter the dial number and extension.
How can we avoid the extension number.

2). we directly calling to Plum IVR
In Dev, environment, every we enter the dial number and extension.
How can we avoid the extension number.

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

Re: audio files voice not coming

Post by support »

Hi,

The number you are using is a free demo number provided for evaluation purposes. The extension cannot be removed. If you are interested in procuring a production number please contact our sales department for further information.

Regards,
Plum Support

bmreddyrs
Posts: 44
Joined: Wed May 25, 2016 4:03 am

Re: Reg: To avoid extension dail number.

Post by bmreddyrs »

Hi Support,

Taking problem of input Credit card number:

This is the sample vxml file:

<?xml version="1.0"?>
<vxml version="2.0">
<form>
<field name="creditcardnum" type="digits?length=17">

<grammar type="application/srgs+xml" root="ROOT" mode="dtmf">
<rule id="ROOT" scope="public">
<one-of>
<item repeat="0-255">
<ruleref uri="#digit"/>
</item>
<item>
"* #"
</item>
</one-of>
</rule>

<rule id="digit" scope="public">
<one-of>
<item> 0 </item>
<item> 1 </item>
<item> 2 </item>
<item> 3 </item>
<item> 4 </item>
<item> 5 </item>
<item> 6 </item>
<item> 7 </item>
<item> 8 </item>
<item> 9 </item>
</one-of>
</rule>
</grammar>

<prompt bargein="true">
<audio src="https://wcdevint2.wavecrest.in:444/stat ... /wc-A1.wav"/>?
</prompt>
</field>
<block>
<submit next="https://wcuser:wcuser@dev2.api.wavecres ... rprocessor" namelist="creditcardnum" method="post"/>
</block>
</form>
</vxml>

Some times it will wait complete the card number and some times it is not waiting until (#) pound key finished and it will move to the sumbit block.

Please let me know the problem.

2). The audio prompt also not saying clearly .. some times it saying very clear and some times not.

Post Reply