cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
609
Views
0
Helpful
0
Comments
cdnadmin
Community Member
This document was generated from CDN thread

Created by: Mike Robinson on 25-03-2009 09:07:42 PM
Is the "Default Audio Path URI" Audio Setting accessible from within the Call Studio scripting environment?  In other words, is it stored somewhere so that I can access it?  I know I can change it using the Application_Modifier, but I just need to read the saved value.
 
Using CVP 4.1
 
Thanks.

Subject: RE: Accessing Default Audio path
Replied by: Karl Roberts on 26-03-2009 08:29:19 AM
Accessible via the java api or via XPressWare components
 
cheers

Subject: Re: New Message from Karl Roberts in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 26-03-2009 01:10:40 PM
The default audio path setting (as specified within Studio's Project
Properties) is stored in these two files as 
<default_audio_path>http://10.1.78.72/audio</default_audio_path>

1) C:\Cisco\CallStudio\eclipse\workspace\<appname>\.settings
2)
C:\Cisco\CVP\VXMLServer\applications\<appname>\data\application\settings.xml


But, I don't believe there's a way to see what it's currently set to -
so that if an App Modifier element changes it at runtime, I don't
believe there's a way to query for the current value.


Janine



Cisco Developer Community Forums wrote:
> Karl Roberts has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Accessible via the java api or via XPressWare components
> Â
> cheers
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1236447>
>
> or simply reply to this email.

Subject: RE: Accessing Default Audio path
Replied by: Mike Robinson on 30-03-2009 01:29:25 PM
Karl -
Do you know which java api that property belongs to?
Thanks.

Subject: RE: Re: New Message from Mike Robinson in Customer Voice Portal (CVP&#
Replied by: Mike Robinson on 30-03-2009 01:59:39 PM
I was just browsing the javadocs and found the same ComponentAPI.
I will give that a shot.
Thanks all!

Subject: Re: New Message from Mike Robinson in Customer Voice Portal (CVP) - General
Replied by: Janine Graves on 30-03-2009 01:48:40 PM
*getDefaultAudioPath*()is part of the ComponentAPI (Javadocs pasted below). returns a string (default audio URI path) or |null| if no path was specified in the
application's settings and was not changed up to this point in the application
                    

setDefaultAudioPath(String path) is part of the APIBase (subclass of ComponentAPI) and allows you to set the default Audio path.







Cisco Developer Community Forums wrote:
> Mike Robinson has created a new message in the forum "General
> Discussion - All Versions":
>
> --------------------------------------------------------------
> Karl -
> Do you know which java api that property belongs to?
> Thanks.
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cvp/forums/-/message_boards/message/1244722>
>
> or simply reply to this email.
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links