Le mardi 8 mai 2007 09:15, mcquaid mcquaid a écrit : > Just wanted to reply that I figured it out. Sorry to have bothered. > > In case anyone is curious I used the module snd-dummy which creates a dummy > alsa soundcard that forwards everything to /dev/null. In linphonec by > choosing soundcard help you can find out how to choose one instead of > modifying the config. Great console voip app.
Otherwise, you can type soundcard use files and then linphonec will use files instead of a soundcard. Then you can specify play and record files with simple commands: play /tmp/play.wav record /tmp/record.wav You can do those commands before or during the call. wav files MUST be 16bit pcm at 8000 Hz or 16000hz if speex wideband codec is used. Simon > > On 5/7/07, mcquaid mcquaid <[EMAIL PROTECTED]> wrote: > > Instead of my saying all that, I read that alsa can create a NULL plugin. > > So I guess my basic question is how do I specify a different soundcard in > > the .asoundrc? > > > > I can only get it to accept playback_dev_id=ALSA: default device or > > playback_dev_id=OSS: /dev/dsp > > > > I put this > > > > pcm.none { > > type null # Null PCM > > } > > > > in my .asoundrc and tried playback_dev_id=ALSA: none device > > and simply ALSA: none > > > > but both reverted back to default device. > > > > On 5/7/07, mcquaid mcquaid < [EMAIL PROTECTED]> wrote: > > > I used to use the linphone gui on my laptop and home computer. But at > > > home I now have an ata so only use it on my laptop. > > > > > > I have another box thats running mythtv and I have a program that would > > > grab the caller id and display on myths on screen display. Now I'm > > > using the ata, this program can no longer sniff the voip packets with > > > how my network is set up. > > > > > > I thought of logging into my provider twice (with the ata and > > > linphonec) and grabbing the caller id info from the running linphonec > > > and forward it to my myth box. > > > > > > And it works. But the linphonec running uses the soundcard. I tried > > > changing playback_dev_id=ALSA: default device to OSS:/dev/dsp1 which I > > > don't have, but it checks I guess and switched it back to ALSA. It > > > would accept dsp though. Could I somehow make a fake dsp1 under /dev > > > to satisfy linphonec startup checks but not actually be tied to > > > anything? > > > > > > Again, it's a unusual request I guess, but basically I just want this > > > instance of linphonec running, it's never going to answer/make calls. > > > So I'd rather it not use the soundcard even though it's uses alsa and > > > wouldn't hold the soundcard hostage. I bet there is probably a better > > > way of doing this though. I'm not sure if some sip server could do > > > this more elegently, I tried asterisk and some other sip one in the > > > past, and they both had problems with my nat, as did ekiga, but > > > linphone never gave me issues receiving incoming calls, so it would be > > > nice if I could use it here. > > > > > > > > > > > > > > > -- > > > If you can't keep your lies straight, who's gonna believe ya? > > > > -- > > If you can't keep your lies straight, who's gonna believe ya? _______________________________________________ Linphone-users mailing list Linphone-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/linphone-users