<?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>RE: CVP Subdialog Return Issue</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=" />
  <subtitle>RE: CVP Subdialog Return Issue</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_recent_posts?p_l_id=</id>
  <updated>2013-06-20T09:59:30Z</updated>
  <dc:date>2013-06-20T09:59:30Z</dc:date>
  <entry>
    <title>Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - General Di</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16320444" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16320444</id>
    <updated>2013-06-18T21:06:41Z</updated>
    <published>2013-06-18T21:06:41Z</published>
    <summary type="html">Pedro,
Can you turn on logging on the VXML gateway and see if you can determine 
the problem?
"term mon" followed by "debug http client error"</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-18T21:06:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: CVP Database Action Element</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16306067" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=16306067</id>
    <updated>2013-06-18T14:12:00Z</updated>
    <published>2013-06-18T14:12:00Z</published>
    <summary type="html">[quote=Gerard O&amp;#039;Rourke]Janine,

Using your code above, I get a error on "import com.audium.server.action.database.DatabaseAction;"
See attached.
Any ideas why? The framework.jar is included in my java build path.

CVP 9.0.1 is the CVP Studio version.
Any help much appreciated.

Gerry

[img]http://orourke.tv/uploads/error.png[/img]
Gerry[/quote]
Hi Gerry,

My guess is that you don't have elements.jar in your classpath. It's only needed for a few things (like extending the Studio Database element).
You'll add it to the Java Project under Project/Properties/Java Build Path / Libraries / Add External Jar - 
elements.jar is located in the Studio Debugger directory C:\Cisco\CallStudio\eclipse\plugins\com.audiumcorp.studio.debug.runtime_9.0.1-SNAPSHOT\AUDIUM_HOME\common\lib\elements.jar
[img][/img]
[img][/img]</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-18T14:12:00Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Hemal Mehta in Customer Voice Portal (CVP) - CVP - All</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15944378" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15944378</id>
    <updated>2013-06-06T18:54:15Z</updated>
    <published>2013-06-06T18:54:15Z</published>
    <summary type="html">Hemal,
I teach the CVP Studio programming class. So I need to teach students 
how to use the Studio DB element. Not everyone knows Java or has a Java 
programmer on the payroll. I'm hoping that Cisco improves the existing 
Studio DB element (and adds more Studio elements) so that it becomes 
more useful out of the box - like many other IVR vendors have done for 
years.
Janine</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-06T18:54:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Call Studio Database Element and Stored Procedures</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15935519" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15935519</id>
    <updated>2013-06-06T15:00:36Z</updated>
    <published>2013-06-06T15:00:36Z</published>
    <summary type="html">[quote=Edward Umansky]Unfortunately, this cannot be done with the built-in Call Studio element. The problem is that Oracle stored procs simply don't work the way they do in SQL Server. In SQL Server, a stored proc can return a resultset - a tabular list of values - just like a select statement.

Oracle stored procedures simply don't allow that. Instead, Oracle stored procs return data by defining "output" parameters which you must register and pass into the stored proc itself. Once the procedure is executed, these output parameters hold the results returned. Since the built-in db element depends on resultsets for returned data, and has no facility to define and register outbput parameters, it can't be used to call Oracle stored procedures and retrieve results.

You would need to write a completely custom element to do this. A good example of the code you need can be found here: [url=http://www.mkyong.com/jdbc/jdbc-callablestatement-stored-procedure-out-parameter-example/]http://www.mkyong.com/jdbc/jdbc-callablestatement-stored-procedure-out-parameter-example/[/url]
[/quote]Hi Ed, 
Can you also show an example of how to call a Stored Proc when using MS SQL? Is it done using Type: Single (or Multiple, depending on the number of rows returned?) or is it Type:Update? 
And for the Sql Query, must you enter something like 'call procName(param1, param2)'  or 'exec procName(param1, param2)' ?</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-06T15:00:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Call Studio Database Element and Stored Procedures</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15935374" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15935374</id>
    <updated>2013-06-06T14:56:00Z</updated>
    <published>2013-06-06T14:56:00Z</published>
    <summary type="html">[quote=Edward Umansky]Unfortunately, this cannot be done with the built-in Call Studio element. The problem is that Oracle stored procs simply don't work the way they do in SQL Server. In SQL Server, a stored proc can return a resultset - a tabular list of values - just like a select statement.

Oracle stored procedures simply don't allow that. Instead, Oracle stored procs return data by defining "output" parameters which you must register and pass into the stored proc itself. Once the procedure is executed, these output parameters hold the results returned. Since the built-in db element depends on resultsets for returned data, and has no facility to define and register outbput parameters, it can't be used to call Oracle stored procedures and retrieve results.

You would need to write a completely custom element to do this. A good example of the code you need can be found here: [url=http://www.mkyong.com/jdbc/jdbc-callablestatement-stored-procedure-out-parameter-example/]http://www.mkyong.com/jdbc/jdbc-callablestatement-stored-procedure-out-parameter-example/[/url]
[/quote]Hi Ed,

I can't test Oracle, but MySql stored procedures work with Studio Database element, and they also have in, out parameters. With MySql you use one element to execute the Stored Proc, and another element to retrieve the resulting variables from the database! If you have Oracle, perhaps you can test this out and let me know if it works.


[b]--This is how I created the Stored Proc on MySql[/b]
delimiter //
create procedure accountbal(in oacctnum int, out obalance int)
begin
  select balance1 into obalance from account where acctnum=oacctnum;
end //

[b]And then in Studio, execute the stored procedure from a Studio DB element[/b]:
[b]Type: Update
SQL Query: call accountbal(1111, @dbvarBalance)[/b]

And then execute another Studio DB element to get the value from the database variable[b] @dbvarBalance[/b] into Studio element data named '[b]acctBalance[/b]', 
[b]Type: 'Single' [/b]
[b]SQL Query: select @[/b][b]dbvarBalance [/b][b]as acctBalance
[/b]</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-06T14:56:00Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Edward Umansky in Customer Voice Portal (CVP) - Genera</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15911486" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15911486</id>
    <updated>2013-06-05T22:13:15Z</updated>
    <published>2013-06-05T22:13:15Z</published>
    <summary type="html">THANKS! I will try that tomorrow. On 6/5/2013 5:55 PM, Cisco Developer Community Forums wrote: To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15911321 or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-05T22:13:15Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Ronald Marin in Customer Voice Portal (CVP) - CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15867658" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15867658</id>
    <updated>2013-06-04T19:40:00Z</updated>
    <published>2013-06-04T19:40:00Z</published>
    <summary type="html">[quote=Ronald Marin][quote=Janine Graves]There are no say it smarts that come with Studio out of the box that 
allow you to spell a word, letter by letter. You must write your own Say 
it Smart.[/quote]

Any piece of code you can Share????[/quote]
I'm posting a spelling say it smart that was written for class room purposes.  It's not production ready unless you test it out thoroughly in your environment. In the CVPD-Java training class that I teach, you would leard to write your own Say it Smarts....TrainingTheExperts(dot)com</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-04T19:40:00Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Ronald Marin in Customer Voice Portal (CVP) - CVP - Al</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15850749" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15850749</id>
    <updated>2013-06-04T13:32:41Z</updated>
    <published>2013-06-04T13:32:41Z</published>
    <summary type="html">There are no say it smarts that come with Studio out of the box that 
allow you to spell a word, letter by letter. You must write your own Say 
it Smart.</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-04T13:32:41Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Custom Element to Create a new log file.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15819546" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15819546</id>
    <updated>2013-06-03T15:20:03Z</updated>
    <published>2013-06-03T15:20:03Z</published>
    <summary type="html">[quote=Hi,
[b]Yes, if you just keep the tags to log the &lt;event id="custom"/&gt;, and the id="start" and "end" (which are required)  then your log would look like mine below.[/b]][b]
Note that you won&amp;#039;t see the name of the element that&amp;#039;s performing the AddToLog this way though. I&amp;#039;ve used 2 different AddToLog elements which were separated by some other Studio elements. You can&amp;#039;t see this though. So, if it&amp;#039;s important you can either include  the tag for id="elementEnter" (in which case, you'll get the name of every studio element in the log) or you could[/b][b]include the info in the Settings of the AddToLog element.[/b]

1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,newcall,
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,ani,4072
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,areacode,NA
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,exchange,NA
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,dnis,2072
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,uui,NA
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,iidigits,NA
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,parameter,_dnis=2072
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.062,,start,parameter,_ani=4072
[b]192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.078,,custom,test,123
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.078,,custom,hour,11
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.078,,custom,minute,9
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.078,,custom,test3,
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:47.078,,custom,,test4
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:50.078,,custom,digits,1234[/b]
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:50.140,,end,how,app_session_complete
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:50.140,,end,result,normal
192.168.0.194.1370272187000.0.MyApp,06/03/2013 11:09:50.140,,end,duration,3
Here&amp;#039;s what I included in my CustomLog
[b][/b]&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE configuration SYSTEM "../../../../dtds/ActivityLoggerConfig.dtd"&gt;
&lt;configuration version="1.0" name="ActivityLog"&gt;
&lt;format delimiter="," remove_delimiter_from_content="true" date_format="standard" date_granularity="milliseconds"/&gt;
&lt;scope logging_level="Complete"&gt;
&lt;definitions&gt;
&lt;level name="Complete"&gt;
[b]&lt;event id="start"/&gt;
&lt;event id="end"/&gt;
&lt;event id="custom"/&gt;[/b]
&lt;/level&gt;
&lt;/definitions&gt;
&lt;/scope&gt;
&lt;rotation&gt;
&lt;by_size mb_limit="100"/&gt;
&lt;/rotation&gt;
&lt;/configuration&gt;[b][/b]










Pedro RegoThank you again Janine,I glad, "AddtoLog" its works  perfecet exactly we need. Thank you, Thank you , Thank You.

Sorry anoying again,  I create a CustomLog like your instruction, and i can filter a lot of thing i need, but it is possible use this way to create a log exactly like Actitvty with filter on one type "custom"Example we create some logs using your Element to AddtoLog, i we need we showed only on new Log with name "Customlog"

The issue is the new log showed anykind of type caleed "custom"192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,newcall,

192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,ani,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,areacode,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,exchange,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,dnis,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,uui,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.594,,start,iidigits,NA
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.697,,custom,NEW_LOG_USE_NEW_ELEMENT,       --&gt; Custom Element      
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:30.698,,custom,REGULARCUSTOM,REGULARLOG       --&gt; Regular Log on Element Defautl on System 
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:34.713,,end,how,hangup
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:34.713,,end,result,normal
192.168.10.157.1370267790515.0.Sac_N1_v2,06/03/2013 10:56:34.713,,end,duration,4

Customlog
com.audium.logger.application.activity.ActivityLogger

&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;!DOCTYPE configuration SYSTEM "../../../../dtds/ActivityLoggerConfig.dtd"&gt;
&lt;configuration version="1.0" name="ActivityLog"&gt;
&lt;format delimiter="," remove_delimiter_from_content="true" date_format="standard" date_granularity="milliseconds"/&gt;
&lt;scope logging_level="Complete"&gt;
&lt;definitions&gt;
&lt;level name="Complete"&gt;
&lt;event id="start"/&gt;
&lt;event id="end"/&gt;
&lt;event id="custom"/&gt;
&lt;/level&gt;
&lt;/definitions&gt;
&lt;/scope&gt;
&lt;rotation&gt;
&lt;by_size mb_limit="100"/&gt;
&lt;/rotation&gt;
&lt;cache&gt;
&lt;per_call kb_limit="50" allocate="once"/&gt;
&lt;/cache&gt;
&lt;/configuration&gt; 
[/quote]</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-06-03T15:20:03Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - Genera</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15771250" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15771250</id>
    <updated>2013-05-31T20:30:37Z</updated>
    <published>2013-05-31T20:30:37Z</published>
    <summary type="html">Hi Pedro, Look on the forum for the attachment with code for a custom element with a repeatable setting of Name=Value pairs that are added to the Activity Log. 
Regards, Janine
TrainingTheExperts(dot)com</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-31T20:30:37Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Pedro Rego in Customer Voice Portal (CVP) - General Di</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15768536" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15768536</id>
    <updated>2013-05-31T19:11:34Z</updated>
    <published>2013-05-31T19:11:34Z</published>
    <summary type="html">Yes, that seems to be how the Add to Log box works - kind of bizarre, but I also noticed about a year ago that it doesn't log in the order displayed. If you need it to log in a certain order, you might want to create your own custom element with a repeatable setting. And then within the Java code, retrieve the items in the settings and perform AddToLog() - that will display in the correct order. Janine On 5/31/2013 11:18 AM, Cisco Developer Community Forums wrote: Pedro Rego has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- We make a some tests with ordinary element application modifier or anykind of element and we had a strange behavior describes below: We create a log with 4 lines but he showed on log out of order. ELEMENT LOG NAME1, LINE1 NAME2, LINE2 NAME3, LINE3 NAME4, LINE4 activty.log 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME2,LINE2 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.686,WittelGetHora_1_Start,custom,NAME4,LINE4 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.705,WittelGetHora_1_Start,custom,NAME3,LINE3 192.168.10.157.1370010484534.0.Sac_N1_v2,05/31/2013 11:28:04.706,WittelGetHora_1_Start,custom,NAME1,LINE1 How can this works? Its possible put on order? Thanks -- To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15760914 or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-31T19:11:34Z</dc:date>
  </entry>
  <entry>
    <title>RE: Simple Custom Element to Create a new log file.</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15701925" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15701925</id>
    <updated>2013-05-29T20:13:58Z</updated>
    <published>2013-05-29T20:13:58Z</published>
    <summary type="html">Hi Pedro,
Do you want to create another activity log? But with a specific name?
 You can easily do this without writing [b]any [/b]custom code by going to [b]Project/Properties[/b][b]/CallStudio/Ge[/b][b]neral[/b] in studio and select to [b]Add... [/b]next to the list of loggers. The logs will become subfolders of the VxmlServer/applications/AppName/logs/[b]CustomerLogs [/b] folder. But, you can give Read permissions to your customer for just this folder.
 
 

[b]Project/Properties[/b][b]/CallStudio/Ge[/b][b]neral[/b]  then press [b]ADD...[/b]

 Name: [b]CustomerLogs [/b]
 Class: [b]com.audium.logger.application.activity.ActivityLogger
 [/b]Select the 2 checkboxes (enforce call event order, include config file)

 Then press [b]Edit [/b]and enter the following (omit any of the items that you don't want logged).[b]
 
 FileName: CustomerLogs.txt
 [/b]
[b]
 &lt;?xml version="1.0" encoding="UTF-8"?&gt;
 &lt;!DOCTYPE configuration SYSTEM "../../../../dtds/ActivityLoggerConfig.dtd"&gt;
 &lt;configuration version="1.0" name="ActivityLog"&gt;
 &lt;format delimiter="," remove_delimiter_from_content="true" date_format="standard" date_granularity="milliseconds"/&gt;
 &lt;scope logging_level="Complete"&gt;
 &lt;definitions&gt;
 &lt;level name="Complete"&gt;
 &lt;event id="start"/&gt;
 &lt;event id="end"/&gt;
 &lt;event id="elementEnter"/&gt;
 &lt;event id="elementExit"/&gt;
 &lt;event id="elementFlag"/&gt;
 &lt;event id="defaultInteraction"/&gt;
 &lt;event id="elementData"/&gt;
 &lt;event id="custom"/&gt;
 &lt;event id="hotlink"/&gt;
 &lt;event id="hotevent"/&gt;
 &lt;event id="warning"/&gt;
 &lt;event id="systemError"/&gt;
 &lt;event id="javaApiError"/&gt;
 &lt;event id="xmlApiError"/&gt;
 &lt;event id="vxmlError"/&gt;
 &lt;/level&gt;
 &lt;/definitions&gt;
 &lt;/scope&gt;
 &lt;rotation&gt;
 &lt;by_size mb_limit="100"/&gt;
 &lt;/rotation&gt;
 &lt;purge&gt;
 &lt;file_count greater_than="100"/&gt;
 &lt;/purge&gt;
 &lt;/configuration&gt;
 [/b]
 
 
 
 
 
 
 
 
On 5/28/2013 11:51 AM, Cisco Developer Community Forums wrote:
 
[quote]Pedro Rego has created a new message in the forum "CVP - All Versions": -------------------------------------------------------------- We need write some stuff on oneÂ  customization log.
 We need create a [b]new element[/b] with where input the directory and the name of this logs.
 The structure is like activity log but with little differences.
 The intuit is create a flags for customer find quickly some behavior for your own customer.
 [b]acityvity.log[/b]
 [b]192.168.10.157.1369750460189.0.Sac_N1_v2,05/28/2013 11:14:21.146,DATABASE_Consulta_CPF_EC,enter,[/b]
 [b]custom.log[/b]
 [b]05/28/2013 11:14:21.146,DATABASE Connect OK[/b]
 Colud you give a sampleÂ  java code for this?
 Thanks.
 --
 To respond to this post, please click the following link: [url=http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15652602]http://developer.cisco.com/web/cvp/forums/-/message_boards/view_message/15652602[/url] or simply reply to this email.[/quote]
 
-- 
Janine Graves

 </summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-29T20:13:58Z</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=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: 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>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 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>Re: New Message from Scope Future 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=15197355" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=15197355</id>
    <updated>2013-05-13T14:45:31Z</updated>
    <published>2013-05-13T14:45:31Z</published>
    <summary type="html">I have CVP 8.5 and mine sometimes sends the error back to VxmlServer gracefully, and other times not. I haven't been able to determine why it sometimes errors out. So, I don't think it's been fixed yet... On 5/13/2013 6:38 AM, Cisco Developer Community Forums wrote: Scope Future has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- Hi All, Â  We are using CVP 8.5, when there is a no resource error the gateway is not sending the call back to ICM and VXML Server doesn't free the license. By any chance did anyone come across this error earlier. From the forum I came to know that this is a bug in CVP, can anyone tell me if this issue is fixed in the later releases of CVP 8.5. Thanks in Advance!!! -- To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/community/-/message_boards/view_message/15190165 or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-13T14:45:31Z</dc:date>
  </entry>
  <entry>
    <title>RE: Noresource Error</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14996890" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14996890</id>
    <updated>2013-05-07T00:17:37Z</updated>
    <published>2013-05-07T00:17:37Z</published>
    <summary type="html">Is it the same problem as I posted a while back:  http://developer.cisco.com/web/cvp/forums/-/message_boards/message/4112446?p_p_auth=9CwpufpV
If so - I believe it's a bug that Cisco needs to fix. You can open a TAC case.
 
When audio files are missing, if you create a HotEvent element that catches the event (error.badfetch.http) then it shouldn't leave the license 'hung' and you shouldn't hear dead air.
 </summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-07T00:17:37Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Luis Yrigoyen 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=14945775" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14945775</id>
    <updated>2013-05-04T18:57:50Z</updated>
    <published>2013-05-04T18:57:50Z</published>
    <summary type="html">I think this is what you'd want to do: Have ICM QueueToSkillGroup and calculate an estimated wait time (EWT). ICM sends the call into the CBQueue application (to play music) with GS,Server,V interruptible and play whatever duration of music you want (eg, 5 minutes). When the call returns to ICM have ICM subtract the time they've been in queue already (eg, 5 minutes) from the original estimated wait time and have ICM send the call into the CBEntry application using this new ewt, to offer the callback. Everything else can remain the same. Since the call has been queued since the beginning, this should be accurate, I think. On 5/3/2013 3:54 PM, Cisco Developer Community Forums wrote: Luis Yrigoyen has created a new message in the forum "General Discussion - All Versions": -------------------------------------------------------------- It's my first time dealing with CCB (CVP 9) and so far I've managed to get it to work as is (out of the box) but now I have a few questions: Out of the box it comes set to be used under the EWT sceanario but I don't want to use it like that.Â  What I want is to offer callers a call back after a certain time in queue and if they choose yes then I want to schedule a call back for as soon as an agent becomes available. What should be the order in which the elements need to be placed? should the Validate go before the SetQueueDefault? should I leave as is? The element specs guide says that if I set the Max Estimated Wait Time value to 0 in the the SetQueueDefaults element then all the calls will be offered a call back regardless of the ewt value. I've changed this to 0 and I don't get ask for a call back??!!! I guess the qname variable should be the same as the skill group which I want the call back to be assigned to, correct?Â  i.e. my call was queued for skill group Test_SG then the variable qname=Test_SG. is there any documentation on building the studio ccb apps? thank you for your help. Â  -- To respond to this post, please click the following link: http://developer.cisco.com/web/cvp/community/-/message_boards/view_message/14933832 or simply reply to this email. -- Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-04T18:57:50Z</dc:date>
  </entry>
  <entry>
    <title>RE: CVP Subdialog Return Issue</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14901649" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=14901649</id>
    <updated>2013-05-02T22:16:40Z</updated>
    <published>2013-05-02T22:16:40Z</published>
    <summary type="html">Rich,
 I just looked at one of my Activity Logs for a simple app that has 3 Audio elements followed by a CVP_Subd_Return.
 The time stamps  in the Activity log are:
 16:42:17 pWelcome, enter
 16:42:18 pMessageOfDay,enter
 16:42:18 CVP_Subd_Return, enter
 16:42:31CVP_Subd_Return, enter
The Voice Browser on the Vxml Gateway doesn't play Audio elements before returning to VxmlServer. The play request is passed to an HTTP Client process, and the VB returns immediately to VxmlServer (passing back the logging info), and VxmlServer moves forward in the call flow. Thus my time stamps are only 1 second apart even though the audio that plays is much longer than that.

The only time the gateway waits before returning to Vxml Server are either when it's collecting input from the caller or [b]when it's returning from a Subdialog (either CVP_Subd_Return) or (Subd_Return). [/b] 
In my case, it shows that the CVP_Subd_Return element is completed 13seconds after it was sent to the gateway. This is the approximate duration of the audio prompts. 

This is probably what's happening on your system. If you count the number of Audio elements before the CVP_Subd_Return, and add up the duration of the prompts, I think you'll find it matches what looks like the time it takes for the CVP_Subd_Return to execute.
 
Janine
 </summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2013-05-02T22:16:40Z</dc:date>
  </entry>
</feed>

