<?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>how to pass data from ICM to CVP</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2794187" />
  <subtitle>how to pass data from ICM to CVP</subtitle>
  <id>http://developer.cisco.com/c/message_boards/find_thread?p_l_id=&amp;threadId=2794187</id>
  <updated>2013-05-25T06:26:57Z</updated>
  <dc:date>2013-05-25T06:26:57Z</dc:date>
  <entry>
    <title>RE: Re: New Message from Xu Wei 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=12534671" />
    <author>
      <name>Peguy Caddeus</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=12534671</id>
    <updated>2013-03-01T20:30:50Z</updated>
    <published>2013-03-01T20:30:50Z</published>
    <summary type="html">[quote=Janine Graves]Look in the activity log and the error log of the VxmlServer application 
and see what it shows for this call.
These are in C:Cisco/CVP/VXMLServer/applications/appname/logs/ folder

You can also look either in the CVP or Error log of the Call Server to 
see if ICM is passing the data correctly
These are in C:Cisco/CVP/logs/

Ensure that your ICM script is filling in the user.microapp.ToExtVXML[0] 
entry.

Also, in your Studio application, do NOT put anything into the 
CVP_Subdialog_Start element at all.

Janine


On 12/10/2010 11:09 PM, Cisco Developer Community Forums wrote:
&gt; t: when using IP phone to call the program, it have the voice of 
&gt; RecordAudio, I can hear it, when I use softphone and don't pass t

-- 
Janine Graves[/quote]
 
 
Janine, you very cute</summary>
    <dc:creator>Peguy Caddeus</dc:creator>
    <dc:date>2013-03-01T20:30:50Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Xu Wei in Customer Voice Portal (CVP) - General Discus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2821797" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2821797</id>
    <updated>2010-12-11T11:12:22Z</updated>
    <published>2010-12-11T11:12:22Z</published>
    <summary type="html">Look in the activity log and the error log of the VxmlServer application 
and see what it shows for this call.
These are in C:Cisco/CVP/VXMLServer/applications/appname/logs/ folder

You can also look either in the CVP or Error log of the Call Server to 
see if ICM is passing the data correctly
These are in C:Cisco/CVP/logs/

Ensure that your ICM script is filling in the user.microapp.ToExtVXML[0] 
entry.

Also, in your Studio application, do NOT put anything into the 
CVP_Subdialog_Start element at all.

Janine


On 12/10/2010 11:09 PM, Cisco Developer Community Forums wrote:
&gt; t: when using IP phone to call the program, it have the voice of 
&gt; RecordAudio, I can hear it, when I use softphone and don't pass t

-- 
Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2010-12-11T11:12:22Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Xu Wei 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=2821766" />
    <author>
      <name>Xu Wei</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2821766</id>
    <updated>2010-12-11T10:09:42Z</updated>
    <published>2010-12-11T10:09:42Z</published>
    <summary type="html">Hi, Janine
