<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>General Discussion - All Versions</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=1056974" />
  <subtitle />
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=1056974</id>
  <updated>2013-05-26T09:02:44Z</updated>
  <dc:date>2013-05-26T09:02:44Z</dc:date>
  <entry>
    <title>Re: New Message from Arvand Owji in Customer Voice Portal (CVP) - General D</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15498790" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15498790</id>
    <updated>2013-05-22T19:25:51Z</updated>
    <published>2013-05-22T19:25:51Z</published>
    <summary type="html">It helps to know some of the rules of VXML --  &lt;submit&gt; can't be a child of &lt;field&gt; - But you can create a &lt;filled&gt; inside your &lt;field&gt; (filled inside a field executes whenever you collect valid input from the caller for that field). And you can put the &lt;submit&gt; as child of &lt;filled&gt;, and this &lt;filled&gt; is a child of  &lt;field&gt;. Janine</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-22T19:25:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15494102" />
    <author>
      <name>Paul Tindall</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15494102</id>
    <updated>2013-05-22T17:03:41Z</updated>
    <published>2013-05-22T17:03:41Z</published>
    <summary type="html">You have to implement a two-pass approach, exiting with null on the first pass.  The second pass handles the submit response.   See the simple example attached.</summary>
    <dc:creator>Paul Tindall</dc:creator>
    <dc:date>2013-05-22T17:03:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15492539" />
    <author>
      <name>Arvand Owji</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15492539</id>
    <updated>2013-05-22T16:38:00Z</updated>
    <published>2013-05-22T16:38:00Z</published>
    <summary type="html">[quote=Paul Tindall]Without seeing the code, it sounds like you need to use the setOutsideSubmit(false) method.[/quote]
Paul, thanks for your reply. Here is the code. All im doing is playing aan audio and creating a menu ehich its dtmfs and values are coming from a ResultSet Object. I guess i can do this in a much simpler way with dynamic configuration but I really like to know why this does not work. If I remove the Submit form the menufield, i hear the audio but when i choose a correct dtmf, the code errors out. If I add the submit, the audio wont even play and the vxmlis like this:
 
 
&lt;form id="start"&gt;
    &lt;field name="myMenu" modal="false"&gt;
      &lt;property name="inputmodes" value="dtmf" /&gt;
        &lt;prompt bargein="true" count="1"&gt;
        &lt;audio src="http://someip//TestAudio.wav" /&gt;
      &lt;/prompt&gt;
      &lt;option value="1" dtmf="1"&gt;val2&lt;/option&gt;
      &lt;option value="2" dtmf="2"&gt;val1&lt;/option&gt;
      &lt;filled&gt;
        &lt;submit next="/CVP/Server" method="post" namelist="" /&gt;
      &lt;/filled&gt;
    &lt;/field&gt;
  &lt;/form&gt;
