News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

no sound on asterisk and intercom 1004 ?

Started by hanafi, January 06, 2013, 07:47:37 PM

Previous topic - Next topic

cfernandes

your  phones  is not registered.

connection refused.
check if phones has password configured  and do a quick reload

hanafi

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

cfernandes

on linux console
type

asterisk -r  enter
sip show peers    enter

post result


hanafi

#18
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]

cfernandes

you  modified  asound.conf

on /etc   and  on /usr/pluto/templates  ?

hanafi

you mean
on core and MD ?


this !!


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

cfernandes


hanafi


cfernandes


hanafi

#24
thanks you

the 3 Md working but no micro phone
and core  stay no sound

cfernandes

on  MD  without mic  use alsamixer to check  if mic is enable

how audio on core is conected HDMI or  stereo ?

hanafi

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


cfernandes

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


hanafi


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

cfernandes

with this test you can hear something

speaker-test -D plughw:0,0