[asterisk-users] chan_oss.c: Unable to register channel type 'OSS'

Tzafrir Cohen tzafrir.cohen at xorcom.com
Thu Feb 15 02:32:59 CST 2018


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



More information about the asterisk-users mailing list