2009/9/9 Daniel Corbe <dco...@gmail.com>: > When NTA receives a request which doesn't match an existing transaction it > passes a pointer to the callback function of type sip_t. Can this pointer be > dereferenced through the lifetime of the transaction or does it go poof as > soon as I exit the callback function?
As Aleksander said, you can use sip_t as long as the transaction is alive. The sip_t pointer lives inside an abstract msg_t container and you can also get a new reference to it with nta_incoming_getrequest(). After you are done with your sip_t / msg_t reference, you should remove the reference with msg_destroy(). -- Pekka.Pessi mail at nokia.com ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel