summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorOlle Johansson <oej@edvina.net>2008-10-15 13:52:13 +0000
committerOlle Johansson <oej@edvina.net>2008-10-15 13:52:13 +0000
commit216673ad76a244bbe76ce783db92cc849664b3b9 (patch)
tree2ad2000c7504566a05367f4640d0f6f6f6cc89fc /channels
parentf00735b317741d5103be9476f61ab944d225ea59 (diff)
Adding a note about a missing part of "kill-the-user" - I got lost in the Ao2 world...
We're going to try to get time to fix this and kpfleming believes that there's code in ao2 so that we can solve it... git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@149542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 70396df51..2d7cd6ab5 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -4121,6 +4121,11 @@ static struct sip_peer *realtime_peer(const char *newpeername, struct sockaddr_i
\note Avoid using this function in new functions if there is a way to avoid it, i
since it might cause a database lookup.
+
+ \todo - we need to fix so that we actually match on username only if forcenamematch is on.
+ There's a flag in peers for "onlymatchonip" - these peers needs to be avoided when
+ searching the "peers" hash table.
+
*/
static struct sip_peer *find_peer(const char *peer, struct sockaddr_in *sin, int realtime, int forcenamematch, int devstate_only)
{