From 26755e3882612cc81247e53c2ca73b432ac90f6a Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Mon, 18 Feb 2008 04:43:33 +0000 Subject: 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 --- main/pbx.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'main/pbx.c') 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]; -- cgit v1.2.3