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

RE: [reSIProcate] Unregister using DUM


You can use ClientRegistrationHandle::end().  You will need to store the
client reg handle from the onSuccess callback. 

-----Original Message-----
From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Glenn
MacGregor
Sent: Tuesday, April 25, 2006 5:50 PM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [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/
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel