summaryrefslogtreecommitdiff
path: root/main/pbx.c
diff options
context:
space:
mode:
authorMatthew Jordan <mjordan@digium.com>2013-08-02 02:32:44 +0000
committerMatthew Jordan <mjordan@digium.com>2013-08-02 02:32:44 +0000
commit38236e54a84c61194c30c92b923752f0dc816d57 (patch)
treeb27d3b73accfe81703eb5f706d1447a661986f5e /main/pbx.c
parent63a229e3695514bbb15cd5ee4674b6b5bb580f0b (diff)
Remove dead code from features.c; refactor pickup code into pickup.c
This patch does the following: * It moves the pickup code out of features.c and into pickup.c * It removes the vast majority of dead code out of features.c. In particular, this includes the parking code. (issue ASTERISK-22134) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@396060 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/pbx.c')
-rw-r--r--main/pbx.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/main/pbx.c b/main/pbx.c
index 27f774ac3..0f0f5114a 100644
--- a/main/pbx.c
+++ b/main/pbx.c
@@ -4651,18 +4651,6 @@ static int pbx_extension_helper(struct ast_channel *c, struct ast_context *con,
COLORIZE(COLOR_BRMAGENTA, 0, passdata),
"in new stack");
}
- snapshot = ast_channel_snapshot_create(c);
- if (snapshot) {
- /* pbx_exec sets application name and data, but we don't want to log
- * every exec. Just update the snapshot here instead.
- */
- ast_string_field_set(snapshot, appl, app->name);
- ast_string_field_set(snapshot, data, passdata);
- msg = stasis_message_create(ast_channel_snapshot_type(), snapshot);
- if (msg) {
- stasis_publish(ast_channel_topic(c), msg);
- }
- }
return pbx_exec(c, app, passdata); /* 0 on success, -1 on failure */
}
} else if (q.swo) { /* not found here, but in another switch */