Avaya Support Forums

Avaya Support Forums (http://support.avaya.com/forums/index.php)
-   Contact Center Applications (http://support.avaya.com/forums/forumdisplay.php?f=3)
-   -   How can i get Privet Data using VB.net (http://support.avaya.com/forums/showthread.php?t=77)

osab2000 03-13-2010 09:31 AM

How can i get Privet Data using VB.net
I am trying to read privet data from AES server using AES server 4.2 by VB.Net application unfortunately only privet data is my problem i tried to simulate below C++ code using VB.net but not success is there any one can help

Version:1.0 StartHTML:0000000149 EndHTML:0000002152 StartFragment:0000000199 EndFragment:0000002118 StartSelection:0000000199 EndSelection:0000002118 /////////////////////////////////////////////////////////////////
char requestVersion[] = "6";
ATTPrivateData_t privateData;

(void)strcpy(privateData.vendor, "VERSION");
privateData.data[0] = PRIVATE_DATA_ENCODING;
if (attMakeVersionString(requestVersion, &privateData.data[1]) > 0) {
privateData.length = strlen(&privateData.data[1]) + 2;
privateData.length = 0;
privateData member then passed to acsOpenStream API

Please use following code to get private data:

ATTEvent_t attEvent;
if (attPrivateData(&m_AttPrivateData, &attEvent) != ACSPOSITIVE_ACK)
ERRORLOG("Error in Decode the Private Data ");

m_AttPrivateData come with original Event; Originated, Delivered,



All times are GMT -7. The time now is 12:54 AM.