2008/3/11, Bernhard Suttner <[EMAIL PROTECTED]>: > has nobody any suggestion? I would be very pleased if someone has a > idea.
You keep handle if you have use for it in the future, you destroy it if you don't. If you serve PUBLISH or REGISTER or MESSAGE, there is no state associated with the handle and you should destroy it. With incoming INVITE, if you accept it by responding with 200, Sofia creates session state, and you should keep the handle until the session is terminated. Perhaps there should be a table in the documentation listing different states associated with the handles... --Pekka > Am Freitag, den 29.02.2008, 12:28 +0100 schrieb Bernhard Suttner: > > > Hi folks, > > > > when do I have to cal nua_handle_destroy? After incoming register and > > the registration was successfull or failed? After incoming INVITES? Is > > there a common rule? > > > > Regards, > > Bernhard > > > > > > ------------------------------------------------------------------------- > > 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 > > > ------------------------------------------------------------------------- > 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 > -- 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