pjsip / pjproject

PJSIP project
http://www.pjsip.org
GNU General Public License v2.0
2.08k stars 788 forks source link

Removed unnecessary prechecks in async conference bridge operations #4121

Closed nanangizz closed 4 weeks ago

nanangizz commented 1 month ago

After #3928, reported that when connecting & disconnecting ports requests are issued in a very short interval (e.g: when auto answer with resp code 200 is enabled in pjsua app), the disconnect request may fail which cause the ports to remain connected (undesirable). The failure in disconnection request happens because there is precheck of connection availability. Those prechecks are still be performed in the operation execution, but not in the operation request. This PR will remove such prechecks in all async operations requests.

This PR also contain some minor updates, e.g: