RE: [reSIProcate] DUM: Sending ACK in response to BYE
- From: Dmitry Semyonov <dsemyonov@xxxxxxx>
- Date: Fri, 13 Aug 2004 14:44:07 +0400 (MSD)
Hello Scott.
On Thu, 12 Aug 2004, Scott Godin wrote:
You don't ACK a BYE request - DUM sends the required 200 response.
[...]
4. onTerminated is called when client sends BYE. DUM sends the 200
response.
Well, 200 OK is not sent if dum->shutdown(&shutdownHandler) is called
immediately after onTerminated(). (Note that my app waits for
onDumCanBeDeleted() callback inside shutdownHandler before deleting
the dum object.) If the app continues working, (and thus calling
dum->process(fdset)), then 200 OK is sent in time.
So, as a workaround dum->process() could be called several times
before dum->shutdown().
-----Original Message-----
From: Dmitry Semyonov [mailto:dsemyonov@xxxxxxx]
Sent: Thursday, August 12, 2004 10:37 AM
To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
Subject: [reSIProcate] DUM: Sending ACK in response to BYE
Hello.
Sorry for silly question - I've just started to look into DUM.
I took BasicCall example, and modified it to call to other SIP client.
I need to send ACK message in response to BYE, and I was going to
use something similar to InviteSession::ackConnection(). But I haven't
found any suitable method. Please, tell me how to finish INVITE
session correctly. Thanks.
P.S.
Initially I expected DUM to send the ACK automatically.
It seems I don't understand DUM principles well enough...
...Bye..Dmitry.