summaryrefslogtreecommitdiff
path: root/channels/chan_sip.c
diff options
context:
space:
mode:
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 {