[asterisk-commits] mmichelson: branch mmichelson/digit_manipulation r196987 - /team/mmichelson/d...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue May 26 18:39:20 CDT 2009


Author: mmichelson
Date: Tue May 26 18:39:16 2009
New Revision: 196987

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=196987
Log:
Run the macro during feature_request_and_dial, please.


Modified:
    team/mmichelson/digit_manipulation/main/features.c

Modified: team/mmichelson/digit_manipulation/main/features.c
URL: http://svn.asterisk.org/svn-view/asterisk/team/mmichelson/digit_manipulation/main/features.c?view=diff&rev=196987&r1=196986&r2=196987
==============================================================================
--- team/mmichelson/digit_manipulation/main/features.c (original)
+++ team/mmichelson/digit_manipulation/main/features.c Tue May 26 18:39:16 2009
@@ -2404,7 +2404,9 @@
 					ready=1;
 					break;
 				} else if (f->subclass == AST_CONTROL_CONNECTED_LINE) {
-					ast_indicate_data(caller, AST_CONTROL_CONNECTED_LINE, f->data.ptr, f->datalen);
+					if (ast_channel_connected_line_macro(chan, caller, f, 1, 1)) {
+						ast_indicate_data(caller, AST_CONTROL_CONNECTED_LINE, f->data.ptr, f->datalen);
+					}
 				} else if (f->subclass != -1) {
 					ast_log(LOG_NOTICE, "Don't know what to do about control frame: %d\n", f->subclass);
 				}




More information about the asterisk-commits mailing list