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

Re: [reSIProcate] Correct way to shutdown dum


Scott Godin wrote:

You are correct - the giveUpSeconds shutdown - never got implemented.

In my application I track all active registration and invite session
handles - then I call end() on them all before I shutdown.
Does "order" matter at this stage? Also, How do you know which ones are active?

Also I shutdown dum and wait for it to complete before shutting down the
stack - although I'm not sure that it matters.
How do you know when it completes?  Is there a callback?

This results in a max shutdown time of approx 32 seconds - ie. if a BYE
or Unregister attempt timesout.

Hmmm - so what is the Shutdown manager used for,  or were you referring to
the use of it, and didn't mention it?

John