[asterisk-dev] [Code Review] chan_sip: Address reload problems against registry introduced by autocreatepeer persist option changes
jrose
reviewboard at asterisk.org
Tue Oct 30 13:18:29 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2171/
-----------------------------------------------------------
Review request for Asterisk Developers and Matt Jordan.
Summary
-------
While working on a patch submitted by Kirill Katsnelson, I failed to notice that I introduced a somewhat breaking change against SIP reloads where the registry would be pruned and couldn't be brought back without either restarting Asterisk or fully unloading and reloading the chan_sip module. The problem occured when I moved the peer destruction marker callback to below the general section, at the time not having considered that peers could be created within the general section.
This addresses bug ASTERISK-20611.
https://issues.asterisk.org/jira/browse/ASTERISK-20611
Diffs
-----
/branches/11/channels/chan_sip.c 375482
/branches/11/configs/sip.conf.sample 375482
Diff: https://reviewboard.asterisk.org/r/2171/diff
Testing
-------
Tested that the various autocreatepeer options still work.
Tested that registry loads and reloads as expected.
Thanks,
jrose
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121030/1168ec03/attachment.htm>
More information about the asterisk-dev
mailing list