[svn-commits] tilghman: trunk r132981 - /trunk/channels/chan_iax2.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 23 12:20:44 CDT 2008


Author: tilghman
Date: Wed Jul 23 12:20:43 2008
New Revision: 132981

URL: http://svn.digium.com/view/asterisk?view=rev&rev=132981
Log:
Yet another conversion of '|' to ','
(closes issue #13137)
 Reported by: eliel
 Patches: 
       chan_iax2trunk-IAXPEER.patch uploaded by eliel (license 64)

Modified:
    trunk/channels/chan_iax2.c

Modified: trunk/channels/chan_iax2.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_iax2.c?view=diff&rev=132981&r1=132980&r2=132981
==============================================================================
--- trunk/channels/chan_iax2.c (original)
+++ trunk/channels/chan_iax2.c Wed Jul 23 12:20:43 2008
@@ -11666,9 +11666,7 @@
 		return 0;
 	}
 
-	if ((colname = strchr(peername, ':')))	/*! \todo : will be removed after the 1.4 relese */
-		*colname++ = '\0';
-	else if ((colname = strchr(peername, '|')))
+	if ((colname = strchr(peername, ',')))
 		*colname++ = '\0';
 	else
 		colname = "ip";
@@ -11718,7 +11716,7 @@
 struct ast_custom_function iaxpeer_function = {
 	.name = "IAXPEER",
 	.synopsis = "Gets IAX peer information",
-	.syntax = "IAXPEER(<peername|CURRENTCHANNEL>[|item])",
+	.syntax = "IAXPEER(<peername|CURRENTCHANNEL>[,item])",
 	.read = function_iaxpeer,
 	.desc = "If peername specified, valid items are:\n"
 	"- ip (default)          The IP address.\n"




More information about the svn-commits mailing list