-
- Downloads
Moved core logic from app_stasis to res_stasis
After some discussion on asterisk-dev, it was decided that the bulk of the logic in app_stasis actually belongs in a resource module instead of the application module. This patch does that, leaves the app specific stuff in app_stasis, and fixes up everything else to be consistent with that change. * Renamed test_app_stasis to test_res_stasis * Renamed app_stasis.h to stasis_app.h * This is still stasis application support, even though it's no longer in an app_ module. The name should never have been tied to the type of module, anyways. * Now that json isn't a resource module anymore, moved the ast_channel_snapshot_to_json function to main/stasis_channels.c, where it makes more sense. Review: https://reviewboard.asterisk.org/r/2430/ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@385742 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- apps/Makefile 0 additions, 2 deletionsapps/Makefile
- apps/app_stasis.c 6 additions, 530 deletionsapps/app_stasis.c
- apps/stasis_json.c 0 additions, 78 deletionsapps/stasis_json.c
- include/asterisk/json.h 1 addition, 1 deletioninclude/asterisk/json.h
- include/asterisk/stasis_app.h 29 additions, 21 deletionsinclude/asterisk/stasis_app.h
- include/asterisk/stasis_channels.h 7 additions, 0 deletionsinclude/asterisk/stasis_channels.h
- main/json.c 2 additions, 6 deletionsmain/json.c
- main/manager_channels.c 2 additions, 2 deletionsmain/manager_channels.c
- main/stasis_channels.c 31 additions, 0 deletionsmain/stasis_channels.c
- res/res_stasis.c 589 additions, 0 deletionsres/res_stasis.c
- res/res_stasis.exports.in 6 additions, 0 deletionsres/res_stasis.exports.in
- res/res_stasis_websocket.c 3 additions, 3 deletionsres/res_stasis_websocket.c
- tests/test_json.c 1 addition, 2 deletionstests/test_json.c
- tests/test_res_stasis.c 7 additions, 7 deletionstests/test_res_stasis.c
- tests/test_stasis_channels.c 66 additions, 0 deletionstests/test_stasis_channels.c
Loading
Please register or sign in to comment