diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-02-18 04:43:33 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-02-18 04:43:33 +0000 |
commit | 26755e3882612cc81247e53c2ca73b432ac90f6a (patch) | |
tree | 1f70ab1c1a8d010ade37a053edebff107ad9fcc9 /main/pbx.c | |
parent | 62ac882f8c18d7769ec96b7c14a6a1fe76e03a90 (diff) |
Context tracing for channels
(closes issue #11268)
Reported by: moy
Patches:
chantrace-datastored-encapsulated-rev94934.patch uploaded by moy (license 222)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@103754 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r-- | main/pbx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/main/pbx.c b/main/pbx.c index 2df20327e..e584ea07d 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -2673,6 +2673,9 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con, ast_copy_string(c->exten, exten, sizeof(c->exten)); c->priority = priority; pbx_substitute_variables(passdata, sizeof(passdata), c, e); +#ifdef CHANNEL_TRACE + ast_channel_trace_update(c); +#endif ast_debug(1, "Launching '%s'\n", app->name); if (VERBOSITY_ATLEAST(3)) { char tmp[80], tmp2[80], tmp3[EXT_DATA_SIZE]; |