projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aefadd
)
Fix configuration parsing so type=friend still identifies "friend" as a peer even...
author
BJ Weschke
<bweschke@btwtech.com>
Tue, 21 Oct 2008 11:02:08 +0000
(11:02 +0000)
committer
BJ Weschke
<bweschke@btwtech.com>
Tue, 21 Oct 2008 11:02:08 +0000
(11:02 +0000)
(closes issue #13705)
reported by: blitzrage
patched by: bweschke
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@151327
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
channels/chan_sip.c
patch
|
blob
|
history
diff --git
a/channels/chan_sip.c
b/channels/chan_sip.c
index
c221290
..
1349480
100644
(file)
--- 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 {