&lt;/vxml&gt;
 
 
 
 
protected String addXmlBody(VMain vxml, Hashtable reqParameters, VoiceElementData ved)
 throws VException, ElementException 
 {
 VPreference pref = ved.getPreference();
 
 
 VForm form = VForm.getNew(pref, "start");
 // Make a menu with N options that react to only DTMF and 
 VMenuField menufield = VMenuField.getNew(pref, "myMenu", VMenuField.DTMF);
 VoiceElementConfig config=ved.getVoiceElementConfig(); 
 String Object=config.getSettingValue("DBObject", ved);
 ResultSetList RS = (ResultSetList) ved.getSessionData(Object);
 int NumberOfRows=RS.getNumRows(); 
 int NumberOfCols=RS.getNumColumns(); 
 ved.setElementData("NumberOfCols", NumberOfCols+"", ActionElementData.PD_STRING, true); 
 VAction Submit = VAction.getNew(pref, VAction.SUBMIT, super.getSubmitURL());
 menufield.setPromptCount(1, VAudio.getNew(pref,null,"TestAudio","","wav",false)); 
 for (int i=0; i&lt;NumberOfRows; i++ ){ 
 menufield.setChoice(new VoiceInput((i+1)+"",RS.getValue(1, i)),null,null);
 } 
 menufield.add(Submit);
 form.add(menufield);    // Add the menu to the form.
 vxml.add(form);         // Add myForm to the VMain object
 
 
 return "done";
 }
 
 </summary>
    <dc:creator>Arvand Owji</dc:creator>
    <dc:date>2013-05-22T16:38:00Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15491325" />
    <author>
      <name>Paul Tindall</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15491325</id>
    <updated>2013-05-22T16:18:47Z</updated>
    <published>2013-05-22T16:18:47Z</published>
    <summary type="html">Without seeing the code, it sounds like you need to use the setOutsideSubmit(false) method.</summary>
    <dc:creator>Paul Tindall</dc:creator>
    <dc:date>2013-05-22T16:18:47Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15488468" />
    <author>
      <name>Arvand Owji</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15488468</id>
    <updated>2013-05-22T14:48:25Z</updated>
    <published>2013-05-22T14:48:25Z</published>
    <summary type="html">ok, i think I need to use Action.Submit but add it to a block and add the block to the form. But there is a small problem. VMenuField cant be added to block and if I add it to the Form and add the block with submit to the form, the VFC stops working. Looking at the VXML it shows &lt;filled&gt; is empty and the block is just outside of it. This is obviously not correct. Any idea?</summary>
    <dc:creator>Arvand Owji</dc:creator>
    <dc:date>2013-05-22T14:48:25Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15485869" />
    <author>
      <name>Arvand Owji</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15485869</id>
    <updated>2013-05-22T14:13:18Z</updated>
    <published>2013-05-22T14:13:18Z</published>
    <summary type="html">Janine,
I dont see any VSubmit class in the VFC API. I also tried to add a VAction.Submit to my form but CVP errors out with "Invalid Action Type". Other than the VFCExamples from Programng guide, do you have any other VFC classes that you know it works for sure? Thanks. </summary>
    <dc:creator>Arvand Owji</dc:creator>
    <dc:date>2013-05-22T14:13:18Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Arvand Owji in Customer Voice Portal (CVP) - General D</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15468142" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15468142</id>
    <updated>2013-05-21T21:36:27Z</updated>
    <published>2013-05-21T21:36:27Z</published>
    <summary type="html">you need to have a VSubmit - to submit what you collected back to VXML Server. On 5/21/2013 4:54 PM, Cisco Developer Community Forums wrote: Arvand Owji has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- Hi, Im writing a custom DTMF only menu and I used the VFCExample2.java as the guide. However there seems to be some issues which I cannot figure out. Here is the exceprt of the code I have: Â  VForm form = VForm.getNew(pref, "start"); Â VMenuField menufield = VMenuField.getNew(pref, "myMenu", VMenuField.DTMF); Â  Â  Â VoiceElementConfig config=ved.getVoiceElementConfig(); VAction exit = VAction.getNew(pref, VAction.EXIT ); Â for (int i=0; i&lt;5; i++ ){ Â  Â  Â menufield.setPromptCount(i+1, VAudio.getNew(pref,null,somearray+"","","wav",false));Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  menufield.setChoice(new VoiceInput((i+1)+"","Value"+i),null,exit); Â Â }Â  Â  Â  Â  Â  Â  Â  form.add(menufield); Â  Â  Â  Â vxml.add(form);Â  Â  Â  Â  Â  Â return "done";Â  Â  Â  Â  Â  Â  Â  Â  Â  When I run the Â code, I can hear the audio, and I can also confirm that the nomatch and noinput works. But if I press a correct dtmf, the calls hangs up. Looking at the VFC api, seems Exit is not the correct action to use in SetChoice as it hangs up the call. So im wondering what should I use instead? I also tried to pass null insted of exit looked and I got the same result. I looked the resulting VXML for both cases and the &lt;filled&gt; tag is much different from a vxml code generated from a real menu element (such as Studio 2 options menu). In Studio menu, I can see &lt;Submit next="/CVP/Server .....&gt; but the VFC element lacks all those. Any idea what I need to set for the VFC menu to work? Thanks. -- To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/community/-/message_boards/view_message/15465482 or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-21T21:36:27Z</dc:date>
  </entry>
  <entry>
    <title>Simple Menu with VFC</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15465482" />
    <author>
      <name>Arvand Owji</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15465482</id>
    <updated>2013-05-21T20:54:06Z</updated>
    <published>2013-05-21T20:54:06Z</published>
    <summary type="html">Hi,
Im writing a custom DTMF only menu and I used the VFCExample2.java as the guide. However there seems to be some issues which I cannot figure out.
Here is the exceprt of the code I have:
 
VForm form = VForm.getNew(pref, "start");
 VMenuField menufield = VMenuField.getNew(pref, "myMenu", VMenuField.DTMF);
 
 
 VoiceElementConfig config=ved.getVoiceElementConfig();
VAction exit = VAction.getNew(pref, VAction.EXIT );
 for (int i=0; i&lt;5; i++ ){
     menufield.setPromptCount(i+1, VAudio.getNew(pref,null,somearray[i]+"","","wav",false));                         
      menufield.setChoice(new VoiceInput((i+1)+"","Value"+i),null,exit);
  }             
form.add(menufield);    
 
 vxml.add(form);       
 
 return "done";                 
When I run the  code, I can hear the audio, and I can also confirm that the nomatch and noinput works. But if I press a correct dtmf, the calls hangs up. Looking at the VFC api, seems Exit is not the correct action to use in SetChoice as it hangs up the call. So im wondering what should I use instead? I also tried to pass null insted of exit looked and I got the same result. I looked the resulting VXML for both cases and the &lt;filled&gt; tag is much different from a vxml code generated from a real menu element (such as Studio 2 options menu). In Studio menu, I can see &lt;Submit next="/CVP/Server .....&gt; but the VFC element lacks all those. Any idea what I need to set for the VFC menu to work? Thanks.</summary>
    <dc:creator>Arvand Owji</dc:creator>
    <dc:date>2013-05-21T20:54:06Z</dc:date>
  </entry>
  <entry>
    <title>Use application specific log4j.xml</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15462697" />
    <author>
      <name>Muhammad Ghandour</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15462697</id>
    <updated>2013-05-21T19:23:33Z</updated>
    <published>2013-05-21T19:23:33Z</published>
    <summary type="html">Dears, 
Could we load more than one xml configuration file for loggers , log4j.xml or any other logger, to be one log configuration file for each application deployed on the VXML server ?!!, because when i did that( using domconfigurator on the application start class of each application ) the vxml sever is always overwriting one of them with the other and uses it for both applications which is wrong !!!!
Would anyone here ever HELP ?!!!!</summary>
    <dc:creator>Muhammad Ghandour</dc:creator>
    <dc:date>2013-05-21T19:23:33Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Graham Whitelam in Customer Voice Portal (CVP) - Gener</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15413594" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15413594</id>
    <updated>2013-05-20T11:58:27Z</updated>
    <published>2013-05-20T11:58:27Z</published>
    <summary type="html">Did you try putting both jar files into the application's deploy/java/application/lib folder? Or did you restart VxmlServer when you had the files in the java/util directory (it's only reloaded on a restart of VxmlServer). If you want to try these options, you must remember to take the jar files out of the VxmlServer/common directory because VxmlServer/common takes precedence.  And restart VxmlServer.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-20T11:58:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Janine Graves in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15409430" />
    <author>
      <name>Graham Whitelam</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15409430</id>
    <updated>2013-05-20T08:09:27Z</updated>
    <published>2013-05-20T08:09:27Z</published>
    <summary type="html">Hi Janine,

Thank you for the swift response. Here’s a bit more detail: -


