K
K
krll-k2016-12-05 03:49:19
Asterisk
krll-k, 2016-12-05 03:49:19

What is the difference between modules and global in modules.conf?

[modules]
noload => pbx_ael.so
noload => res_parking.so
noload => func_periodic_hook.so
autoload=yes
noload => pbx_gtkconsole.so
noload => pbx_kdeconsole.so
noload => app_intercom.so
noload => chan_modem.so
noload => chan_modem_aopen.so
noload => chan_modem_bestdata.so
noload => chan_modem_i4l.so
noload => chan_capi.so
load => res_musiconhold.so
noload => chan_alsa.so
noload => cdr_sqlite.so

[global]
 
noload => chan_oh323.so
noload => chan_h323.so

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Shitskov, 2016-12-05
@Zarom

The only clarification I've seen is from the config itself:

Module names listed in "global" section will have symbols globally
; exported to modules loaded after them.

That is, you need to understand that the resources of modules specified globally will be available to all other modules. Unfortunately, I have not used the global section anywhere and I cannot evaluate the effect of this section in practice.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question