Some time ago I reported issue 433 about a "bad event" error
turned out it was related to my SIP provider not supporting SUBSCRIBE
messages (used for being notified of the presence status of a
contact). I eventually solved the problem by unticking the "enable
presence (SIMPLE)" option. However, the bad event error message is
cryptic for the user and he may not guess that he has to disable this
I propose that SIP Communicator determines whether the remote SIP
contact supports SUBSCRIBE extension rather than annoy the user with
that. There are at least two ways to achieve it:
1) send an OPTIONS query to the contact and read if SUBSCRIBE
extension is supported in the response.
2) send a SUBSCRIBE query to the contact and assume SUBSCRIBE
extension isn't supported if the response contains error code 489 (Bad
I opted for 2) as it was easier to implement. That's what the patch
attached is about (applies to svn revision 4313).
As far as subscribing to presence status is concerned, the "enable
presence (SIMPLE)" option is now ignored. It is still used when
publishing the presence status, though. I'll look if it's also
possible to ignore it there, so as to drop this option for good.
sip_subscribe_unsupported.patch (5.61 KB)