- Downloads
sip: remove "add-if-not-found" idiom which not wanted
This patch changes SipTransportBroker::findTransport() method by removing the possibility to map a pjsip transport if not found in the mapping. Rationale: This idiom breaks the expected behavior of the method and let unknown transports be handled by application. Alien transports have not to be handled by us. Now an handled transport is shutdown when SipTransport is destroyed, and the constructor throw an exception if this transport is given again... so impossible to "re-use" a shutdown'ed transport. Refs #64903 Change-Id: Ib06f8f9d567f1bc84bfe4764f4f6c1252f7dc9ec
Please sign in to comment