res/res_pjsip_pubsub: Gracefully handle errors when re-creating subscriptions
authorMatthew Jordan <mjordan@digium.com>
Mon, 6 Oct 2014 00:13:58 +0000 (00:13 +0000)
committerMatthew Jordan <mjordan@digium.com>
Mon, 6 Oct 2014 00:13:58 +0000 (00:13 +0000)
commitf27f41a288c313f27a2dc1ae311e2184decb3bea
treeb09341651f7b58b3cf04778f92023857bb96ca97
parent9611ef4f1eea94f7a8f7d4426d7a92462f1e0337
res/res_pjsip_pubsub: Gracefully handle errors when re-creating subscriptions

A subscription that has been persisted can - for various reasons - fail to be
re-created on startup. This patch resolves a number of crashes that occurred
when a subscription cannot be re-created on several off-nominal paths.

#SIPit31

ASTERISK-24368 #close
Reported by: Matt Jordan
........

Merged revisions 424601 from http://svn.asterisk.org/svn/asterisk/branches/13

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@424602 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_pubsub.c