]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 102858 via svnmerge from
authorJason Parker <jparker@digium.com>
Thu, 7 Feb 2008 20:02:17 +0000 (20:02 +0000)
committerJason Parker <jparker@digium.com>
Thu, 7 Feb 2008 20:02:17 +0000 (20:02 +0000)
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

index 93a3fe41ba59a3f95b526ca2a14b1bb07c5df4df..800dc89e557b7574f215f4aece2a20e36f2533aa 100644 (file)
@@ -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++) {