RE: [reSIProcate] dum problem: CANCEL crosses 200 to INVITE
- From: "Derek MacDonald" <derek@xxxxxxxx>
- Date: Sun, 7 Nov 2004 22:38:49 -0800
While this is a bug in the cancel logic(an old, known bug, alas), the user
has expressed disinterest in that dialog, so calling onTerminated seems
reasonable; Dialogs/Usages can enter into a state where dum still needs
them, but the user has no interest.
--Derek
> -----Original Message-----
> From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx [mailto:resiprocate-
> devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Jason Fischl
> Sent: Sunday, November 07, 2004 1:23 PM
> To: resiprocate
> Subject: [reSIProcate] dum problem: CANCEL crosses 200 to INVITE
>
> I have a test case that is not behaving correctly:
>
> A INVITE B
> B sends 180 (creates a usage U)
> A CANCEL B crosses B sends 200
> As soon as A sends the CANCEL, dum removes U and calls onTerminated
> immediately.
> When A receives the 200 OK to the CANCEL, it throws it away as a stray
> response. As a consequence it never sends the ACK or a subsequent BYE
>
>
> I don't think this is how we originally intended this to be implemented.
>
> My proposal:
>
> U should not be terminated and the UAC not notified until the 487 is
> received. It could be a different failure response such as a 408. If A
> sends a CANCEL and subsequently receives a 200 to the INVITE, U should
> know to send a BYE automatically.
>
> In general, I think it is usually a bad idea to call handler functions
> when the usage sends a request.
>
> Jason
>
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel