[svn-commits] may: branch may/ooh323_ipv6_direct_rtp r350787 - /team/may/ooh323_ipv6_direct...

SVN commits to the Digium repositories svn-commits at lists.digium.com
Sat Jan 14 05:11:03 CST 2012


Author: may
Date: Sat Jan 14 05:10:59 2012
New Revision: 350787

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=350787
Log:
Replace direct access to channel name with ast_channel_name
(according to r350223)

Modified:
    team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c

Modified: team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c?view=diff&rev=350787&r1=350786&r2=350787
==============================================================================
--- team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c (original)
+++ team/may/ooh323_ipv6_direct_rtp/addons/chan_ooh323.c Sat Jan 14 05:10:59 2012
@@ -4138,14 +4138,14 @@
 {
 	struct ooh323_pvt *p = chan->tech_pvt;
 	if (gH323Debug) {
-		ast_verb(0, "+++ ooh323  get_codec, %s\n", chan->name);
+		ast_verb(0, "+++ ooh323  get_codec, %s\n", ast_channel_name(chan));
 	}
 
 	ast_format_cap_append(result,  ast_format_cap_is_empty(chan->nativeformats) ?
 				(ast_format_cap_is_empty(p->cap) ? NULL : p->cap) : chan->nativeformats);
 
 	if (gH323Debug) {
-		ast_verb(0, "--- ooh323  get_codec, %s\n", chan->name);
+		ast_verb(0, "--- ooh323  get_codec, %s\n", ast_channel_name(chan));
 	}
 }
 
@@ -4184,7 +4184,7 @@
 
 	ast_rtp_instance_get_remote_address(*rtp, &tmp);
 	if (gH323Debug) {
-		ast_verb(0, "ooh323_get_rtp_peer  %s -> %s:%d, %d\n", chan->name, ast_sockaddr_stringify_addr(&tmp),
+		ast_verb(0, "ooh323_get_rtp_peer  %s -> %s:%d, %d\n", ast_channel_name(chan), ast_sockaddr_stringify_addr(&tmp),
 						ast_sockaddr_port(&tmp), res);
 	}
 	if (gH323Debug) {
@@ -4311,7 +4311,7 @@
 	if (changed) {
 		if (!ast_sockaddr_isnull(&p->redirip)) {
 			if (gH323Debug) {
-				ast_verb(0, "ooh323_set_rtp_peer  %s -> %s:%d\n", chan->name, ast_sockaddr_stringify_addr(&p->redirip),
+				ast_verb(0, "ooh323_set_rtp_peer  %s -> %s:%d\n", ast_channel_name(chan), ast_sockaddr_stringify_addr(&p->redirip),
 							ast_sockaddr_port(&p->redirip));
 			}
 			ooUpdateLogChannels(callToken, ast_sockaddr_stringify_addr(&p->redirip),




More information about the svn-commits mailing list