[asterisk-commits] may: trunk r265227 - /trunk/addons/chan_ooh323.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun May 23 13:23:39 CDT 2010
Author: may
Date: Sun May 23 13:23:38 2010
New Revision: 265227
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=265227
Log:
small changes to avoiding 'freeing unused memory...'
Modified:
trunk/addons/chan_ooh323.c
Modified: trunk/addons/chan_ooh323.c
URL: http://svnview.digium.com/svn/asterisk/trunk/addons/chan_ooh323.c?view=diff&rev=265227&r1=265226&r2=265227
==============================================================================
--- trunk/addons/chan_ooh323.c (original)
+++ trunk/addons/chan_ooh323.c Sun May 23 13:23:38 2010
@@ -1238,11 +1238,13 @@
case AST_CONTROL_SRCCHANGE:
ast_rtp_instance_change_source(p->rtp);
break;
- case AST_CONTROL_CONNECTED_LINE:
- if (gH323Debug)
- ast_log(LOG_DEBUG, "Sending connected line info for %s (%s)\n",
+ case AST_CONTROL_CONNECTED_LINE:
+ if (!ast_strlen_zero(ast->connected.id.name)) {
+ if (gH323Debug)
+ ast_log(LOG_DEBUG, "Sending connected line info for %s (%s)\n",
callToken, ast->connected.id.name);
- ooSetANI(callToken, ast->connected.id.name);
+ ooSetANI(callToken, ast->connected.id.name);
+ }
break;
case AST_CONTROL_T38_PARAMETERS:
More information about the asterisk-commits
mailing list