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

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


I'm not quite sure what you are asking.  But looking at
test/BasicCall.cxx will show a basic example of how to use
InviteSessionHandler.

Scott

> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx
> [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On Behalf Of
> victor morales
> Sent: Tuesday, February 13, 2007 8:47 AM
> To: resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> Subject: [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>
> 
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxxx
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel