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

2018-02-15 Thread Luca Bertoncello

Zitat von Tzafrir Cohen :


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


On a Banana PI? ;)


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


So I did...

Thanks
Luca Bertoncello
(lucab...@lucabert.de)


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2018-02-15 Thread Tzafrir Cohen
On Thu, Feb 15, 2018 at 08:38:03AM +, Luca Bertoncello wrote:
> Zitat von Tzafrir Cohen :
> 
> 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?

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 .

-- 
   Tzafrir Cohen
+972-50-7952406   mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2018-02-15 Thread Luca Bertoncello

Zitat von Tzafrir Cohen :

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


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users


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

2018-02-15 Thread Tzafrir Cohen
Hi,

On Thu, Feb 15, 2018 at 07:45:00AM +, 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.co...@xorcom.com
http://www.xorcom.com

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2018-02-14 Thread Luca Bertoncello

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


--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users