]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Use distributor serializer for incoming subscriptions. 95/2995/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 27 May 2016 17:50:14 +0000 (12:50 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Wed, 8 Jun 2016 18:46:04 +0000 (13:46 -0500)
commita137d1822ea52e39f8fe01c92d57bbf5d4ed3921
treefe993fbf26d4f75917cdb9d27ed85e903800f840
parent9a7a5aec184cc6cf88c298d36d23a022c68f9841
res_pjsip_pubsub.c: Use distributor serializer for incoming subscriptions.

We must continue using the serializer that the original SUBSCRIBE came in
on for the dialog.  There may be retransmissions already enqueued in the
original serializer that can result in reentrancy and message sequencing
problems.  The "sip_transaction Unable to register SUBSCRIBE transaction
(key exists)" message is a notable symptom of this issue.

Outgoing subscriptions still create the pjsip/pubsub/<endpoint>
serializers for their dialogs.

ASTERISK-26088
Reported by:  Richard Mudgett

Change-Id: I18b00bb74a56747b2c8c29543a82440b110bf0b0
res/res_pjsip_pubsub.c