Hi Simon

I had already overloaded the function CreateH224ProtocolHandler
as

OpalH224Handler * PhEndPoint::CreateH224ProtocolHandler(H323Connection & connection, unsigned sessionID) const
{
 return new CVcsChannelh224(connection, sessionID);
}

CVcsChannelh224 is my class derived from OpalH224Handler
and
PhEndPoint derived from H323EndPoint

but still my application crashes at  h224Handler->StartTransmit(); in BOOL H323_H224Channel::Start()
I have tested it using polycom and mirial.

But when I use my application at other end. the cnannel get released by calling
if (chan != NULL) {
    chan->CleanUpOnTermination();
    delete chan;

of void H245NegLogicalChannel::Release()

I think I am not able to add capabilities right by adding :
H323_H224Capability *p = new H323_H224Capability();
capabilities.Add(p);

Is there something that I am missing.
and one more thing Can I use PTRACE in Windows.

Your comment is needed.
 
Regards
Alam
 


On 1/11/08, Simon Horne <s.horne@packetizer.com> wrote:
Sorry for the delay in replying.
 
I hadn't fully tested the implementation.
I think you have not loaded your derived h224 handler through the H323EndPoint function override I specified in the last email
 
Simon
-----Original Message-----
From: h323plus-bounces@lists.packetizer.com [mailto:h323plus-bounces@lists.packetizer.com] On Behalf Of mohammad alam
Sent: Thursday, January 10, 2008 5:56 PM
To: h323plus@lists.packetizer.com
Subject: [h323plus] FECC H.224/H.281 Implementation


hi Simon
 As you suggested I have added H323_H224Capability(). The brief code is

H323_H224Capability *p = new H323_H224Capability();
capabilities.Add(p);
in a class derived from H323EndPoint.

The watch window here doesnot show much.


But exe crashes in BOOL H323_H224Channel::Start()
at
h224Handler->StartTransmit();
I think it is not getting pointer right

Can you guide me from there.

alam.