« Back to CVP - All Versions

Audio file over http Path

Combination View Flat View Tree View
Threads [ Previous | Next ]
Hey Guys,
I am trying to run audio files over HTTP path but for some reason Audio element does not like the HTTP Path.
 
There are no access issues to audio file i.e. i can run the audio files from the browser.
 
Audio element runs fine if i give the default path but gives error when i try to run it over Http.
 
Is there some special settings that i need to do ? Any help will be appreciated.
 
Thanks
Sanjay

There's nothing special you need to do, other than ensure the gateway
has access to the URL that you specify.
Can you ping the IP address of your http string from the voicexml gateway?

Open a web browser and copy/paste the same URL that you have in Studio
(do NOT use localhost in the URL, use the IP address or hostname).
The web browser should try to retrieve the audio file and play it. If it
can't then perhaps there's an error in your URL string.

What do you mean 'it runs fine if I give the default path' versus using
'http'?

Janine

On 8/10/2010 3:30 PM, Cisco Developer Community Forums wrote:
> Sanjay Gulati has created a new message in the forum "CVP - All Versions":
>
> --------------------------------------------------------------
> Hey Guys,
> I am trying to run audio files over HTTP path but for some reason
> Audio element does not like the HTTP Path.
> Â
> There are no access issues to audio file i.e. i can run the audio
> files from the browser.
> Â
> Audio element runs fine if i give the default path but gives error
> when i try to run it over Http.
> Â
> Is there some special settings that i need to do ? Any help will be
> appreciated.
> Â
> Thanks
> Sanjay
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2424608>
>
> or simply reply to this email.

--
Janine Graves
781-990-1040

Can you post the exact error the logs are showing? Make sure that you do not have the default path box checked on and you are trying to use in the path.

There is no Error log.
 
The call just get disconnect with no error. But if i check the sessions then i can see hanging sessions.

Thanks for your response.
 
What do you mean 'it runs fine if I give the default path' versus using  'http'?
 
I meant if i check the checkbox "use the default audio path" and use local path on VXML server like "/CVP/Audio/**.wav" than it runs with no problem but if i uncheck the default path checkbox and put http path then it does not seems to be working.
 
I have verified the gateway can ping the http path audio files but still its not working.
 
Thanks
Sanjay

What's the URL that you enter into Studio?


On 8/10/2010 5:31 PM, Cisco Developer Community Forums wrote:
> Sanjay Gulati has created a new message in the forum "CVP - All Versions":
>
> --------------------------------------------------------------
> Thanks for your response.
> Â
> What do you mean 'it runs fine if I give the default path' versus
> using 'http'?
> Â
> I meant if i check the checkbox "use the default audio path" and use
> local path on VXML server like "/CVP/Audio/**.wav" than it runs with
> no problem but if i uncheck the default path checkbox and put http
> path then it does not seems to be working.
> Â
> I have verified the gateway can ping the http path audio files but
> still its not working.
> Â
> Thanks
> Sanjay
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2425909>
>
> or simply reply to this email.

--
Janine Graves
781-990-1040

can you turn on gateway debug logging on the gateway:
'term mon'
'debug http client error'

and see what it says.


On 8/10/2010 5:31 PM, Cisco Developer Community Forums wrote:
> Sanjay Gulati has created a new message in the forum "CVP - All Versions":
>
> --------------------------------------------------------------
> Thanks for your response.
> Â
> What do you mean 'it runs fine if I give the default path' versus
> using 'http'?
> Â
> I meant if i check the checkbox "use the default audio path" and use
> local path on VXML server like "/CVP/Audio/**.wav" than it runs with
> no problem but if i uncheck the default path checkbox and put http
> path then it does not seems to be working.
> Â
> I have verified the gateway can ping the http path audio files but
> still its not working.
> Â
> Thanks
> Sanjay
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2425909>
>
> or simply reply to this email.

--
Janine Graves
781-990-1040