summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
authorBJ Weschke <bweschke@btwtech.com>2008-10-22 20:45:03 +0000
committerBJ Weschke <bweschke@btwtech.com>2008-10-22 20:45:03 +0000
commitd7422c975e3ba602afb0ca215d89efc70c3264a6 (patch)
treedda516feaeec6c14a0cb636a8351f5c22a84a8b5 /channels/chan_sip.c
parente98ee36c0f7c5026fa672ebd142387076f8636d8 (diff)
revert the changes in issue #13705 - it's being re-opened as while the results fixed the complaint in the issue, it introduced other more undesirable issues than what was already reported
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151642 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 0d70e635e..4e3c14db2 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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 {