]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub.c: Use distributor serializer for incoming subscriptions. 84/2984/1
authorRichard Mudgett <rmudgett@digium.com>
Fri, 27 May 2016 17:50:14 +0000 (12:50 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 9 Jun 2016 15:32:06 +0000 (10:32 -0500)
commitc2ae49249c37fa699fa16fc5f9f7a451406b721a
tree6e6ae4edf77753f083245d5a1f2955fff606dc12
parent2ff26e97467fabc390cf887fcda84f2e26b83895
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