·         I have a StartCall class which uses the Hibernate API to read data from a database. It then stores some Java beans as session data. I then have a decision element which retrieves the data from the CVP session. When the decision element executes I get the ClassNotFoundException even though the bean class is in the java/util/lib folder for the application. Also the StartCall element can find the class when it executes which is strange.

·         I have a decision element which contacts a server using a bespoke XML API over TCP and fetches some data. The data is then stored in a CVP session variable. A SayItSmart element that I developed then tries to access that data but I get the ClassCastException (even though the Object passed to the SayItSmart is of the correct class). I believe that this is a class-loader issue as the two objects cannot be cast as they were loaded with different class loaders.

I guess I’m looking for what is best practice to avoid the issues above. Although I resolved the issue, copying the jar files to an area which makes them accessible to all applications seems a little inelegant. The contents of the two application lib folders are shown below. I have removed the element jar file name as it contained the customer name: -

Java/application/lib
17/05/2013  14:19            57,809 &lt;CVP Element Jar File&gt;.jar

Java/util/lib
15/05/2013  12:08           443,432 antlr-2.7.6.jar
15/05/2013  12:08           559,366 commons-collections-3.1.jar
15/05/2013  12:08            60,686 commons-logging-1.1.1.jar
15/05/2013  12:08           313,898 dom4j-1.6.1.jar
15/05/2013  12:08            71,283 hibernate-commons-annotations-3.2.0.Final.jar
15/05/2013  12:08         3,123,360 hibernate-core-3.6.10.Final.jar
15/05/2013  12:08           102,661 hibernate-jpa-2.0-api-1.0.1.Final.jar
15/05/2013  12:08           644,148 javassist-3.12.1.GA.jar
15/05/2013  12:08            15,071 jta-1.1.jar
15/05/2013  12:08           489,884 log4j-1.2.17.jar
15/05/2013  12:08         2,714,189 ojdbc6-11.2.0.3.0.jar
15/05/2013  12:08            25,496 slf4j-api-1.6.1.jar
15/05/2013  12:08            10,336 slf4j-simple-1.6.6.jar
15/05/2013  12:30             7,188 xmlpull-1.1.3.1.jar
15/05/2013  12:30            24,956 xpp3_min-1.1.4c.jar

Graham

From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
Sent: 17 May 2013 18:50
To: cdicuser@developer.cisco.com
Subject: New Message from Janine Graves in Customer Voice Portal (CVP) - General Discussion - All Versions: Re: New Message from Graham Whitelam in Customer Voice Portal (CVP) - Gener

Janine Graves has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- Are your jar files using any external libs (other than things you wrote from scratch) - like AXIS, Jaxb, etc? Some of these things need to be loaded by Tomcat in a certain order.
--
To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15376360 or simply reply to this email.
______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________




This email has been scanned for all viruses.

Please consider the environment before printing this email.

The content of this email and any attachment is private and may be privileged. If you are not the intended recipient, any use, disclosure, copying or forwarding of this email and/or its attachments is unauthorised. If you have received this email in error please notify the sender by email and delete this message and any attachments immediately. Nothing in this email shall bind the Company or any of its subsidiaries or businesses in any contract or obligation, unless we have specifically agreed to be bound.

KCOM Group PLC is a public limited company incorporated in England and Wales, company number 02150618 and whose registered office is at 37 Carr Lane, Hull, HU1 3RE.

118288 - KCOM Group UK Directory Enquiries. Calls will cost no more than 99p connection + 49p per minute including VAT from a KC or BT landline. Call charges from mobiles and other networks may vary. If you are calling from a mobile you will now receive your requested number via text message. You will not be charged for the text message.


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________</summary>
    <dc:creator>Graham Whitelam</dc:creator>
    <dc:date>2013-05-20T08:09:27Z</dc:date>
  </entry>
  <entry>
    <title>RE: CVP 8.5 Class Loader</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15398996" />
    <author>
      <name>Hemal Mehta</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15398996</id>
    <updated>2013-05-20T01:27:18Z</updated>
    <published>2013-05-20T01:27:18Z</published>
    <summary type="html">[quote=Graham Whitelam]Hello, I have some custom Java elements which I have developed for CVP 8.5. When the call flow is developed, I copy my element jar files to the java/application/lib folder and the dependencies to the java/util/lib folder of the CVP application.
