summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-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 c221290e7..1349480e6 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -22723,7 +22723,7 @@ static int reload_config(enum channelreloadreason reason)
if (!strcasecmp(utype, "user")) {
is_peer = 1;
} else if (!strcasecmp(utype, "friend")) {
- is_peer = 1;
+ is_peer = 2;
} else if (!strcasecmp(utype, "peer"))
is_peer = 2;
else {