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 Best Regards Meckel
Kevin P. Fleming
2011-Apr-04 13:55 UTC
[asterisk-users] Load Asterisk Module with parameters?
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.soThere 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
Ulrich Meckel
2011-Apr-04 14:09 UTC
[asterisk-users] Load Asterisk Module with parameters?
On 04.04.2011 15:55, Kevin P. Fleming wrote:> 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. >Thx for this information -- _______________________________________________________________________ Ulrich Meckel Entwicklung Mail: Meckel at netzing.de NETZING Solutions AG Tel.: 0351/41381 - 0 Fr?belstr. 57, 01159 Dresden Fax: 0351/41381 - 12 _______________________________________________________________________ Impressum: NETZING Solutions AG - Fr?belstra?e 57 - 01159 Dresden Sitz der Gesellschaft Amtsgericht Dresden HRB 18926 Vorstand Dieter Schneider - Aufsichtsratsvorsitzender Volker Kanitz USt.Id DE211326547 Mail: netzing.ag at netzing.de