I deploy the application to the VXML server and the jar file are copied across into the application java folder as described above.
When I place a call into the application one of my elements is executed but it throws a ClassCastException. I also see a further problem with another of my elements which throws a ClassNotFoundException even though the class is in one of the jar files deployed with the application as described above.
I can resolve both of the above issues by copying the jar files from the java/application/lib and java/util/lib folder to the Tomcat/webapps/CVP/WEB-INF/lib folder but this seems an unsatisfactory solution. The whole idea of having the jar files specific to the application was to avoid having them globally accessible to all other applications. Am I missing something here? Any help on clalrifying the purpose of the java/application/lib and java/util/lib folders would be greatly appreciated. Many Thanks. Graham.[/quote]
 
 If you a class application specific then it need to go to the java/application/lib folder.  In this uril folder typically you will put libraries related to urilities such such as Math, parsing etcj. Remember that the classes you deploy to util folder will not be updated when you run the update App script.  I generally place third party libraries in  TOMCAT_HOME/common/lib dir. I you have a class that needs to be shared across all applications you need to deploy it in the vxml server common folder.
Hemal
 
 
 
 </summary>
    <dc:creator>Hemal Mehta</dc:creator>
    <dc:date>2013-05-20T01:27:18Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Graham Whitelam in Customer Voice Portal (CVP) - Gener</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15376360" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15376360</id>
    <updated>2013-05-17T17:49:51Z</updated>
    <published>2013-05-17T17:49:51Z</published>
    <summary type="html">Are your jar files using any external libs (other than things you wrote from scratch)  - like AXIS, Jaxb, etc? Some of these things need to be loaded by Tomcat in a certain order.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-17T17:49:51Z</dc:date>
  </entry>
  <entry>
    <title>CVP 8.5 Class Loader</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15372045" />
    <author>
      <name>Graham Whitelam</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15372045</id>
    <updated>2013-05-17T15:53:32Z</updated>
    <published>2013-05-17T15:53:32Z</published>
    <summary type="html">Hello, I have some custom Java elements which I have developed for CVP 8.5. When the call flow is developed, I copy my element jar files to the java/application/lib folder and the dependencies to the java/util/lib folder of the CVP application.
I deploy the application to the VXML server and the jar file are copied across into the application java folder as described above.
When I place a call into the application one of my elements is executed but it throws a ClassCastException. I also see a further problem with another of my elements which throws a ClassNotFoundException even though the class is in one of the jar files deployed with the application as described above.
I can resolve both of the above issues by copying the jar files from the java/application/lib and java/util/lib folder to the Tomcat/webapps/CVP/WEB-INF/lib folder but this seems an unsatisfactory solution. The whole idea of having the jar files specific to the application was to avoid having them globally accessible to all other applications. Am I missing something here? Any help on clalrifying the purpose of the java/application/lib and java/util/lib folders would be greatly appreciated. Many Thanks. Graham.</summary>
    <dc:creator>Graham Whitelam</dc:creator>
    <dc:date>2013-05-17T15:53:32Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jonathan Wood in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15222154" />
    <author>
      <name>Gerard O&amp;#039;Rourke</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15222154</id>
    <updated>2013-05-14T08:04:24Z</updated>
    <published>2013-05-14T08:04:24Z</published>
    <summary type="html">Jonathan,
 
