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:27 +0000 (05:09 -0600)
commit0b532367bd8d4b39fb22b17a582e3c64515dbe25
tree0155e7f38bef7ac4135c5843c572a46ad8fe04d8
parentc2ec82bf36b66b758f968c8d62865705c351a280
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]