]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip: Ignore state changes from old transactions.
authorJoshua Colp <jcolp@digium.com>
Wed, 6 Dec 2017 14:24:03 +0000 (14:24 +0000)
committerJoshua Colp <jcolp@digium.com>
Wed, 13 Dec 2017 11:09:50 +0000 (11:09 +0000)
commita6f4edf032d2c1d1ab58393c47c635f5d1bcd10c
tree392993088298518e096a20c9c7841bd0533bd97f
parente6439703e8e8674a8fc5844737d6c7b1f3fd72e8
pjsip: Ignore state changes from old transactions.

When we fail over to a new target we create a new transaction
and it becomes the current INVITE transaction. This does not
prevent the previous transaction from raising state changes
and causing the session to be prematurely disconnected if a
transport error occurs immediately.

This change backports a fix from PJSIP that eliminates the
incorrect state change and reduces when they would be raised
in the first place.

ASTERISK-27408

Change-Id: Id22d087591782eee31311753d11e7eca4b95ef34
third-party/pjproject/patches/0050-dont_terminate_session_early.patch [new file with mode: 0644]