]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Specify which digit string was matched in debug message.
authorJason Parker <jparker@digium.com>
Thu, 7 Feb 2008 19:53:55 +0000 (19:53 +0000)
committerJason Parker <jparker@digium.com>
Thu, 7 Feb 2008 19:53:55 +0000 (19:53 +0000)
(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

index 834ef01910f11ea2260420159816333305584a4d..fda31a89cdca080857c0bfdd85f3238c51714dbd 100644 (file)
@@ -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++) {