Asterisk doesn't work with the latest CVS of ALSA (2003-06-24) . The module chan_alsa.so won't load even if the oss module, chan_oss.so, isn't loaded. There are no error messages. I've been chasing ALSA/Asterisk/client problems in one form or another for some time now. In previous versions of Asterisk and ALSA -- i.e., last week -- I could load either chan_oss.so or chan_alsa.so; as of this morning, only chan_oss.so will load. The symptoms are very straightforward: If chan_alsa.so loads, no subsequent module loads. An outward sign is that "show dialplan" will have just a few items and not the entire dialplan because pbx_config.so doesn't load, and important functions like "stop now" do not exist at the console. There are no error messages, and just the ordinary debug messages. I haven't had any success deciphering the problem -- I'm still figuring out its extend and ramping up on new sections of Asterisk code. I am using the latest (2003-06-24) CVS of asterisk. Question: Is anyone using Asterisk's chan_alsa.so and ALSA version 0.9.4 from a later CVS? I like to know if it's some problem with my local configuration or a bug I haven't found. Related question: Are OSS and ALSA mutually incompatible? I would think so, but there's nothing in the documentation. If they should *not* be loaded simultaneously, I will submit a few lines to patch modules.conf. -- Moshe Yudkowsky * http://www.Disaggregate.com
I have exactly the same problem. RedHat 8 w/latest Alsa. -wade> -----Original Message----- > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > admin@lists.digium.com] On Behalf Of Moshe Yudkowsky > Sent: Tuesday, June 24, 2003 2:17 PM > To: asterisk-users@lists.digium.com > Subject: [Asterisk-Users] Asterisk ALSA module not working > > Asterisk doesn't work with the latest CVS of ALSA (2003-06-24) . The > module chan_alsa.so won't load even if the oss module, chan_oss.so, > isn't loaded. There are no error messages. > > I've been chasing ALSA/Asterisk/client problems in one form or another > for some time now. In previous versions of Asterisk and ALSA -- i.e., > last week -- I could load either chan_oss.so or chan_alsa.so; as of this > morning, only chan_oss.so will load. > > The symptoms are very straightforward: If chan_alsa.so loads, no > subsequent module loads. An outward sign is that "show dialplan" will > have just a few items and not the entire dialplan because pbx_config.so > doesn't load, and important functions like "stop now" do not exist at > the console. > > There are no error messages, and just the ordinary debug messages. I > haven't had any success deciphering the problem -- I'm still figuring > out its extend and ramping up on new sections of Asterisk code. > > I am using the latest (2003-06-24) CVS of asterisk. > > Question: Is anyone using Asterisk's chan_alsa.so and ALSA version 0.9.4 > from a later CVS? I like to know if it's some problem with my local > configuration or a bug I haven't found. > > Related question: Are OSS and ALSA mutually incompatible? I would think > so, but there's nothing in the documentation. If they should *not* be > loaded simultaneously, I will submit a few lines to patch modules.conf. > > -- > Moshe Yudkowsky * http://www.Disaggregate.com > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users
I've made a dumb user error: a typo in modules.conf had me loading both chan_oss.so and chan_alsa.so. chan_alsa.so works. chan_oss.so works. But you must pick one or the other. I will submit a patch in a few hours for moduules.conf so that Asterisk will work out-of-the-box. Wade, if you're not already doing so, use the command "asterisk -vvvvd" and look at the output; I use "asterisk -vvvvd | tee /tmp/asterisktrace" so that I will have a record to look at. At 15:08 2003-06-24 -0400, you wrote:>I have exactly the same problem. RedHat 8 w/latest Alsa. > >-wade > > > -----Original Message----- > > From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users- > > admin@lists.digium.com] On Behalf Of Moshe Yudkowsky > > Sent: Tuesday, June 24, 2003 2:17 PM > > To: asterisk-users@lists.digium.com > > Subject: [Asterisk-Users] Asterisk ALSA module not working > > > > Asterisk doesn't work with the latest CVS of ALSA (2003-06-24) . The > > module chan_alsa.so won't load even if the oss module, chan_oss.so, > > isn't loaded. There are no error messages.-- Moshe Yudkowsky Disaggregate 2952 W Fargo Chicago, IL 60645 USA <http://www.Disaggregate.com>