]> git.ipfire.org Git - thirdparty/asterisk.git/commit
CEL: Fix crash when using CELGenUserEvent
authorKinsey Moore <kmoore@digium.com>
Fri, 15 Nov 2013 14:37:20 +0000 (14:37 +0000)
committerKinsey Moore <kmoore@digium.com>
Fri, 15 Nov 2013 14:37:20 +0000 (14:37 +0000)
commit50afe6b9dd65a4294c63a8556ab3efbd202ee465
tree28ee5a1f7196374da68b3ce475af742f7dda9f46
parent9cea557f6c3b036ef58c0be3f2136554ae5f9560
CEL: Fix crash when using CELGenUserEvent

This fixes a crash when CELGenUserEvent is called from the dialplan
while CEL is disabled. Currently, CEL does not create its topics and
forwards if it is not enabled and external entities may depend on
these topics blindly since they should always be available. This patch
breaks up route creation and topic/forward creation such that the CEL
topics and forwards will always exist while the router and its
associated routes will be torn down and recreated as necessary.

(closes issue ASTERISK-22799)
Review: https://reviewboard.asterisk.org/r/3010/
Reported by: Matt Jordan
........

Merged revisions 402838 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@402839 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/cel.c