RE: [reSIProcate] I sek advice on how I can un-register, or logout from SIP proxy
> I need to now have the ability to logout, or UnRegister from the SIP
> server. I already wrote the code, but just not sure if I'm
> supposed to release the memory allocation of my DUM subclass,
> or just keep it around in case I need it.... The test code in the
release
> obviously cannot show how this is done, I can't figure out how
> from just looking at the source code modules.
[Scott Godin] Both DUM and stack should stay around as long as you need
to send/receive any SIP messaging. You call end() or removeAll(true) on
the ClientRegistrationHandle to unregister.
> Log::initialize(Log::Cout, resip::Log::Debug, "SipPhone",
"/tmp/siplog");
>
> Which does NOT write the logs into "/tmp/siplog", BTW.. instead it
> writes logs into Console, which is also OK with me so far. Is this a
> bug?
[Scott Godin] Log::Cout will go to console. You should use Log::file to
go to file.