[asterisk-dev] [Code Review] IAX timer not loading
David Vossel
dvossel at digium.com
Fri May 29 17:03:02 CDT 2009
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://reviewboard.digium.com/r/262/
-----------------------------------------------------------
(Updated 2009-05-29 17:03:02.664803)
Review request for Asterisk Developers.
Changes
-------
This patch modifies the module load order to load all modules starting with "res_" first.
Summary
-------
When loading chan_iax2, a timer is opened. If this timer fails to open trunk peers/users may not be built correctly. Depending on the order Asterisk loads modules, the timer may or may not be loaded before chan_iax2. If it is not loaded before hand, trunk peers/users will not be set up even though a timing interface may be possible. This patch waits until Asterisk is fully booted to create the timer. If the timer fails, all trunked peers/users' IAX_TRUNK flags are cleared and a warning message appears.
This addresses bug 15191.
https://issues.asterisk.org/view.php?id=15191
Diffs (updated)
-----
/trunk/main/loader.c 197680
Diff: http://reviewboard.digium.com/r/262/diff
Testing
-------
tested with and without loading the timer module. worked correctly.
Thanks,
David
More information about the asterisk-dev
mailing list