on 01-25-2014 10:09 AM
did you include framework.jar and servlet2.3.jar in the class path? On 3/6/2012 9:44 PM, Cisco Developer Community Forums wrote: Phani Venigalla has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- Hi, Â I am working on Cisco unified call studio 8.0, I was trying to write a custom java class in the callstudio eclipse. I am getting errors like Com.audium cannot be resolved in all import methods. Â Please reply for the soultion asap. Â Thanks, Phani. -- To respond to this post, please click the following link: <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5255393> or simply reply to this email. -- Janine Graves
Well I could see those jar files, C:\Cisco\CVP\VXMLServer\lib this folder
Please let me know where should i place this files..
Why don't you start with something simpler and get it to work first.
public class MyAction extends ActionElementBase{
public void doAction(String name, ActionElementData data) throws AudiumException
{
String callid=data.getSessionData("callid");
data.addToLog("callid",callid);
|
}
Hi,
Can you send some example how to log it into activity log.
Thanks,
Phani.
data.addToLog(“some_text”, response.toString());
Regards,
Geoff
--------------------------------------------------------------------
Geoff Thompson Unified Contact Center Practice
Email: geoff@hp.com HP Technology Consulting
Phone: +1.408.447.4297 Hewlett-Packard Company
Mobile: +1.408.204.5297 19111 Pruneridge Ave, Cupertino, CA 95014
____________________________________________________________________
Here we don't need to create any Menu or form element , I only need to
execute vxml files in callstudio where as Nuance as TTS engine.
On Mon, Apr 2, 2012 at 6:53 PM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:
> Janine Graves has created a new message in the forum "CVP - All Versions":
>
> --------------------------------------------------------------
> If you are using Studio, you must parse the URL response in some Java code
> and store the text that you want to speak into a variable.
>
> For example, data.setSessionData("textToSpeak","Welcome to Track My
> Record. "+ "Please choose a flow sheet."+"For Exam Fail - Manual Entry,
> please press 1.");
>
> Then speak this variable's value in a TTS box in a Menu or Form element.
>
>
> Janine
> --
> To respond to this post, please click the following link:
>
> <
> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5396328>
>
>
>
> or simply reply to this email.
>
If you are using Studio, you must parse the URL response in some Java code and store the text that you want to speak into a variable.
For example, data.setSessionData("textToSpeak","Welcome to Track My Record. "+ "Please choose a flow sheet."+"For Exam Fail - Manual Entry, please press 1.");
Then speak this variable's value in a TTS box in a Menu or Form element.
Janine
Some VXML Insert examples attached. The Play RTSP one is the simplest one to use as a start template. The transfer one shows how to access session variables in the user-built VoiceXML, the one that returns guid and SIP header info shows how to return and log element data. Pay particular attention to the namelists (declaration and submit), exit state assignments and the way session and element data is passed/referenced and you should be OK. If you just point your VoiceXML Insert Element settings at the filename, for example, just "playrtsp.vxml" then it will be retrieved from the Tomcat/webapps/CVP. Hope that helps.
Paul
The notes I have state that the audium_* variables have to be present and omitting them isn't something I've ever bothered testing. The audium_exit_state variable is the only one you need to pay particular attention to with regard to the element settings. Any value you return in audium_exit_state must have a matching exit state defined in the VoiceXML Insert element settings.
Paul
You can't just use a variable containing the VoiceXML. The source must resolve to something/somewhere that the VoiceXML gateway can access via the URI in a <subdialog> element. By default, if the source VoiceXML document is set in the element as "my_vxml_doc.vxml" it will physically need to exist as ... Tomcat/webapps/CVP/my_vxml_doc.vxml.
Go into the Studio application, right click on the app name in the Navigator window, go to Properties > Call Studio > General Settings. Change the SessionTimeout to 3 - then it'll log after 3 minutes if the license 'is hung' - which is what's occurring in your case. On 4/4/2012 2:22 PM, Cisco Developer Community Forums wrote: Phani Venigalla has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- Its keep on sending in error log VoiceXML Session timeout occurred at element Subdialog Invoke_01: A session has timed out after 30 minutes. This is most likely caused by a start of call class or action element at the top of the callflow not completing before the voice browser's fetch timeout occurred. To resolve it ensure this class executes in a timely manner or run it in the background. Session timeouts may also occur under high load or if there are issues with a load balancer or voice browser. On Wed, Apr 4, 2012 at 2:58 PM, Phani Venigalla <phani.venigalla@gmail.com>wrote: > I placed audio file insted of TTS it played but after sometime i tried to > excute then its silent again... > > > On Wed, Apr 4, 2012 at 2:11 PM, Phani Venigalla <phani.venigalla@gmail.com > > wrote: > >> I configured "test" in return value. >> >> I am not understanding why its getting so longer to show in activity log. >> >> On Wed, Apr 4, 2012 at 1:56 PM, Phani Venigalla < >> phani.venigalla@gmail.com> wrote: >> >>> Before the subdialog invoke i used audio element saying " Please select >>> from following".. then in subdialog invoke i am calling your code., >>> >>> I am using CVP8.0(1) and vxml sever supports 2.0 and 2.1 as well. >>> >>> On Wed, Apr 4, 2012 at 1:51 PM, Cisco Developer Community Forums < >>> cdicuser@developer.cisco.com> wrote: >>> >>>> Janine Graves has created a new message in the forum "CVP - All >>>> Versions": >>>> >>>> -------------------------------------------------------------- >>>> With my code, you don't hear the TTS speaking from the test.vxml code? >>>> It works on my CVP8 system. What version of Studio and VXmlServer do you >>>> have?Back in CVP 7, you needed an Audio element to play to caller (say >>>> hello or something) before using a Subdialog Invoke element. On 4/4/2012 >>>> 12:47 PM, Cisco Developer Community Forums wrote: Phani Venigalla has >>>> created a new message in the forum "CVP - All Versions": >>>> -------------------------------------------------------------- I am using >>>> your code only...I did what ever you suggeested in the previous >>>> discussions. On Wed, Apr 4, 2012 at 1:39 PM, Cisco Developer Community >>>> Forums < cdicuser@developer.cisco.com> wrote: > Janine Graves has >>>> created a new message in the forum "CVP - All Versions": > > >>>> -------------------------------------------------------------- > Why don't >>>> you just try replacing your menu with my code below. Perhaps the > gateway >>>> doesn't like a menu with 1 option. Also you need a return statement > or >>>> your license will be hung on VxmlServer for 30 minutes. When I omit the > >>>> return statement, my subdialog invoke works, but I do get an error in the > >>>> log. On 4/4/2012 12:27 PM, Cisco Developer Community Forums wrote: Phani > >>>> Venigalla has created a new message in the forum "CVP - All Versions": > >>>> -------------------------------------------------------------- I follow the >>>> > same and gave Subdialog URI as >>>> http://10.9.13.79:7000/CVP/FlowSheet.vxmlI tested the by accessing >>>> from Internet explorer the vxml file is getting > shown. I tried with >>>> LoacalApplication : True and False. Call gets dropped > at the Subdialog >>>> Invoke and Activity log file shown Zero bytes. On Wed, Apr > 4, 2012 at >>>> 1:09 PM, Cisco Developer Community Forums < > >>>> cdicuser@developer.cisco.com> wrote: > Janine Graves has created a new >>>> > message in the forum "CVP - All Versions": > > > >>>> -------------------------------------------------------------- > I used the >>>> > vxml code below and put the code into a file > > >>>> C:/CVP/VXMLServer/Tomcat/webapps/CVP/test.vxml (at IP address 10.1.78.72) > >>>> > > In the Subdialog invoke element I configured > SubdialogUIR: > >>>> http://10.1.78.72:7000/CVP/test.vxml > Local Application:false > (I >>>> left > Parameter and Return Value empty) > > This all worked just fine. > > >>>> > test.vxml: > <?xml version="1.0"?> > <vxml version="2.0"> > <form> > >>>> <field > name="test" type="digits"> > <property name="inputmodes" > >>>> value="dtmf"></property> > <prompt>Enter some digits</prompt> > <filled> > >>>> > you entered <value expr="test"/> > <return/> > </filled> > </field> > > >>>> </form> > </vxml> > -- > To respond to this post, please click the > >>>> following link: > > < > > >>>> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5406548> >>>> > > > or simply reply to this email. -- To respond to this post, please > >>>> click the following link: < > >>>> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5406589> >>>> > or simply reply to this email. -- Janine Graves > -- > To respond to this >>>> post, please click the following link: > > < > >>>> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5404933> > > > or simply reply to this email. -- To respond to this post, please >>>> click the following link: < >>>> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5404957> >>>> or simply reply to this email. -- Janine Graves >>>> -- >>>> To respond to this post, please click the following link: >>>> >>>> < >>>> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5406667 >>>> > >>>> >>>> or simply reply to this email. >>> >>> >>> >> > -- To respond to this post, please click the following link: <http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5406872> or simply reply to this email. -- Janine Graves
I am using Gmail and just publishing in Cisco forums.
On Wed, Apr 4, 2012 at 6:33 PM, Cisco Developer Community Forums <
cdicuser@developer.cisco.com> wrote:
> GEOFFREY THOMPSON has created a new message in the forum "CVP - All
> Versions":
>
> --------------------------------------------------------------
> Hey Phani Venigalla,
>
> What sort of email client are you using?
>
> Your posts to the forum through your email client come to me as just one
> line – no line breaks, no paragraphs etc. Very hard to read. Can you
> rectify this please?
>
> Regards,
> Geoff
> --------------------------------------------------------------------
> Geoff Thompson Unified Contact Center Practice
> Email: geoff@hp.com HP Technology Consulting
> Phone: +1.408.447.4297 Hewlett-Packard Company
> Mobile: +1.408.204.5297 19111 Pruneridge Ave, Cupertino, CA 95014
> ____________________________________________________________________
> --
> To respond to this post, please click the following link:
>
> <
> http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/5405517
> >
>
> or simply reply to this email.
Now the log shown as below
GlobalErrorLogger
04/04/2012 19:36:12.702, SERVER ERROR: There has been an error with the http session: a request was made due to an event caught in the root document that refers to a session that has already ended. URI: /CVP/Server
Activity Log
Flowsheet,element,warning,A session has timed out after 3 minutes. This is most likely caused by a start of call class or action element at the top of the callflow not completing before the voice browser's fetch timeout occurred. To resolve it ensure this class executes in a timely manner or run it in the background. Session timeouts may also occur under high load or if there are issues with a load balancer or voice browser.
Please let me know whats wrong.
Yes i issued i could see other applications running on when i issue terminal monitor
How could we see specific application
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: