Chan_oss.c: Unable To Register Channel Type ‘OSS’

Home » Asterisk Users » Chan_oss.c: Unable To Register Channel Type ‘OSS’
Asterisk Users 4 Comments

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@lucabert.de)

4 thoughts on - Chan_oss.c: Unable To Register Channel Type ‘OSS’

  • Hi,

    Off-topic: any reason you don’t use chan_alsa?

    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

  • Zitat von Tzafrir Cohen :

    Hi,

    This was the “Armbian installation”, I didn’t configured it extra…

    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@lucabert.de)

  • Yes. It is useful if you want to call using a local sound device.

    Consider editing /etc/asterisk/modules.conf and disable (‘noload =>’)
    chan_oss.so .

  • Zitat von Tzafrir Cohen :

    On a Banana PI? 😉

    So I did…

    Thanks Luca Bertoncello
    (lucabert@lucabert.de)