From 1663494073049fa7a8dc231c82f2a6c79d3a622e Mon Sep 17 00:00:00 2001
From: Jason Parker <jparker@digium.com>
Date: Thu, 7 Feb 2008 20:02:17 +0000
Subject: [PATCH] Merged revisions 102858 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r102858 | qwell | 2008-02-07 13:53:55 -0600 (Thu, 07 Feb 2008) | 7 lines

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/trunk@102859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
---
 main/features.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/features.c b/main/features.c
index 93a3fe41ba..800dc89e55 100644
--- a/main/features.c
+++ b/main/features.c
@@ -1562,7 +1562,7 @@ static int ast_feature_interpret(struct ast_channel *chan, struct ast_channel *p
 		ast_copy_flags(&features, &(config->features_callee), AST_FLAGS_ALL);
 		dynamic_features = pbx_builtin_getvar_helper(peer, "DYNAMIC_FEATURES");
 	}
-	ast_debug(3, "Feature interpret: chan=%s, peer=%s, sense=%d, features=%d, dynamic=%s\n", chan->name, peer->name, sense, features.flags, dynamic_features);
+	ast_debug(3, "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++) {
-- 
GitLab