Kristian Kielhofner
2005-Dec-09 13:04 UTC
[Asterisk-Users] Asterisk 1.2 chan_misdn modules.conf
Hello everyone, I have a user trying to use chan_misdn with SVN-branch-1.2-r7382M. This is with AstLinux 0.3, which uses Linux kernel 2.6.13.3, the ISDN4Linux CBS snapshot from 12/7/2005 and mISDNuser from jolly. This is interesting, chan_misdn loads just fine when noload => chan_misdn.so is specified and you load it after startup with load chan_misdn.so. Works fine. Removing the noload line causes asterisk to abort on startup with the following: ################################# Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found [chan_misdn.so]Dec 9 18:08:10 WARNING[1816]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/chan_misdn.so: undefined symbol: ast_pickup_call Dec 9 18:08:10 WARNING[1816]: loader.c:499 load_modules: Loading module chan_misdn.so failed! pbx asterisk # ###################################### If I load chan_misdn.so from CLI it works: == Manager registered action DBGet == Manager registered action DBPut == Parsing '/etc/asterisk/enum.conf': Found Asterisk Ready. *CLI> load chan_misdn.so Loaded /usr/lib/asterisk/modules/chan_misdn.so => (Channel driver for mISDN Support (Bri/Pri)) == Parsing '/etc/asterisk/misdn.conf': Found Got: 1 from get_ports == Registered channel type 'mISDN' (Channel driver for mISDN Support (Bri/Pri)) == Registered application 'misdn_set_opt' == Registered application 'misdn_facility' -- mISDN Channel Driver Registred -- (BE AWARE THIS DRIVER IS EXPERIMENTAL!) *CLI> L1: PH L1Link Down! port:1 I IND :CLEAN_UP oad: dad: port:1 I IND :CLEAN_UP oad: dad: port:1 What is the proper way to load chan_misdn.so from modules.conf? The only reference I saw to this in the archives was a post from August about the differences between 1.2 and 1.0. Now that chan_misdn is in 1.2, this shouldn't be an issue. Right? Thanks everyone! -- Kristian Kielhofner
Hey Kristian, The problem is that you explicitly need to load res_features.so before chan_misdn.so so that ast_pickup_call is exported and available to the module. Joshua Colp -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Kristian Kielhofner Sent: Friday, December 09, 2005 4:04 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] Asterisk 1.2 chan_misdn modules.conf Hello everyone, I have a user trying to use chan_misdn with SVN-branch-1.2-r7382M. This is with AstLinux 0.3, which uses Linux kernel 2.6.13.3, the ISDN4Linux CBS snapshot from 12/7/2005 and mISDNuser from jolly. This is interesting, chan_misdn loads just fine when noload => chan_misdn.so is specified and you load it after startup with load chan_misdn.so. Works fine. Removing the noload line causes asterisk to abort on startup with the following: ################################# Asterisk Dynamic Loader Starting: == Parsing '/etc/asterisk/modules.conf': Found [chan_misdn.so]Dec 9 18:08:10 WARNING[1816]: loader.c:325 __load_resource: /usr/lib/asterisk/modules/chan_misdn.so: undefined symbol: ast_pickup_call Dec 9 18:08:10 WARNING[1816]: loader.c:499 load_modules: Loading module chan_misdn.so failed! pbx asterisk # ###################################### If I load chan_misdn.so from CLI it works: == Manager registered action DBGet == Manager registered action DBPut == Parsing '/etc/asterisk/enum.conf': Found Asterisk Ready. *CLI> load chan_misdn.so Loaded /usr/lib/asterisk/modules/chan_misdn.so => (Channel driver for mISDN Support (Bri/Pri)) == Parsing '/etc/asterisk/misdn.conf': Found Got: 1 from get_ports == Registered channel type 'mISDN' (Channel driver for mISDN Support (Bri/Pri)) == Registered application 'misdn_set_opt' == Registered application 'misdn_facility' -- mISDN Channel Driver Registred -- (BE AWARE THIS DRIVER IS EXPERIMENTAL!) *CLI> L1: PH L1Link Down! port:1 I IND :CLEAN_UP oad: dad: port:1 I IND :CLEAN_UP oad: dad: port:1 What is the proper way to load chan_misdn.so from modules.conf? The only reference I saw to this in the archives was a post from August about the differences between 1.2 and 1.0. Now that chan_misdn is in 1.2, this shouldn't be an issue. Right? Thanks everyone! -- Kristian Kielhofner _______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- Asterisk-Users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Kristian Kielhofner
2005-Dec-09 13:21 UTC
[Asterisk-Users] Asterisk 1.2 chan_misdn modules.conf
Joshua Colp wrote:> Hey Kristian, > > The problem is that you explicitly need to load res_features.so before > chan_misdn.so so that ast_pickup_call is exported and available to the > module. > > Joshua ColpJoshua, I thought it was something like that! A great addition to the archives. Thanks! -- Kristian Kielhofner