The Mickey Mouse Award for today goes to Grandstream Phones and their handling of the SIP OPTIONS method.
The standard says, that a SIP device will respond to an OPTIONS message in exactly the same way it would respond to an INVITE. This enables you to determine if the device is online, and if it can take a call or not.
Grandstream phones reply to an OPTIONS with the equivalent of 'yes', even if they can't take a call.
Even more irritatingly, they ignore the port the request was sent from, and sent the reply to 5060. Gah.
Sheesh.
Edit: Ok, so the SIP standard (RFC 2543 for those interested) says it MAY respond as if an invite were sent to it, not SHOULD, but it still shouldn't reply to the wrong damn port.
{Lyrics: Love On The Air - David Gilmour }
The standard says, that a SIP device will respond to an OPTIONS message in exactly the same way it would respond to an INVITE. This enables you to determine if the device is online, and if it can take a call or not.
Grandstream phones reply to an OPTIONS with the equivalent of 'yes', even if they can't take a call.
Even more irritatingly, they ignore the port the request was sent from, and sent the reply to 5060. Gah.
Sheesh.
Edit: Ok, so the SIP standard (RFC 2543 for those interested) says it MAY respond as if an invite were sent to it, not SHOULD, but it still shouldn't reply to the wrong damn port.
{Lyrics: Love On The Air - David Gilmour }