diff options
author | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-21 11:03:27 +0000 |
---|---|---|
committer | bweschke <bweschke@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-10-21 11:03:27 +0000 |
commit | a67170f82ced0c7fd7ecb364dceec52183efdfbf (patch) | |
tree | b6262347bdc509d01ab98c6bd6923a8ca0413488 /channels | |
parent | 0e959dc59a7808321582ab926df8677b81f2ef8c (diff) |
Merged revisions 151327 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r151327 | bweschke | 2008-10-21 07:02:08 -0400 (Tue, 21 Oct 2008) | 7 lines
Fix configuration parsing so type=friend still identifies "friend" as a peer even though it is now a legacy configuration verb.
(closes issue #13705)
reported by: blitzrage
patched by: bweschke
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@151328 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 4e65bb770..2886758c5 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -21987,7 +21987,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 { |