res_pjsip_pubsub.c: Set dlg_status code instead of sending SIP response.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 21 Aug 2015 23:01:59 +0000 (18:01 -0500)
committerRichard Mudgett <rmudgett@digium.com>
Thu, 10 Sep 2015 18:16:12 +0000 (13:16 -0500)
commit9b290dfe2f2746698153961a9479877f8ead9844
tree10e9b7329fc8aedff5acd93edc21ebf362697f53
parent73eb132012c6b82d543506467d92c0a64cf41c21
res_pjsip_pubsub.c: Set dlg_status code instead of sending SIP response.

We should not try to send a SIP response message because we may be
restoring a persistent subscription where we are not responding to a SIP
request.

Change-Id: Id89167ef90320c5563f37e632db0dda6cb9e7dec
res/res_pjsip_pubsub.c