BUG 20645 - ALSA & Console

phonebuff

Guru
Joined
Feb 7, 2008
Messages
1,117
Reaction score
129
FYI --

PIAF Installed Version = 2.0.6.5
Freepbx Version = 2.11.0.11
Running Asterisk =
Asterisk Source Version = 11.6.0 MODIFIED
Dahdi Source = 2.7.0.1
Libpri Source = 1.4.14
System Verified = *VERIFIED*

The ALSA module builds by default but will not start due to a Permissions issue.

Found this https://issues.asterisk.org/jira/browse/ASTERISK-8289

and using it was able to --
root@pbx:/etc $ ll /dev/snd/
total 0
drwxr-xr-x 2 root root 60 Nov 7 21:36 by-id
drwxr-xr-x 2 root root 60 Nov 7 21:36 by-path
crw-rw---- 1 root audio 116, 6 Nov 7 21:36 controlC0
crw-rw---- 1 root audio 116, 5 Nov 7 21:36 pcmC0D0c
crw-rw---- 1 root audio 116, 4 Nov 7 21:36 pcmC0D0p
crw-rw---- 1 root audio 116, 3 Nov 7 21:36 seq
crw-rw---- 1 root audio 116, 2 Nov 7 21:36 timer


root@pbx:/etc $ chmod o+rw /dev/snd/controlC0
root@pbx:/etc $ chmod o+rw /dev/snd/pcmC0D0*


root@pbx:/etc $ ll /dev/snd/
total 0
drwxr-xr-x 2 root root 60 Nov 7 21:36 by-id
drwxr-xr-x 2 root root 60 Nov 7 21:36 by-path
crw-rw-rw- 1 root audio 116, 6 Nov 7 21:36 controlC0
crw-rw-rw- 1 root audio 116, 5 Nov 7 21:36 pcmC0D0c
crw-rw-rw- 1 root audio 116, 4 Nov 7 21:36 pcmC0D0p
crw-rw---- 1 root audio 116, 3 Nov 7 21:36 seq
crw-rw---- 1 root audio 116, 2 Nov 7 21:36 timer


root@pbx:/etc $ asterisk -rx 'module load chan_alsa'
Loaded chan_alsa

[2013-11-07 21:48:05] VERBOSE[2623] config.c: == Parsing '/etc/asterisk/alsa.conf': Found
[2013-11-07 21:48:05] VERBOSE[2623] channel.c: == Registered channel type 'Console' (ALSA Console Channel Driver)
[2013-11-07 21:48:05] VERBOSE[2623] loader.c: Loaded chan_alsa.so => (ALSA Console Channel Driver)

Next up Console does not build, missing a dependency, but not sure what the fix will be. More latter --

==========
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
let me know and I will add some fixes as needed to the base install. What are you using the ALSA for in your install?

Tom
 

Members online

No members online now.

Forum statistics

Threads
25,838
Messages
167,931
Members
19,264
Latest member
lm2lm2
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top