Routing to CVP from Outbound requires you to setup a CVP Translation Route (not used for inbound calls).
Have a look at the below docs:
[url=http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cust_contact/contact_center/pcce/pcce_901/maintenance/guide/b_pcc_features_book_chapter_0100.html]http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cust_contact/contact_center/pcce/pcce_901/maintenance/guide/b_pcc_features_book_chapter_0100.html[/url]
[url=http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/outbound_option/outboundoption9_0/installation/guide/UCCE_BK_O4A87BBC_00_outbound-option-guide-for-cisco_chapter_0101.html]http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/outbound_option/outboundoption9_0/installation/guide/UCCE_BK_O4A87BBC_00_outbound-option-guide-for-cisco_chapter_0101.html[/url]
[url=http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/outbound_option/outboundoption7_2/installation/guide/ba72config.pdf]http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/outbound_option/outboundoption7_2/installation/guide/ba72config.pdf[/url]
Gerry</summary>
    <dc:creator>Gerard O&amp;#039;Rourke</dc:creator>
    <dc:date>2013-05-14T08:04:24Z</dc:date>
  </entry>
  <entry>
    <title>RE: Send DTMF digits with CVP App</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15222024" />
    <author>
      <name>Gerard O&amp;#039;Rourke</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15222024</id>
    <updated>2013-05-14T07:51:51Z</updated>
    <published>2013-05-14T07:51:51Z</published>
    <summary type="html">CVP comes with default audio prompts.
In the en-us/sys folder, there are all the "DTMF" audio prompts. en_0.wav ... en_9.wav and en_pound.wav and en_star.wav.
Try using these audio prompts to play out the DTMF just as you would play out an standard audio file.
Gerry</summary>
    <dc:creator>Gerard O&amp;#039;Rourke</dc:creator>
    <dc:date>2013-05-14T07:51:51Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Gilles Caloz in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15218352" />
    <author>
      <name>Gilles Caloz</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15218352</id>
    <updated>2013-05-14T05:44:03Z</updated>
    <published>2013-05-14T05:44:03Z</published>
    <summary type="html">Hi Harshal,
 
Unfortunately we don't get from Cisco a URL with the wav files - seems that such implementation are platform specific and with Cisco / CVP  seems we don't have such solution.
 
