[asterisk-commits] bweschke: trunk r151327 - /trunk/channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Oct 21 06:02:09 CDT 2008
Author: bweschke
Date: Tue Oct 21 06:02:08 2008
New Revision: 151327
URL: http://svn.digium.com/view/asterisk?view=rev&rev=151327
Log:
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
Modified:
trunk/channels/chan_sip.c
Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=151327&r1=151326&r2=151327
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Tue Oct 21 06:02:08 2008
@@ -22723,7 +22723,7 @@
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 {
More information about the asterisk-commits
mailing list