[Asterisk-cvs] asterisk/channels chan_iax2.c,1.171,1.172

markster at lists.digium.com markster at lists.digium.com
Sat Jul 17 00:27:09 CDT 2004


Update of /usr/cvsroot/asterisk/channels
In directory localhost.localdomain:/tmp/cvs-serv15252/channels

Modified Files:
	chan_iax2.c 
Log Message:
Change IAX2 naming convention


Index: chan_iax2.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_iax2.c,v
retrieving revision 1.171
retrieving revision 1.172
diff -u -d -r1.171 -r1.172
--- chan_iax2.c	16 Jul 2004 04:40:54 -0000	1.171
+++ chan_iax2.c	17 Jul 2004 04:13:12 -0000	1.172
@@ -2569,9 +2569,9 @@
 	i = iaxs[callno];
 	if (i && tmp) {
 		if (!ast_strlen_zero(i->username))
-			snprintf(tmp->name, sizeof(tmp->name), "IAX2[%s@%s]/%d", i->username, i->host, i->callno);
+			snprintf(tmp->name, sizeof(tmp->name), "IAX2/%s@%s/%d", i->username, i->host, i->callno);
 		else
-			snprintf(tmp->name, sizeof(tmp->name), "IAX2[%s]/%d", i->host, i->callno);
+			snprintf(tmp->name, sizeof(tmp->name), "IAX2/%s/%d", i->host, i->callno);
 		tmp->type = type;
 		/* We can support any format by default, until we get restricted */
 		tmp->nativeformats = capability;




More information about the svn-commits mailing list