< Previous by Date Date Index Next by Date >
< Previous in Thread Thread Index Next in Thread >

[reSIProcate] How can I use DUM within a message handler?


Can I ask how exactly I can use DUM within a message handler?

I am having a problem with my program now.

I am trying to pass a pointer of my DUM object to the constructor of my class which I derive from InviteSessionHandler.

And then use that pointer to create an invite session (within an onNewSession callback).

The result is obviously wrong because my program crashes with segfault. And valgrind reports a very high memory consumption after attempting to use makeInviteSession (finally crashing after consuming all available memory).

I have tried other ways to solve this without success.

I Thank you for any advice you can give.

<victor>