#### Type Of Change - [x] bug fix (non-breaking change which fixes an issue) - [x] refactoring
- [x] Tested changes locally
#### Description - Bridge disconnection was over complicated, to simplify things both legs will automatically be disconnected for now. - The "state machine" is only a POC at this point, I made sure it was easy to pinpoint problems.
You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/2532
-- Commit Summary --
* rtp_media_server: state transition improvement
-- File Changes --
M src/modules/rtp_media_server/rms_dialog_info.c (21) M src/modules/rtp_media_server/rms_dialog_info.h (4) M src/modules/rtp_media_server/rtp_media_server.c (16)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/2532.patch https://github.com/kamailio/kamailio/pull/2532.diff