Results 1 to 3 of 3

Thread: Linphone not work (usb soundcard)

  1. #1

    Linphone not work (usb soundcard)

    Dear All

    I try to run linphone on a router

    the router has plugged a usb sound card like this one



    I run a linphone on my desktop pc with windows system

    I can ring my desktop from router,but show the error message
    "ortp-fatal-clock_gettime() doesn't work: Invalid argument"

    Maybe it is because the router does not support the ortp-fatal-clock_gettime()

    Is it possible,transport sound by using usb soundcard on the router ?


    sound <-> router <-> internet <-> router <-> sound



    all the message is below

    [root@white /opt]$ linphonec
    NLS disabled.
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver
    returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned
    error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned
    error: No such file or directory
    ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or
    directory
    ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_card_driver
    returned error: No such file or directory
    ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_concat returned
    error: No such file or directory
    ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
    ALSA lib conf.c:4154:(_snd_config_evaluate) function snd_func_refer returned
    error: No such file or directory
    ALSA lib conf.c:4633:(snd_config_expand) Evaluate error: No such file or
    directory
    ALSA lib pcm.c:2211:(snd_pcm_open_noupdate) Unknown PCM default
    ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
    ALSA lib pcm_hw.c:1401:(_snd_pcm_hw_open) Invalid value for card
    Ready
    Warning: video is disabled in linphonec, use -V or -C or -D to enable.
    linphonec> call test@192.168.1.176
    ortp-error-send(): Message too long
    linphonec> Contacting <sip:test@192.168.1.176>
    linphonec> Remote ringing.
    linphonec> ortp-fatal-clock_gettime() doesn't work: Invalid argument
    Aborted
    [root@white /opt]$

  2. #2
    Hi,

    please post the output of 'dmesg' maybe the router doesn't recognize the soundcard.

    I once too had a problem with a soundcard. I looked up the 'modules' oleg has posted seperately with it's latest firmware.
    Inside these modules there is a 'soundcore.o'

    If my memory serves me right I had to load the module by

    insmod soundcore.o

    followed by

    insmod audio


    After this the soundcard was recognised and I was able to use MPD and madplay to play sounds through the soundcard connected to the router.

    I've put the insmod commands in my post-mount script so the soundcard is correctly loaded after a reboot.


    hope this helps.

  3. #3
    Thank for your reply

    I think the router can recognize my usb soundcard

    Because I could play music like this below

    Code:
    mpg123 -r 48000 -b 1024 -@ http://cast.ptt.cc:8000/yes.m3u
    But I am not sure the usb soundcard line-in work.

    And I don't know how to test line-in

    Is there any other way to use open SIP library to transfer audio?

    I have an idea by using palantir or icecast to transfer audio ,but it not sucess yet

    BTW
    I use palantir to transfer video and audio with Logitech QuickCam 4000 pro ,it work

    Code:
    dmesg
    
    usbaudio: device 2 audiocontrol interface 0 has 1 input and 1 output AudioStreaming interfaces
    usbaudio: device 2 interface 2 altsetting 1 channels 1 framesize 2 configured
    usbaudio: valid input sample rate 24000
    usbaudio: device 2 interface 2 altsetting 1: format 0x00000010 sratelo 24000 sratehi 24000 attributes 0x00
    usbaudio: device 2 interface 1 altsetting 0 does not have an endpoint
    usbaudio: device 2 interface 1 altsetting 1 channels 2 framesize 2 configured
    usbaudio: valid output sample rate 48000
    usbaudio: device 2 interface 1 altsetting 1: format 0x01000010 sratelo 48000 sratehi 48000 attributes 0x00
    usbaudio: registered dsp 14,3
    usbaudio: constructing mixer for Terminal 3 type 0x0301
    usbaudio: registered mixer 14,0
    usbaudio: constructing mixer for Terminal 6 type 0x0101
    usbaudio: registered mixer 14,16
    usb_audio_parsecontrol: usb_audio_state at 818fa780
    Last edited by ffrr; 11-10-2010 at 15:33.

Similar Threads

  1. Проблема: USB 1.1 устройства через USB 2.0 хаб
    By Rambalac in forum Russian Discussion - РУССКИЙ (RU)
    Replies: 30
    Last Post: 15-09-2009, 12:00
  2. USB Hub and printer does not work
    By Tamadite in forum WL-500gP Q&A
    Replies: 9
    Last Post: 25-10-2008, 23:36
  3. Replies: 0
    Last Post: 29-02-2008, 19:21
  4. Replies: 0
    Last Post: 25-01-2008, 21:53

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •