LinuxMCE Forums

General => Users => Topic started by: hanafi on January 06, 2013, 07:47:37 pm

Title: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 06, 2013, 07:47:37 pm
I installed LMCE on 1004 very function definitely except telephony and intercom I do not have sound on core and MD

thank you for your help
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 06, 2013, 09:46:41 pm
I installed LMCE on 1004 very function definitely except telephony and intercom I do not have sound on core and MD

thank you for your help
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 11:23:27 am
how is the Audio settings on  MDs 
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 11:29:18 am
hi

the sound work great on 3 MD and core but when i place call or intercom no sound .
setting of Md and core is a default card sound
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 11:38:14 am
and no ring too in the MD or Core.
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 12:26:49 pm
please post your  /etc/asound.conf
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 02:12:21 pm
my  /etc/asound.conf



pcm.analog_6 {
        slave.pcm surround51
        slave.rate 48000
        slave.channels 6
        type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.0.2 1
        ttable.1.3 1
        ttable.0.4 0.5
        ttable.1.4 0.5
        ttable.0.5 0.5
        ttable.1.5 0.5
}

pcm.analog_8 {
        slave.pcm multi
        slave.rate 48000
        slave.channels 8
        type route
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.2.2 1.0
        ttable.3.3 1.0
        ttable.4.4 1.0
        ttable.5.5 1.0
        ttable.0.6 1.0
        ttable.1.7 1.0
        ttable.2.6 0.7
        ttable.3.7 0.7
        ttable.4.6 0.7
        ttable.4.7 0.7
        ttable.5.6 0.5
        ttable.5.7 0.5
}

pcm.analog {
        slave.pcm "analog:0,0"
        slave.rate 48000
}

!default {
        type asym
        playback.pcm "plughw:0,0"
        capture.pcm "plughw:0,0"
}
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 02:30:21 pm
you can edit  /usr/pluto/templates/asound.conf    on core  and MD´s   and  add

pcm.asym_analog {
        type asym
        playback.pcm "%ANALOG_PLAYBACK_CARD%"
        capture.pcm "plughw:%MAIN_CARD%"
}


then reboot the system.
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 03:09:31 pm
any change stays without sound
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 03:29:36 pm
post your asound.conf  again   and  simplephone.log   
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 04:50:57 pm
asound.conf

pcm.analog_6 {
        slave.pcm surround51
        slave.rate 48000
        slave.channels 6
        type route
        ttable.0.0 1
        ttable.1.1 1
        ttable.0.2 1
        ttable.1.3 1
        ttable.0.4 0.5
        ttable.1.4 0.5
        ttable.0.5 0.5
        ttable.1.5 0.5
}

pcm.analog_8 {
        slave.pcm multi
        slave.rate 48000
        slave.channels 8
        type route
        ttable.0.0 1.0
        ttable.1.1 1.0
        ttable.2.2 1.0
        ttable.3.3 1.0
        ttable.4.4 1.0
        ttable.5.5 1.0
        ttable.0.6 1.0
        ttable.1.7 1.0
        ttable.2.6 0.7
        ttable.3.7 0.7
        ttable.4.6 0.7
        ttable.4.7 0.7
        ttable.5.6 0.5
        ttable.5.7 0.5
}

pcm.analog {
        slave.pcm "analog:0,0"
        slave.rate 48000
}

!default {
        type asym
        playback.pcm "plughw:0,0"
        capture.pcm "plughw:0,0"
}
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 05:04:47 pm
where I can found this file "simplephone.log"
in / Var / log it has nothing it
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 05:30:45 pm
here my simplephone.conf

[net]
download_bw=0
upload_bw=0
firewall_policy=0

[sip]
sip_port=5061
use_info=0
use_ipv6=0

[sound]
alsadev=asym_analog
playback_dev_id=ALSA: asym_analog
ringer_dev_id=ALSA: asym_analog
capture_dev_id=ALSA: asym_analog
local_ring=/usr/share/sounds/linphone/rings/oldphone.wav
remote_ring=/usr/share/sounds/linphone/ringback.wav
echocancelation=0

[video]
display=0
capture=0
show_local=0

[audio_codec_0]
mime=speex
rate=16000
enabled=1

[audio_codec_1]
mime=speex
rate=8000
enabled=1

[audio_codec_2]
mime=PCMU
rate=8000
enabled=1

[audio_codec_3]
mime=GSM
rate=8000
enabled=1

[audio_codec_4]
mime=PCMA
rate=8000
enabled=1

[video_codec_0]
mime=theora
rate=90000
enabled=1

[video_codec_1]
mime=H263-1998
rate=90000
enabled=1

[video_codec_2]
mime=MP4V-ES
rate=90000

[video_codec_3]
mime=x-snow
rate=90000
enabled=1

[proxy_0]
reg_proxy=sip:dcerouter
reg_identity=sip:200@dcerouter
reg_expires=600
reg_sendregister=1
publish=0


                       
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 06:19:15 pm
add this to a /etc/asounf.conf     

pcm.asym_analog {
        type asym
        playback.pcm "plughw:0,0"
        capture.pcm "plughw:0,0"
}

the log files  is on /var/log/pluto/devicenumber_simplephone.log
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 08:19:17 pm
ok
22_SimplePhone.log

