[asterisk-users] Load Asterisk Module with parameters?

Kevin P. Fleming kpfleming at digium.com
Mon Apr 4 08:55:09 CDT 2011


On 04/04/2011 08:36 AM, Meckel wrote:
> Hi List
>
> I´m not sure if this the right list for my question but i hope you can
> help me.
>
> I have write on a Asterisk Module and have the *.so File.
>
> Load this Module once is no problem , but I want to start it with a
> parameter multiple times. so it looks like this
>
> module load modul.so connect=programm_a
>
> module load modul.so connect=programm_b
>
> and then it must be run in two instances.
>
> Is it possible or must i compile it into two different modules and load
> then in 2 steps?
> module load modul.so
> module load modul2.so

There is no facility in Asterisk for parameters to be passed to a module.

-- 
Kevin P. Fleming
Digium, Inc. | Director of Software Technologies
Jabber: kfleming at digium.com | SIP: kpfleming at digium.com | Skype: kpfleming
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at www.digium.com & www.asterisk.org



More information about the asterisk-users mailing list