Avaya Support Forums  

Go Back   Avaya Support Forums > Contact Center Applications

Thread Tools Search this Thread Display Modes
Old 03-13-2010, 09:31 AM
osab2000 osab2000 is offline
Aspiring Member
Join Date: Mar 2010
Posts: 1
osab2000 has 10 reputation points
Default 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,…


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:57 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.