[asterisk-dev] [Code Review] 3010: CEL: Fix crash when using CELGenUserEvent

opticron reviewboard at asterisk.org
Tue Nov 12 10:26:48 CST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/3010/
-----------------------------------------------------------

Review request for Asterisk Developers.


Bugs: ASTERISK-22799
    https://issues.asterisk.org/jira/browse/ASTERISK-22799


Repository: Asterisk


Description
-------

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.


Diffs
-----

  branches/12/main/cel.c 402708 

Diff: https://reviewboard.asterisk.org/r/3010/diff/


Testing
-------

Verified that the patch prevents the crash.


Thanks,

opticron

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131112/e0e1d086/attachment.html>


More information about the asterisk-dev mailing list