Summary: | ASTERISK-21552: AMI 1.4 Improvements - Refactor AMI/CLI channel inspection actions to use the stasis channel cache | ||
Reporter: | Matt Jordan (mjordan) | Labels: | Asterisk12 |
Date Opened: | 2013-04-17 21:26:50 | Date Closed: | 2013-07-09 12:09:36 |
Priority: | Major | Regression? | |
Status: | Closed/Complete | Components: | Core/ManagerInterface Core/Stasis |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | In order to minimize locking and interference with channels, AMI should attempt to use the stasis cache where possible when looking up data on a channel. This includes the following:
h4. manager.c * GetVar - channel snapshots should contain their channel variables. We can simply look at the snapshot's manager_vars field and return the value from it. * CoreShowChannels - this should only hit the Stasis channel cache. h4. cli.c * core show channels - inspect the channels using the stasis cache * core show channel. It may be worthwhile to not print out the information that can't be obtained from the cache, simply to minimize the impact of this command. | ||
Comments: |