Fix crash for sorcery misconfigs
authorDavid M. Lee <dlee@digium.com>
Fri, 12 Dec 2014 15:03:16 +0000 (15:03 +0000)
committerDavid M. Lee <dlee@digium.com>
Fri, 12 Dec 2014 15:03:16 +0000 (15:03 +0000)
commit2e6d2b148496c43ffaafd6c8c463f77749d3feee
treefbb27260f6a07940b346722320e7d7c1de49f280
parenta6cf13f2e9c2b485194b22059dc739b04472ab98
Fix crash for sorcery misconfigs

res_pjsip_outbound_publish was missing the CHECK_PJSIP_MODULE_LOADED()
call in load_module, and would crash with a segfault if res_pjsip
declined to load.

Review: https://reviewboard.asterisk.org/r/4258/
........

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

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