Remove dialog when response to IM message is 408/480/481
commit84b5afcfc5e23b853e97eac00fcb58b6cf75f92e
authorStefan Becker <stefan.becker@nokia.com>
Tue, 27 Jul 2010 05:41:17 +0000 (27 08:41 +0300)
committerStefan Becker <stefan.becker@nokia.com>
Tue, 27 Jul 2010 05:41:17 +0000 (27 08:41 +0300)
treeddad17d6ce25e569412da60d924967281b4e13e2
parente3e5b9deb7e3db02b24f15c1343af5993d35b023
Remove dialog when response to IM message is 408/480/481

This is a continuation of commit fa71e0bc0bf378f950a9f78fed8e780a07b62c79.

In the case that our IM message was rejected by the server he also can reject
our BYE, i.e. we never receive a proper response to it. Therefore we will not
close our side of the dangling IM session. The next messages will then fail
because of the same problem until the session is timed out on the OCS server
after 10 minutes.

The code now removes the dialog after sending out the BYE so our next attempt
will trigger an INVITE.
src/core/sipe.c