Review Board 1.7.16

Replace nested functions with file scope functions

Review Request #33 - Created Nov. 5, 2008 and submitted

Sean Bright
This is a patch to promote the current nested functions in asterisk trunk to file level functions based on security concerns.  For more details, see:

Also, I added a note to one of the calls in main/features.c which I marked with an XXX comment.
This passes the 'make' test with dev-mode enabled, but I have not functionally tested extensively.
Review request changed
Updated (Nov. 7, 2008, 11:07 a.m.)
Updated chan_sip ao2_callback to pass forcenamematch with the new ao2_callback_fn data pointer.
Ship it!
Posted (Nov. 9, 2008, 3:29 a.m.)
Looks good, nice job! runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to