Hi Simon
Yes
if(dataProtocolCapability.GetTag() !=H245_DataProtocolCapability::e_hdlcFrameTunnelling)
it was returning false
If I change the line
const H245_DataProtocolCapability & dataProtocolCapability = (H245_DataProtocolCapability &)pdu.m_application;
to
const H245_DataProtocolCapability & dataProtocolCapability = pdu.m_application;
then it works fine.
What should I do? suggest
Regards
I'm not following what you are saying.
Are you saying
if (dataProtocolCapability.GetTag() !=
H245_DataProtocolCapability::e_hdlcFrameTunnelling)
is returning false?
That is the tag that is being set in the OnSendPDU so are you referring to
another device sending another tag? I'm a little confused.
Simon
-----Original Message-----
From: h323plus-bounces@lists.packetizer.com
[mailto:h323plus-bounces@lists.packetizer.com ]On Behalf Of mohammad alam
Sent: Wednesday, January 23, 2008 11:31 PM
To: H323plus
Subject: [h323plus] H323_h224 remote find capability fails
Hi Simon
I have taken a latest h323plus lib through VCS today.
here
remoteCapabilities.FindCapability("H.224") fails
as
BOOL H323_H224Capability::OnReceivedPDU(
const H245_DataApplicationCapability & pdu)
returns false
alam.