diff options
author | Matthew Jordan <mjordan@digium.com> | 2013-07-05 03:08:58 +0000 |
---|---|---|
committer | Matthew Jordan <mjordan@digium.com> | 2013-07-05 03:08:58 +0000 |
commit | 4123b27f6f94921f506b964c5f62e2556d6e694b (patch) | |
tree | 33a358875575d1e64c228de49fcd6354166d078a /main | |
parent | 93ed5ef0ffdffc342ef2e0670b9cf51686027401 (diff) |
Remove parkinglot from the channel snapshot
Legacy channel drivers often include the ability to set a default parking lot
on an endpoint basis; when channels are created for that endpoint, they inherit
the parkinglot option. Parking used to use this option more frequently; while
it is still supported, other options (such as using channel variables or
creation of a custom parkinglot) are supported. More importantly, conveying the
parkinglot information through a channel snapshot isn't terribly useful - it
is rarely (if ever) changed on a channel and some consumers of channel
snapshots, such as ARI, will never use the information.
(closes issue ASTERISK-21968)
Reported by: Matt Jordan
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393716 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/stasis_channels.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/main/stasis_channels.c b/main/stasis_channels.c index d121279d8..8cf259579 100644 --- a/main/stasis_channels.c +++ b/main/stasis_channels.c @@ -145,7 +145,6 @@ struct ast_channel_snapshot *ast_channel_snapshot_create(struct ast_channel *cha ast_string_field_set(snapshot, userfield, ast_channel_userfield(chan)); ast_string_field_set(snapshot, uniqueid, ast_channel_uniqueid(chan)); ast_string_field_set(snapshot, linkedid, ast_channel_linkedid(chan)); - ast_string_field_set(snapshot, parkinglot, ast_channel_parkinglot(chan)); ast_string_field_set(snapshot, hangupsource, ast_channel_hangupsource(chan)); if (ast_channel_appl(chan)) { ast_string_field_set(snapshot, appl, ast_channel_appl(chan)); |