[Asterisk-Users] modules.conf again

Emanuele Pucciarelli
Wed, 09 Jul 2003 01:57:17 -0000

Il mer, 2003-07-09 alle 09:31, carlos del mayor ha
scritto:
> THANKS VERY MUCH in advance, and here they are, my two
> little questions...

Well, here are my two little answers, I hope they are not too wildly
incorrect :)

> 1)As I have seen, to make Asterisk load chan_capi.so
> and chan_modem.so you must have: load=>chan_capi.so
> and load => chan_modem.so in your modules.conf. But I
> had understood some time ago that setting autoload =>
> yes made Asterisk load every module that was necesary.
> Then, why must I load these channels explicitely?

Because that way they are loaded first.  Some other modules use symbols
that are exported by those modules, and if those other modules got
loaded first, they wouldn't work.

> 2)For what is used the section [global]?

My sample cfg says:

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

So it is needed to get the aforementioned result!

Bye,

--
E.