]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Use distributor serializer for incoming subscriptions. 49/2949/2
authorRichard Mudgett <rmudgett@digium.com>
Fri, 27 May 2016 17:50:14 +0000 (12:50 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Tue, 7 Jun 2016 18:16:19 +0000 (13:16 -0500)
commit27bafc3a8b7981051fa07ef01b9a6afe4ef37f8c
tree1f61280c192c2bee5117d34c11ee89e7253794d8
parent16b08444dae47eded183f63300908b49cf6b2c1a
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