05      01/07/13 10:30:08.991           ^[[33;1mSocket::ReceiveData 0x86263c0 failed, bytes left 0 start: 190000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 6 Command_Impl1 Dev #22^[[0m <0x275bb70>
05      01/07/13 10:30:08.991           ^[[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #22^[[0m <0x275bb70>
01      01/07/13 10:30:08.991           ^[[31;1mReceive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #22^[[0m <0x275bb70>
05      01/07/13 10:30:08.991           ^[[33;1mDumping 1 locks^[[0m <0x275bb70>
05      01/07/13 10:30:08.991           ^[[33;1mfinished check for exceptions^[[0m <0x275bb70>
05      01/07/13 10:30:08.991           ^[[33;1mOL: (0x862650c) (>217) MessageQueue Command_Impl.cpp l:852 time: 1:00:00a (1357551008 s) thread: 111770480 Rel: Y Got: Y^[[0m <0x275bb70>
Return code: 2
2       01/07/13 10:30:11       22 (spawning-device)    ^[[1;33mDevice requests restart... count=1/50 dev=22^[[1;00m
Mon Jan  7 10:30:11 CET 2013 Restart
========== NEW LOG SECTION ==========
1       01/07/13 10:30:19       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 10:30:19       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 10:30:31.734           ^[[33;1mServer IP: dcerouter^[[0m <0xb7732710>
== ATTEMPT FRESH START ==
1       01/07/13 10:30:33       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m8334 Dev: 22; Already Running list: 15,16,18,19,30,33,34,40,52,95,47,49,51,21,122,22,27,120,23,26,39,25,121,^[[1;00m
1       01/07/13 10:30:33       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m8334 Device 22 was marked as 'running'. Not starting^[[1;00m
1       01/07/13 10:30:33       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m8334 Dev: 22; Exiting because not starting^[[1;00m
05      01/07/13 10:34:14.883           ^[[33;1mSocket::ReceiveData 0x9cd13c0 failed, bytes left 0 start: 80000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 6 Command_Impl1 Dev #22^[[0m <0x40c8b70>
05      01/07/13 10:34:14.883           ^[[33;1mSocket::ReceiveString2 ReceiveData failed m_Socket: -1 Command_Impl1 Dev #22^[[0m <0x40c8b70>
01      01/07/13 10:34:14.883           ^[[31;1mReceive string failed in HandleRequestSocket 18:ReceiveData failed Command_Impl1 Dev #22^[[0m <0x40c8b70>
05      01/07/13 10:34:14.883           ^[[33;1mDumping 1 locks^[[0m <0x40c8b70>
05      01/07/13 10:34:14.883           ^[[33;1mfinished check for exceptions^[[0m <0x40c8b70>
05      01/07/13 10:34:14.883           ^[[33;1mOL: (0x9cd150c) (>227) MessageQueue Command_Impl.cpp l:852 time: 1:00:00a (1357551254 s) thread: 133376880 Rel: Y Got: Y^[[0m <0x40c8b70>
Return code: 2
2       01/07/13 10:34:16       22 (spawning-device)    ^[[1;33mDevice requests restart... count=1/50 dev=22^[[1;00m
Mon Jan  7 10:34:16 CET 2013 Restart
========== NEW LOG SECTION ==========
1       01/07/13 10:34:24       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 10:34:24       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 10:34:29.139           ^[[33;1mServer IP: dcerouter^[[0m <0xb779e710>
== ATTEMPT FRESH START ==
1       01/07/13 10:34:30       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m25387 Dev: 22; Already Running list: 15,16,18,19,30,33,34,40,52,95,47,49,51,21,122,22,27,120,23,26,39,25,121,^[[1;00m
1       01/07/13 10:34:30       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m25387 Device 22 was marked as 'running'. Not starting^[[1;00m
1       01/07/13 10:34:30       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m25387 Dev: 22; Exiting because not starting^[[1;00m
== ATTEMPT FRESH START ==
1       01/07/13 11:23:24       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m14212 Dev: 22; Already Running list: 15,16,18,19,30,33,34,52,95,47,49,51,21,^[[1;00m
== FRESH START ==
1       01/07/13 11:23:24       Spawn_Device.sh 22 (spawning-device)    ^[[1;00mdevice: 22 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 11:23:24       22 (spawning-device)    ^[[1;00mEntering 22^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 11:23:24       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 11:23:24       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 11:23:25.550           ^[[33;1mServer IP: dcerouter^[[0m <0xb77ac710>
05      01/07/13 11:24:04.373           ^[[33;1mvoid ClientSocket::Disconnect() on this socket: 0x85f23c0 (m_Socket: 6)^[[0m <0xb77ac710>
Return code: 0
2       01/07/13 11:24:04       22 (spawning-device)    ^[[1;33mShutting down... count=1/50 dev=22^[[1;00m
Mon Jan  7 11:24:04 CET 2013 Shutdown
== ATTEMPT FRESH START ==
1       01/07/13 11:24:23       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m18820 Dev: 22; Already Running list: 15,16,18,19,30,33,34,52,95,47,49,51,21,122,^[[1;00m
== FRESH START ==
1       01/07/13 11:24:23       Spawn_Device.sh 22 (spawning-device)    ^[[1;00mdevice: 22 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 11:24:23       22 (spawning-device)    ^[[1;00mEntering 22^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 11:24:23       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 11:24:23       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 11:24:23.879           ^[[33;1mServer IP: dcerouter^[[0m <0xb7752710>
== ATTEMPT FRESH START ==
1       01/07/13 11:24:37       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m20515 Dev: 22; Already Running list: 15,16,18,19,30,33,34,52,95,47,49,51,21,122,22,120,23,121,26,25,39,27,^[[1;00m
1       01/07/13 11:24:37       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m20515 Device 22 was marked as 'running'. Not starting^[[1;00m
1       01/07/13 11:24:37       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m20515 Dev: 22; Exiting because not starting^[[1;00m
05      01/07/13 11:48:08.789           ^[[33;1mGot a reload command from 0 ^[[0m <0x5333b70>
05      01/07/13 11:48:11.133           ^[[33;1mvoid ClientSocket::Disconnect() on this socket: 0x868e3c0 (m_Socket: 6)^[[0m <0xb7752710>
Return code: 0
2       01/07/13 11:49:07       22 (spawning-device)    ^[[1;33mShutting down... count=1/50 dev=22^[[1;00m
Mon Jan  7 11:49:07 CET 2013 Shutdown
== ATTEMPT FRESH START ==
1       01/07/13 11:49:17       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m28185 Dev: 22; Already Running list: 15,16,18,19,30,33,34,52,95,47,49,51,21,122,27,40,^[[1;00m
== FRESH START ==
1       01/07/13 11:49:17       Spawn_Device.sh 22 (spawning-device)    ^[[1;00mdevice: 22 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 11:49:17       22 (spawning-device)    ^[[1;00mEntering 22^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 11:49:17       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 11:49:17       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 11:49:17.343           ^[[33;1mServer IP: dcerouter^[[0m <0xb7728710>
== ATTEMPT FRESH START ==
1       01/07/13 15:01:36       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m4039 Dev: 22; Already Running list: 15,16,18,19,30,33,34,40,52,95,47,49,51,21,^[[1;00m
== FRESH START ==
1       01/07/13 15:01:36       Spawn_Device.sh 22 (spawning-device)    ^[[1;00mdevice: 22 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 15:01:36       22 (spawning-device)    ^[[1;00mEntering 22^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 15:01:36       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 15:01:36       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 15:01:36.924           ^[[33;1mServer IP: dcerouter^[[0m <0xb77aa710>
05      01/07/13 15:03:17.569           ^[[33;1mvoid ClientSocket::Disconnect() on this socket: 0x80de3c0 (m_Socket: 6)^[[0m <0xb77aa710>
Return code: 0
2       01/07/13 15:03:17       22 (spawning-device)    ^[[1;33mShutting down... count=1/50 dev=22^[[1;00m
Mon Jan  7 15:03:17 CET 2013 Shutdown
== ATTEMPT FRESH START ==
1       01/07/13 15:03:36       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m12948 Dev: 22; Already Running list: 15,16,18,19,30,33,34,40,52,95,47,49,51,21,122,^[[1;00m
== FRESH START ==
1       01/07/13 15:03:36       Spawn_Device.sh 22 (spawning-device)    ^[[1;00mdevice: 22 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 15:03:36       22 (spawning-device)    ^[[1;00mEntering 22^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 15:03:36       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 15:03:36       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 15:03:36.333           ^[[33;1mServer IP: dcerouter^[[0m <0xb76f8710>
== ATTEMPT FRESH START ==
1       01/07/13 15:03:49       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m14638 Dev: 22; Already Running list: 15,16,18,19,30,33,34,40,52,95,47,49,51,21,122,22,23,26,121,25,120,27,39,^[[1;00m
1       01/07/13 15:03:49       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m14638 Device 22 was marked as 'running'. Not starting^[[1;00m
1       01/07/13 15:03:49       Spawn_Device.sh 22 (spawning-device)    ^[[1;00m14638 Dev: 22; Exiting because not starting^[[1;00m
05      01/07/13 17:16:53.091           ^[[33;1mGot a reload command from 0 ^[[0m <0x3303b70>
05      01/07/13 17:16:55.407           ^[[33;1mvoid ClientSocket::Disconnect() on this socket: 0x89d63c0 (m_Socket: 6)^[[0m <0xb76f8710>
Return code: 2
2       01/07/13 17:16:55       22 (spawning-device)    ^[[1;33mDevice requests restart... count=1/50 dev=22^[[1;00m
Mon Jan  7 17:16:55 CET 2013 Restart
========== NEW LOG SECTION ==========
1       01/07/13 17:17:03       22 (spawning-device)    ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 17:17:03       22 (spawning-device)    ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 17:17:04.469           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:05.469           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:06.470           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:07.471           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:08.472           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:09.473           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:10.475           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:11.476           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:12.476           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:13.477           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:14.478           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
05      01/07/13 17:17:15.480           ^[[33;1mConnect() failed, Error Code 111 (Connection refused))^[[0m <0xb76f4710>
                                                                                                                                       
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 08:50:07 pm
your  phones  is not registered.

connection refused.
check if phones has password configured  and do a quick reload
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 09:13:05 pm
hi
i delete all the phone and reboot and here my simplephone now

== ATTEMPT FRESH START ==
1       01/07/13 21:04:07       Spawn_Device.sh 131 (spawning-device)   ^[[1;00m5816 Dev: 131; Already Running list: 15,16,18,19,30,33,34,52,95,47,49,51,21,25,120,^[[1;00m
== FRESH START ==
1       01/07/13 21:04:07       Spawn_Device.sh 131 (spawning-device)   ^[[1;00mdevice: 131 ip: 127.0.0.1 cmd_line: SimplePhone^[[1;00m
0       01/07/13 21:04:07       131 (spawning-device)   ^[[1;00mEntering 131^[[1;00m
========== NEW LOG SECTION ==========
1       01/07/13 21:04:07       131 (spawning-device)   ^[[1;00mStarting... 1^[[1;00m
1       01/07/13 21:04:07       131 (spawning-device)   ^[[1;00mFound ./SimplePhone^[[1;00m
05      01/07/13 21:04:10.319           ^[[33;1mServer IP: dcerouter^[[0m <0xb772b710>
~
~
but not runing and no ring
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 09:21:43 pm
on linux console
type

asterisk -r  enter
sip show peers    enter

post result

Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 09:29:21 pm
sip peers



Name/username              Host                                    Dyn Forcerport ACL Port     Status     Realtime
200/200                    192.168.80.1                             D   N             5061     Unmonitored Cached RT
201/201                    192.168.80.2                             D   N             5061     Unmonitored Cached RT
202/202                    192.168.80.3                             D   N             5061     Unmonitored Cached RT
203/203                    192.168.80.4                             D   N             5061     Unmonitored Cached RT
4 sip peers [Monitored: 0 online, 0 offline Unmonitored: 4 online, 0 offline]
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 09:48:53 pm
you  modified  asound.conf

on /etc   and  on /usr/pluto/templates  ?
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 09:55:07 pm
you mean
on core and MD ?


this !!


pcm.asym_analog {
        type asym
        playback.pcm "plughw:0,0"
        capture.pcm "plughw:0,0"
}
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 09:58:35 pm
yes
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 07, 2013, 10:06:08 pm
I have just made it
are what I reboot?
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 07, 2013, 10:47:07 pm
yes you need to reboot
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 06:41:01 am
thanks you

the 3 Md working but no micro phone
and core  stay no sound
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 08, 2013, 09:56:49 am
on  MD  without mic  use alsamixer to check  if mic is enable

how audio on core is conected HDMI or  stereo ?
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 11:19:02 am
audio on core is conected   stereo but i never successful HDMI
i have NVIDIA Card GT 430
I will be happy to make it hdmi

Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 08, 2013, 11:25:48 am
please post  result off aplay -l    for a core


for mic  the simplephone use this script  to enable mic

/usr/pluto/bin/SoundCards_SetupAudioCapture.sh

in my case i need to edit and change 'Mic'  to 'Capture'


#!/bin/bash

# enable mic
amixer set 'Capture' 74% mute cap
amixer set 'Capture' 20dB

Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 11:36:07 am

aplay -l give me this

**** List of PLAYBACK Hardware Devices ****
card 0: CMI8738 [C-Media CMI8738], device 0: CMI8738-MC6 [C-Media PCI DAC/ADC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 1: CMI8738-MC6 [C-Media PCI 2nd DAC]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: CMI8738 [C-Media CMI8738], device 2: CMI8738-MC6 [C-Media PCI IEC958]
  Subdevices: 1/1
  Subdevice #0: subdevice #0


command aplay -L

default:CARD=CMI8738
    C-Media CMI8738, C-Media PCI DAC/ADC
    Default Audio Device
front:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI DAC/ADC
    Front speakers
iec958:CARD=CMI8738,DEV=0
    C-Media CMI8738, C-Media PCI DAC/ADC
    IEC958 (S/PDIF) Digital Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)
default:CARD=CinemaTM
    Microsoft® LifeCam Cinema(TM), USB Audio
    Default Audio Device
front:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    Front speakers
surround40:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=CinemaTM,DEV=0
    Microsoft® LifeCam Cinema(TM), USB Audio
    IEC958 (S/PDIF) Digital Audio Output
default:CARD=NVidia
    HDA NVidia
    Default Audio Device
front:CARD=NVidia
    HDA NVidia
    Front speakers
surround40:CARD=NVidia
    HDA NVidia
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia
    HDA NVidia
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia
    HDA NVidia
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia
    HDA NVidia
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia
    HDA NVidia
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=NVidia
    HDA NVidia
    IEC958 (S/PDIF) Digital Audio Output
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 08, 2013, 11:39:31 am
with this test you can hear something

speaker-test -D plughw:0,0


Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 11:42:46 am
/usr/pluto/bin/SoundCards_SetupAudioCapture.sh
amixer: Unable to find simple control 'Capture',0

amixer: Unable to find simple control 'Capture',0
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 08, 2013, 12:07:27 pm
post result off amixer
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 12:13:16 pm
amixer on core


Simple mixer control 'Master',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%]
  Front Right: Playback 25 [81%]
Simple mixer control '3D Control - Switch',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on] Capture [off]
  Front Right: Playback 25 [81%] [on] Capture [off]
Simple mixer control 'Synth',0
  Capabilities: pvolume pswitch pswitch-joined cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on] Capture [off]
  Front Right: Playback 25 [81%] [on] Capture [off]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Line-In Mode',0
  Capabilities: enum
  Items: 'Line-In' 'Rear Output' 'Bass Output'
  Item0: 'Line-In'
Simple mixer control 'CD',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Front Left: Playback 25 [81%] [on] Capture [off]
  Front Right: Playback 25 [81%] [on] Capture [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 31 Capture 0 - 7
  Mono: Playback 0 [0%] [off] Capture 0 [0%] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Mono: Playback [off] Capture [off]
Simple mixer control 'Mic-In Mode',0
  Capabilities: enum
  Items: 'Mic-In' 'Center/LFE Output'
  Item0: 'Center/LFE Output'
Simple mixer control 'Phone',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 7
  Mono: Playback 0 [0%] [off]
Simple mixer control 'IEC958 5V',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958 Copyright',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Monitor',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Phase Inverse',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Select',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 In Valid',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Loop',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Output',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Aux',0
  Capabilities: pvolume pswitch cswitch
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: Playback 0 - 15
  Front Left: Playback 0 [0%] [off] Capture [off]
  Front Right: Playback 0 [0%] [off] Capture [off]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 2 [67%] [on]
Simple mixer control 'Four Channel Mode',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: cfernandes on January 08, 2013, 12:39:00 pm
you have 

Simple mixer control 'Mic',0

and

Simple mixer control 'Mic Boost',0

try

amixer set 'Mic' 74% mute cap
amixer set 'Mic Boost' 20dB

Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 08, 2013, 12:53:44 pm



Simple mixer control 'Mic',0
  Capabilities: pvolume pvolume-joined cvolume pswitch pswitch-joined cswitch cswitch-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: Playback 0 - 31 Capture 0 - 7
  Mono: Playback 23 [74%] [off] Capture 6 [86%] [on]
amixer: Invalid command!

on my core i have sound for mythtv dvd music all just asterisk no sound no ring
Title: Re: no sound on asterisk and intercom 1004 ?
Post by: hanafi on January 09, 2013, 11:57:35 am
i have already no sound on my core for telecom