chan_pjsip: Add 'pjsip show channelstats'
Added the ability to show channel statistics to chan_pjsip (cli_functions.c) Moved the existing 'pjsip show channel(s)' functionality from pjsip_configuration to cli_functions.c. The stats needed chan_pjsip's private header so it made sense to move the existing channel commands as well. Now using stasis_cache_dump to get the channel snapshots rather than retrieving all endpoints, then getting each one's channel snapshots. Much more efficient. Change-Id: I03b114522126d27434030b285bf6d531ddd79869
Showing
- CHANGES 3 additions, 0 deletionsCHANGES
- channels/chan_pjsip.c 12 additions, 0 deletionschannels/chan_pjsip.c
- channels/pjsip/cli_commands.c 467 additions, 0 deletionschannels/pjsip/cli_commands.c
- channels/pjsip/include/cli_functions.h 45 additions, 0 deletionschannels/pjsip/include/cli_functions.h
- res/res_pjsip/pjsip_cli.c 1 addition, 1 deletionres/res_pjsip/pjsip_cli.c
- res/res_pjsip/pjsip_configuration.c 0 additions, 261 deletionsres/res_pjsip/pjsip_configuration.c
Loading
Please register or sign in to comment