[asterisk-dev] [Code Review] chan_iax2: load config before registering any functions
paul.belanger at polybeacon.com
paul.belanger at polybeacon.com
Fri Sep 10 14:25:36 CDT 2010
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/914/
-----------------------------------------------------------
(Updated 2010-09-10 14:25:36.243928)
Review request for Asterisk Developers.
Changes
-------
Changes requested by russellb
Summary
-------
Check for iax.conf first, before registering any functions, applications or actions. Otherwise, if you 'module load chan_iax2.so' without iax.conf, some functions, applications and actions will be registered however the module will fail to load. Allowing you to run 'module load chan_iax2.so' again, causing asterisk to spike to 99% CPU.
Plus some additional formating.
Diffs (updated)
-----
branches/1.4/channels/chan_iax2.c 281181
Diff: https://reviewboard.asterisk.org/r/914/diff
Testing
-------
compile, install, module load / unload chan_iax2.so
Thanks,
pabelanger
More information about the asterisk-dev
mailing list