Luca Bertoncello
2018-Feb-15 07:45 UTC
[asterisk-users] chan_oss.c: Unable to register channel type 'OSS'
Hi list! Currently I use Asterisk 1.8.30.0 on an OpenWRT-Switch. Now I want to change to Asterisk 13.14.1 on a Banana PI (with Armbian/Debian 9). Well, I copied the configuration and changed what needed, so basically, it works, at least with my tests. But when Asterisk will be started, in the message log I get this error: [Feb 15 08:40:15] ERROR[3971] chan_oss.c: Unable to register channel type 'OSS' Unfortunately I cannot find WHY Asterisk was unable to register a channel type "OSS". And then: do I need this? On the old Asterisk I didn't had that... Thanks a lot for your help! Luca Bertoncello (lucabert at lucabert.de)
Tzafrir Cohen
2018-Feb-15 08:32 UTC
[asterisk-users] chan_oss.c: Unable to register channel type 'OSS'
Hi, On Thu, Feb 15, 2018 at 07:45:00AM +0000, Luca Bertoncello wrote:> Hi list! > > Currently I use Asterisk 1.8.30.0 on an OpenWRT-Switch. > Now I want to change to Asterisk 13.14.1 on a Banana PI (with Armbian/Debian > 9). > Well, I copied the configuration and changed what needed, so basically, it > works, at least with my tests.Off-topic: any reason you don't use chan_alsa?> > But when Asterisk will be started, in the message log I get this error: > > [Feb 15 08:40:15] ERROR[3971] chan_oss.c: Unable to register channel type > 'OSS' > > Unfortunately I cannot find WHY Asterisk was unable to register a channel > type "OSS". > And then: do I need this? On the old Asterisk I didn't had that...Huh? chan_oss registers the channel type 'Console' . I just tried it on a rpi with a somewhat similar deb, and chan_oss had no problem loading and registering channel type Console. I'm not aware of a patch to do so in Debian asterisk package and I don't suppose Armbian maintain their own Asterisk package. Are you sure you quote the error message right? Maybe the error message is: Unable to register channel type 'Console' which may be because either chan_alsa or chan_console was already loaded? Of those three: * I suppose chan_alsa should work better than chan_oss * chan_console has nice support of multiple devices, but is completely broken in your specific version[1] [1] https://issues.asterisk.org/jira/browse/ASTERISK-27426 , and thanks Sean Bright -- Tzafrir Cohen +972-50-7952406 mailto:tzafrir.cohen at xorcom.com http://www.xorcom.com
Luca Bertoncello
2018-Feb-15 08:38 UTC
[asterisk-users] chan_oss.c: Unable to register channel type 'OSS'
Zitat von Tzafrir Cohen <tzafrir.cohen at xorcom.com>: Hi,> Off-topic: any reason you don't use chan_alsa?This was the "Armbian installation", I didn't configured it extra...> Are you sure you quote the error message right?Copy+Paste... ;) But I searched a little bit and I really don't think, I need this module... As I undestand, I just need it, if I want to call/answer call using the console, and I really don't need this... Or I understood wrong? Regards Luca Bertoncello (lucabert at lucabert.de)