The only workaround for that is to develop your own code in order to get the the wav file locally via Submit/HTTP POST as stated in the VoiceXML 2.1 recommendation.
[url=http://www.w3.org/TR/voicexml21/#sec-reco_reco]http://www.w3.org/TR/voicexml21/#sec-reco_reco[/url]
 
"Like recordings created using the &lt;record&gt; tag, utterance recordings can be submitted to a document server via HTTP POST using the namelist attribute of the &lt;submit&gt;, &lt;data&gt;, and &lt;subdialog&gt; elements. The enctype attribute must be set to "multipart/form-data" [[url=http://www.w3.org/TR/voicexml21/#ref_RFC2388]RFC2388[/url]], and the method attribute must be set to "post". To provide flexibility in the naming of the variable that is submitted to the document server, the interpreter must allow the utterance recording to be assigned to and posted via any valid ECMAScript variable. "
Hope this help
Gilles
 
[quote=Fredrick Cook]Hello Gilles,
I was a good thread that you had started and quite important as well. At present we are looking for the same URL - So that it can be passed on to an Agent to hear the utterance [Which was recorded on Speech Server].
 
Were you able to get any resolution or conclusion ?
 
Thank you
Harshal
 
 
Gilles Caloz:

Hi Hemal,
 
That's exactly the problem. As you propose, it is possible to submit the audio files and then you can save it on your application server. But you will not get the Link (URL) of the file that is already saved on the MRCP Server.

Gilles
 

Gilles,
Try this:
&lt;assign name="element_log_value" expr="application.lastresult$.recording"/&gt;

Let me know, what it shows.

Hemal
.



[/quote]</summary>
    <dc:creator>Gilles Caloz</dc:creator>
    <dc:date>2013-05-14T05:44:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jonathan Wood in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15213318" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15213318</id>
    <updated>2013-05-13T22:43:22Z</updated>
    <published>2013-05-13T22:43:22Z</published>
    <summary type="html">These are some of my very old notes.  The config below is CVP 4.x with SIP and no Outbound Proxy. It’s hard for me to know what you know and what you don’t know, so just think of this as a check list

1. Create a skill group - say CVP_Outbound

2. Create a route - CVP_Outbound.rt

3. Create a call type - say OutboundXfer_CT

4. Create a call type - say Outbound_CT

5. Assume that the transfer label on your type 10 NVRU on the CUCM Routing Client is 8222222222 (not the one on the CVP.RC. Assume you have that and it's the conventional one of 8111111111)

6. Create a SIP trunk to CVP Call Server

7. Create a route pattern in UCM for 8222! associated with the SIP trunk to CVP

8. Create a Transfer to IVR Campaign - Enable IP AMD, Transfer to IVR Route Point, Terminate Tone Detect. Create the normal stuff associated with a campaign - dialer, dialer ports, query rule, import rule. Set it to power dial with 1.00 lines per "agent" (not reall any agents involved here).

9. Add the Skill Group CVP_Outbound.

10. Set the number of IVR ports (less than or equal to the number of dialer ports)

11. Set the IVR Route Point - say 67008

12. Create a corresponding dialed number on the CUCM.RC.67008

13. Map the dialed number CUCM.RC.67008 to the call type OutboundXfer_CT

14. Schedule your CVP script to play back the message (or whatever it does) against the call type OutboundXfer_CT. Modify it as described in 21 below.

15. Create a route point in CUCM and assign it an extension of 67008

16. Associate this route point with your ICM JTAPI user

17. Create an admin script - say CvpOutboundAdmin

18. Set the variable CVP_Outbound.OutboundControl = PROGRESSIVE_ONLY

19. Set the variable CVP_Outbound.OutboundPercentage = 100

20. Schedule the script to run every minute. Don't forget this part.

21. Create a reservation script called, say Outbound, which has an LAA node attached to the CVP_Outbound skill group. Schedule this against the Outbound_CT. This is for phantom calls to reserve "agents".

22. Create a dialed number say 99999 on the Dialer MR PG routing client.

23. Modify your CVP script to have a "Send To VRU" node immediately after the start. You need to get the 8222222222&lt;corr_id&gt; label to the CUCM RC, which then calls the route point and gets the call to CVP. When the script resumes, a second implicit "Send To VRU" node returns 8111111111&lt;corr_id&gt; and you have a static route like "8111&gt;" to get that call leg to the voice gateway. You cannot use "Send To Originator" because the call has not been originated by the IOS gateway SIP user agent.

24. Make sure you have your customer instance defined, and associated with your NVRU, all your dialed numbers and all the NVRU scripts.

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2013-05-13T22:43:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jonathan Wood in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15211522" />
    <author>
      <name>Jonathan Wood</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15211522</id>
    <updated>2013-05-13T22:17:56Z</updated>
    <published>2013-05-13T22:17:56Z</published>
    <summary type="html">I have an administrative skill group since it is an IVR campaign that no one is logged into, but then I have another skill group that you log into and the admin script looks to see if someone in that skill group is available and then lets it run.  I have it setup for one IVR port (as it is in test right now), and I have a cache setting of 20 records.  Do you use CVP for transfer to IVR within CVP?  Is there some dial peer in the GW that needs to be setup to make it work?  Currently when using the IP IVR transfer to IVR, you have to setup a Dialed number DLR.xxxx for it to work.  Do I need to do the same for the CVP route point?</summary>
    <dc:creator>Jonathan Wood</dc:creator>
    <dc:date>2013-05-13T22:17:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: New Message from Jonathan Wood in Customer Voice Portal (CVP) - General</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15212938" />
    <author>
      <name>GEOFFREY THOMPSON</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15212938</id>
    <updated>2013-05-13T22:08:22Z</updated>
    <published>2013-05-13T22:08:22Z</published>
    <summary type="html">You are on the right track. Did you put the route point in with the skill group name and ports in the Skill Group Selection tab of the Campaign?

Regards,
Geoff</summary>
    <dc:creator>GEOFFREY THOMPSON</dc:creator>
    <dc:date>2013-05-13T22:08:22Z</dc:date>
  </entry>
</feed>

