revert the changes in issue #13705 - it's being re-opened as while the results fixed...
authorBJ Weschke <bweschke@btwtech.com>
Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)
committerBJ Weschke <bweschke@btwtech.com>
Wed, 22 Oct 2008 20:45:03 +0000 (20:45 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151642 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 0d70e63..4e3c14d 100644 (file)
@@ -22745,7 +22745,7 @@ static int reload_config(enum channelreloadreason reason)
                        if (!strcasecmp(utype, "user")) {
                                is_peer = 1;
                        } else if (!strcasecmp(utype, "friend")) {
-                               is_peer = 2;
+                               is_peer = 1;
                        } else if (!strcasecmp(utype, "peer"))
                                is_peer = 2;
                        else {