From caa961fbcf95634b33a29a8af9c3a204fa5793da Mon Sep 17 00:00:00 2001 From: Jason Parker Date: Thu, 7 Feb 2008 19:53:55 +0000 Subject: [PATCH] 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 --- res/res_features.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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++) { -- 2.47.3