[asterisk-dev] reloading XML docs for 'core show application'

Mark Michelson mmichelson at digium.com
Fri Mar 4 10:54:33 CST 2016


On 03/04/2016 09:14 AM, Jeremy Kister wrote:
> after installing a module in asterisk, I want to also install some 
> docs for it for "core show application"
>
> I can easily insert the appropriate xml in 
> documentation/core-en_US.xml but the only way I've found Asterisk will 
> use the new xml is to restart.
>
> Is there another way/method to get my docs in there without restarting ?
>

The best way to do this is to insert the XML directly into the source 
for your module. If you bound your XML inside a

/*** DOCUMENTATION
***/

section, then Asterisk will, during compilation/installation, add the 
XML to core-en_US.xml so that it will be present when Asterisk starts up.

There currently is no way to adjust XML documentation at runtime and 
have it reflected in "core show application" though. A restart is necessary.



More information about the asterisk-dev mailing list