cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Removing CVP values in call data?

21
Views
0
Helpful
0
Comments
This document was generated from CDN thread

Created by: Christopher Nagel on 29-04-2010 10:03:21 PM
Hi,
 
In order to reduce the size of data transmitted with calls and also remain backwards-compatible with released CTIOS clients, I tried the following code to remove CTI values added by CVP to the call:
 
        for( int j = 0; j < 5; j++ )
            eccArgs.SetValue("user.microapp.FromExtVXML["+j+"]", "" ) ;
 
and also
 
        for( int j = 0; j < 5; j++ )
            eccArgs.SetValue("user.microapp.FromExtVXML["+j+"]", (String)null ) ;
 
But both cause SetCallData() to fail.  Are these values protected from being changed, or am I (more likely) just doing it incorrectly?
 
The "eccArgs" Arguments already has another array's values being set, perhaps I need to create another Arguments object for each array I want to change?
 
Thanks,
Chris

Subject: RE: New Message from Christopher Nagel in Computer Telephony Integration Ob
Replied by: David Lender on 30-04-2010 01:33:35 PM
you have to use a *blank* not a null

 
David Lender
Custom Application Engineer
Contact Center Developer Services
dlender@cisco.com
Phone: +1 404 607 0523
Mobile: +1 404 229 3664




Cisco Systems, Inc.
United States
Cisco.com <http://www.cisco.com/>
Cisco Developer Network <http://developer.cisco.com/>


 
  Think before you print.

This email may contain confidential and privileged material for the sole
use of the intended recipient. Any review, use, distribution or
disclosure by others is strictly prohibited. If you are not the intended
recipient (or authorized to receive for the recipient), please contact
the sender by reply email and delete all copies of this message.

For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html



________________________________

From: Cisco Developer Community Forums
[mailto:cdicuser@developer.cisco.com]
Sent: Thursday, April 29, 2010 6:03 PM
To: cdicuser@developer.cisco.com
Subject: New Message from Christopher Nagel in Computer Telephony
Integration Object Server (CTIOS) Toolkit - CTIOS Toolkit Questions:
Removing CVP values in call data?


Christopher Nagel has created a new message in the forum "CTIOS Toolkit
Questions":
--------------------------------------------------------------
Hi,

In order to reduce the size of data transmitted with calls and also
remain backwards-compatible with released CTIOS clients, I tried the
following code to remove CTI values added by CVP to the call:

        for( int j = 0; j < 5; j++ )
            eccArgs.SetValue("user.microapp.FromExtVXML["+j+"]", "" ) ;

and also

        for( int j = 0; j < 5; j++ )
            eccArgs.SetValue("user.microapp.FromExtVXML["+j+"]",
(String)null ) ;

But both cause SetCallData() to fail.  Are these values protected from
being changed, or am I (more likely) just doing it incorrectly?

The "eccArgs" Arguments already has another array's values being set,
perhaps I need to create another Arguments object for each array I want
to change?

Thanks,
Chris
--
To respond to this post, please click the following link:
<http://developer.cisco.com/web/ctios/forums/-/message_boards/message/21
57207>
or simply reply to this email.
CreatePlease to create content