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

[reSIProcate] Unregister using DUM


Hi All,

I am new to resiprocate, seems like a very complete library. I am learing
resiprocate by create an application (client) which will register with a sip
server upon startup and unregister on exit.

I think I have register working using DialogUsageManager.

--- setup stack and dum, auth manager, etc.

SharedPtr<SipMessage> sm = dum.makeRegister(mMe);
dum.send(sm);

this works I can see that I am registered on the other end (asterisk).

How do I unregister? From the SIP RFC I though you had to keep the same sequence
to unregister, just set the expires to 0. Does anyone know if this is correct?


Also I am trying to shutdown my app buy my onDumCanBeDeleted is never called, so
I need to do something else to shutdown? Stop the stack or something?

Thanks 

 Glenn

Glenn MacGregor
HighStreet Networks

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/