[asterisk-dev] XML documentation of apps/functions/the_rest_of_the_world

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Jul 11 17:11:18 CDT 2008


On Friday 11 July 2008 16:07:11 Brandon Kruse wrote:
> >----- Original Message -----
> >From: "Tzafrir Cohen" <tzafrir.cohen at xorcom.com>
> >Suppose the application Foo in our documentation takes no parameters.
> >Now I unload the standard module and load a module that includes Foo()
> >that has two parameters. When and how will the application metadata in
> >Astrisk be invalidated?
>
> So you are saying you have an app, for example, that registers "Dial", then
> you unload app_dial, and load app_thisisstupid.so, which registers
> application Dial.
>
> First of all, I do not see how that would EVER happen, and why you would
> want to have such confusion. Second of all, the app_thisisstupid.so does
> NOT use ast_register_application_xml, it will just use
> app_register_application, like a normal app.
>
> If you really wanted to do this (which I, will not), you could have one app
> be part of 'core' and one of them be a 'third party app'
>
> I would hope you would want to have these conflicts figured out before
> hand.

A very real situation is someone unloading the app_stack.so from 1.4 and
loading the app_stack.so module backport from svncommunity.  The backport
is desireable, because it has more features.  The documentation and argument
syntax both differ.  How would you accommodate this situation?

-- 
Tilghman



More information about the asterisk-dev mailing list