From d7422c975e3ba602afb0ca215d89efc70c3264a6 Mon Sep 17 00:00:00 2001 From: BJ Weschke Date: Wed, 22 Oct 2008 20:45:03 +0000 Subject: 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 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channels/chan_sip.c') 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 { -- cgit v1.2.3