Yes, I do wait for the 200 nua_r_shutdown event as part of step 4, below. I have added the 500 millisecond delay and it is acceptable to me.
Jerry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Monday, June 25, 2007 1:50 AM To: [EMAIL PROTECTED]; sofia-sip-devel@lists.sourceforge.net Subject: RE: [Sofia-sip-devel] nua_create() Fails With No Delay Hi, The shutdown is asynchronous; does your application wait for nua_r_shutdown with status >=200 to make sure the NUA instance has been shut down? Best regards, Mikhail >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On >Behalf Of ext Jerry Richards >Sent: Friday, June 22, 2007 9:54 PM >To: sofia-sip-devel@lists.sourceforge.net >Subject: [Sofia-sip-devel] nua_create() Fails With No Delay > >I noticed in one of your previous reply (below), you recommend >delaying 500 >milliseconds between mulitiple registrations. Why is this necessary? > >I'm asking this because nua_create() is failing in the >following scenario: > 1) nua_create() (port 5061) > 2) Register Line > 3) Unregister Line > 4) Shutdown Line > 5) nua_create() (port 5061) > .......... nua_create() returns zero................ > 6) Re-register Line > >However, if I place a 500 millisecond delay between steps 4 >and 5, then the >process completes succesfully.
<<attachment: winmail.dat>>
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ Sofia-sip-devel mailing list Sofia-sip-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel