Hello,

Okay.  I found that I needed to save the event (nua_save_event()) in the
callback function.  Then I use NUTAG_WITH_SAVE() in the call to
nua_respond() in the other thread, and lastly, invoke nua_destroy_event().
This appears to work.

Thank you,
Jerry Richards


-----Original Message-----
From: Pekka Pessi [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 03, 2008 7:41 AM
To: Jerry Richards
Cc: sofia-sip-devel@lists.sourceforge.net
Subject: Re: [Sofia-sip-devel] nua_respond() from thread different than
callback function

2008/5/30 Jerry Richards <[EMAIL PROTECTED]>:
> I am having difficulty invoking nua_respond() from an application 
> thread different than the callback function thread (I want to reply 
> with 200 OK for an OPTIONS request).  If the nua_respond() function is 
> called from the other thread, I get a "500 Responding to Non-Existing 
> Request" from the sofia stack.

I'm afraid you have something else happening here. Responding from other
thread seems to work fine...

--
Pekka.Pessi mail at nokia.com


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to