]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_pubsub: Prevent unload except during shutdown.
authorCorey Farrell <git@cfware.com>
Wed, 18 Oct 2017 18:41:25 +0000 (14:41 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 19 Oct 2017 15:35:07 +0000 (10:35 -0500)
commitfb4ed70e629db9b3264ac5cea03a696048639462
tree89fbc25ea94c4b3a50eaf8b3e5b18f4e968ae3d2
parent63e536d97f137b57c0e3338a158ebd90f561479d
res_pjsip_pubsub: Prevent unload except during shutdown.

Prevent unload of the module as certain pjsip initialization functions
cannot be reversed.  This required a reorder of the module_load so that
the non-reversable pjsip functions are not called until all potential
errors have been ruled out.

ASTERISK-24483

Change-Id: Iee900f20bdd6ee1bfe23efdec0d87765eadce8a7
res/res_pjsip_pubsub.c