Now I have the other CVP script, it's still need the data passed from ICM, now the problem is that: when using IP phone to call the program, it have the voice of RecordAudio, I can hear it, when I use softphone and don't pass the data to ICM, I still can hear the voice of RecordAudio, but when I use softPhone and pass data to ICM, I can;t hear the voice of RecordAudio[color=#000000], it's an error [/color][color=#000000]prompt like that saying "the call is..., please call later". I configer the param user.microapp.ToExtVXML[] to be : concatenate("application=Satisfactory;AgentID=",Call.PeripheralVariable1,";CallKeyOne=",Call.PeripheralVariable2,";CallKeyTwo=",Call.PeripheralVariable3)[/color]
[color=#000000]Is there something worng? where is it?[/color]
[color=#000000][/color]</summary>
    <dc:creator>Xu Wei</dc:creator>
    <dc:date>2010-12-11T10:09:42Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Xu Wei 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=2796353" />
    <author>
      <name>Xu Wei</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2796353</id>
    <updated>2010-12-03T12:20:13Z</updated>
    <published>2010-12-03T12:20:13Z</published>
    <summary type="html">Thanks a lot, I Solved it , set the concatenate("application=ReportAgentID;AgentID=",Call.PeripheralVariable1)</summary>
    <dc:creator>Xu Wei</dc:creator>
    <dc:date>2010-12-03T12:20:13Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Xu Wei 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=2796342" />
    <author>
      <name>Bill Webb</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2796342</id>
    <updated>2010-12-03T12:13:28Z</updated>
    <published>2010-12-03T12:13:28Z</published>
    <summary type="html">So if you have done both of the following:
 
1. Remove the Parameters info in the CVP_Subdialog_Start as you mentioned.
 
2. Add a Set node in your ICM script setting the ECC Variable "Call.user.microapp.UseVXMLParams" to "N" as Janine describes.
 
Then it could be a formatting issue in your other Set node.  In your Set node for Call.user.microapp.ToExtVXML[0] (or whatever array element you are using), you don't need the nested concatenate as you listed in your original post.  Try one of the following:
 
concatenate("application=ReportAgentID;AgentID=",Call.PeripheralVariable1)
 
or just try using static data, to see if it is a formatting error in the original formula:
 
"application=ReportAgentID;AgentID=123456"
 
 - Bill</summary>
    <dc:creator>Bill Webb</dc:creator>
    <dc:date>2010-12-03T12:13:28Z</dc:date>
  </entry>
  <entry>
    <title>RE: Re: New Message from Xu Wei 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=2796335" />
    <author>
      <name>Xu Wei</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2796335</id>
    <updated>2010-12-03T11:58:00Z</updated>
    <published>2010-12-03T11:58:00Z</published>
    <summary type="html">Hi, Thanks for your answer, now I found that when left the CVP_Subdialog_Start's Parameter blank, I can hava the AgentID session, but the session is nothing, I can't get its value. Why? I don't know the reason, What's the problem?</summary>
    <dc:creator>Xu Wei</dc:creator>
    <dc:date>2010-12-03T11:58:00Z</dc:date>
  </entry>
  <entry>
    <title>Re: New Message from Xu Wei in Customer Voice Portal (CVP) - General Discus</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2795481" />
    <author>
      <name>Janine Graves</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2795481</id>
    <updated>2010-12-03T09:17:11Z</updated>
    <published>2010-12-03T09:17:11Z</published>
    <summary type="html">You're basically right, so perhaps some detail in your ICM script is wrong.
You have to set
user.microapp.UseVxmlParams to "N"
user.microapp.ToExtVXML[0] to 
concatenate("application=IDSBGCallCenter;AgentID=",Call.PeripheralVariable1)
(I think you had an extra concatenate that you didn't need and perhaps 
that broke the syntax)
set user.microapp.app_media_lib to ".."
set user.microapp.media_server to "http://VxmlServerIp:7000/CVP/Server

Then in your Studio app, you should be able to access at runtime 
{Data.Session.AgentID} (it's all case-sensitive, as you know).
The variable name will NOT show up in the substitution window, but if 
you enter it from your keyboard so you end up with a reference that 
looks like this {Data.Session.AgentID} then you should be able to access 
it at runtime.

If the data was passed from ICM, you will also see it in the 
VxmlServer's activity log for this application: 
C:\Cisco\CVP\VXMLServer\applications\MyApp\logs\ActivityLog\activity_log.xxxxxxx.txt

If there's an error in your syntax in ICM or if the ToExtVxml array 
isn't large enough to hold your data - then you might find an error in 
the CallServer log in C:\Cisco\CVP\logs\CVP.YYYYMMDD.log or 
Error.YYYYMMDD.log

Janine
www.TrainingTheExperts.com









On 12/2/2010 9:49 PM, Cisco Developer Community Forums wrote:
&gt; Xu Wei has created a new message in the forum "General Discussion - 
&gt; All Versions":
&gt;
&gt; --------------------------------------------------------------
&gt; Now I face a problem about CVP, I need to send some data form ICM to 
&gt; CVP, in the CVP I use the CVP_Subdialog_Start to receive data from 
&gt; ICM. In the Element SpecificationsÂ document , the description about 
&gt; CVP_Subdialog_Start is that:
&gt; Â
&gt; *Data can be passed to the VoiceXML application either as HTTP 
&gt; parameters or VoiceXML parameters (using the &lt;param&gt; tag).Â In the 
&gt; first case (i.e. as HTTP parameters), Call Services will automatically 
&gt; create session data using the name of the data received.Â In the 
&gt; second case (i.e. as VoiceXML parameters), the Subdialog Start element 
&gt; must be configured appropriately in order for the data to be available 
&gt; as element or session data for the duration of the call session.Â For 
&gt; each data passed as a VoiceXML parameter, the repeatable 
&gt; â¿¿Parameterâ¿¿ setting must be configured with the same exact name as 
&gt; the data.*Â Â
&gt; Â
&gt; So in the ICM I set the user.microapp.ToExtVXML[0] to be : 
&gt; "concatenate("application=IDSBGCallCenter;",concatenate("AgentID=",Call.PeripheralVariabl
&gt; e1))", before this element IÂ use the SetÂ VariableÂ Element to set 
&gt; Call.PeripheralVariable1 to be: "123456".Â So I can get an session 
&gt; named AgentID in the CVP, right? According to the document I should 
&gt; set the paramenter to be: AgentID .Then I should get theÂ sessionÂ 
&gt; named AgentID, but now I don't get it ,Â I use Descide Elenent to 
&gt; judge the session , teh result is that the AgentID session is not 
&gt; exit. I 'm so confused. Is there something wrong about that.
&gt;
&gt; Appreciate for you help.
&gt; --
&gt; To respond to this post, please click the following link:
&gt;
&gt; &lt;http://developer.cisco.com/web/cvp/forums/-/message_boards/message/2794186&gt;
&gt;
&gt; or simply reply to this email. 

-- 
Janine Graves</summary>
    <dc:creator>Janine Graves</dc:creator>
    <dc:date>2010-12-03T09:17:11Z</dc:date>
  </entry>
  <entry>
    <title>how to pass data from ICM to CVP</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2794186" />
    <author>
      <name>Xu Wei</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=2794186</id>
    <updated>2010-12-03T10:19:05Z</updated>
    <published>2010-12-03T08:48:49Z</published>
    <summary type="html">Now I face a problem about CVP, I need to send some data form ICM to CVP, in the CVP I use the CVP_Subdialog_Start to receive data from ICM. In the Element Specifications document , the description about CVP_Subdialog_Start is that:
 
[b]Data can be passed to the VoiceXML application either as HTTP parameters or VoiceXML parameters (using the &lt;param&gt; tag).  In the first case (i.e. as HTTP parameters), Call Services will automatically create session data using the name of the data received.  In the second case (i.e. as VoiceXML parameters), the Subdialog Start element must be configured appropriately in order for the data to be available as element or session data for the duration of the call session.  For each data passed as a VoiceXML parameter, the repeatable \¿Parameter\¿ setting must be configured with the same exact name as the data.[/b]   
 
So in the ICM I set the user.microapp.ToExtVXML[0] to be : [color=#3366ff]"concatenate("application=ReportAgentID;",concatenate("AgentID=",Call.PeripheralVariable1))"[/color], before this element I use the Set Variable  Element to set Call.PeripheralVariable1 to be: [color=#3366ff]"123456"[/color].  So I can get an session named AgentID in the CVP, right? According to the document I should set the paramenter to be: [color=#3366ff]AgentID[/color] .Then I should get the session named AgentID, but now I don't get it , I use Descide Element to judge the session , teh result is that the AgentID session is not exit. I 'm so confused. Is there something wrong about that.
 
The version of CVP and ICM is 7.0(1) , 7.5 

Appreciate for you help.
 
now I change the CVP_Subdialog_Start to be nothing, left it blank, now I receivd the AgentID sessoon, but I can't get it's value, it's empty, what can I do?</summary>
    <dc:creator>Xu Wei</dc:creator>
    <dc:date>2010-12-03T08:48:49Z</dc:date>
  </entry>
</feed>

