Yes make this change. This was an error on my part. I have check this into the CVS
Simon -----Original Message----- From: mohammad alam [mailto:cheersalam@gmail.com] Sent: Thursday, January 24, 2008 4:54 PM To: Simon Horne Cc: H323plus Subject: Re: [h323plus] H323_h224 remote find capability fails
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
On 1/24/08, Simon Horne s.horne@packetizer.com wrote:
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.