Make some notes about a problem I found with the OPTIONs handler while working with
authorOlle Johansson <oej@edvina.net>
Mon, 19 Nov 2007 08:34:26 +0000 (08:34 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 19 Nov 2007 08:34:26 +0000 (08:34 +0000)
commit1dc652444909a9d5c082d30d17483957a11f913e
tree0c7984bb1042d8bc3ef1cfe964f9106ebaeef6db
parentf71cd9acc83ccb6b8c608644b47507482e18647c
Make some notes about a problem I found with the OPTIONs handler while working with
the bug tracker. Since we don't authenticate devices (peers/users) on OPTIONS we don't
have the proper context set for the user/peer.

However, we might not want to process an authentication for every OPTIONS, so we could
have a config option for this, "optionsforceok" to always answer 200 OK on the request
and not check device or destination, nor add a SDP. If Asterisk sends the OPTIONs request,
it doesn't care about the reply. Some devices use OPTIONs to discover capabilities,
since we should answer like an INVITE from the device and we need to support that properly
too, which we don't today.

So much to do :-)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89404 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c