From: BJ Weschke Date: Wed, 22 Oct 2008 20:45:03 +0000 (+0000) Subject: revert the changes in issue #13705 - it's being re-opened as while the results fixed... X-Git-Tag: 1.6.2.0-beta1~1041 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d7422c975e3ba602afb0ca215d89efc70c3264a6;p=thirdparty%2Fasterisk.git 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 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 0d70e635e8..4e3c14db26 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 {