From: Jason Parker Date: Thu, 7 Feb 2008 19:53:55 +0000 (+0000) Subject: Specify which digit string was matched in debug message. X-Git-Tag: 1.4.19~196 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=caa961fbcf95634b33a29a8af9c3a204fa5793da;p=thirdparty%2Fasterisk.git Specify which digit string was matched in debug message. (closes issue #11949) Reported by: dimas Patches: v1-feature-debug.patch uploaded by dimas (license 88) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@102858 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_features.c b/res/res_features.c index 834ef01910..fda31a89cd 100644 --- a/res/res_features.c +++ b/res/res_features.c @@ -1077,7 +1077,7 @@ static int ast_feature_interpret(struct ast_channel *chan, struct ast_channel *p dynamic_features = pbx_builtin_getvar_helper(peer, "DYNAMIC_FEATURES"); } if (option_debug > 2) - ast_log(LOG_DEBUG, "Feature interpret: chan=%s, peer=%s, sense=%d, features=%d dynamic=%s\n", chan->name, peer->name, sense, features.flags, dynamic_features); + ast_log(LOG_DEBUG, "Feature interpret: chan=%s, peer=%s, code=%s, sense=%d, features=%d dynamic=%s\n", chan->name, peer->name, code, sense, features.flags, dynamic_features); ast_rwlock_rdlock(&features_lock); for (x = 0; x < FEATURES_COUNT; x++) {