Re: VoIP on Freerunner working properly (using linphone and SIP)

2009-03-19 Thread yacine


bricode wrote:
 
 All,
 
 After reading through many postings and becoming increasingly  
 frustrated, I buckled down and found a way to get the command line  
 linphone working on OE based distros (tested on Qtopia, but should  
 work on 200x.x and others). Ideally this could be interfaced with the  
 dialer somehow.
 
 Initial testing of this had the audio routed properly through the  
 earpiece and good audio from the microphone. There was some echo on  
 the non-Freerunner side, and on initial connection, a bit of a beeping  
 sound. Otherwise, it's a go. Linphone uses only about 10-12% CPU (was  
 using a PCM codec). Sound was decent to a cell phone in Canada using a  
 Wifi connected Freerunner based in Costa Rica.
 
 Here is a quick and dirty how-to. Enhancements can be made to both the  
 voip-handset.state and asound.conf files (these were my initial  
 working scripts). Thanks to Celtune for the excellent repository that  
 is used below.
 
 Regards,
 Brian Code
 Koolu
 
 echo src/gz celtune http://rabenfrost.net/celtune/ipk/armv4t; /etc/ 
 opkg/general-feed.conf
 opkg update
 opkg install libmediastreamer0
 opkg -nodeps install linphone
 opkg -nodeps install liblinphone2 linphonec linphone-rings
 opkg install libexosip2
 
 cd /etc/
 wget http://www.koolu.org/asound.conf
 wget http://www.koolu.org/voip-handset.state
 
 alsactl -f voip-handset.state restore (This step required to set  
 proper audio parameters).
 
 linphonec
 soundcard use 0
 proxy add
 Enter proxy sip address: sip:sip.provider.com
 Your identity for this proxy: sip:xxx...@sip.provider.com
 Do you want to register on this proxy (yes/no): yes
 Specify register expiration time in seconds (default is 600):
 Expiration: 600 seconds or so
 
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
 
 

Hi, 

I wanted to tryout linphone on my Neo but there seems to be a dead link. 
Does anyone know why http://rabenfrost.net/celtune/ipk/armv4t is down?
Did anyone keep a copy of those ipks?


Thanks!














-- 
View this message in context: 
http://n2.nabble.com/VoIP-on-Freerunner-working-properly-%28using-linphone-and-SIP%29-tp1099599p2504972.html
Sent from the Openmoko Community mailing list archive at Nabble.com.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


VoIP on Freerunner working properly (using linphone and SIP)

2008-09-18 Thread Brian Code

All,

After reading through many postings and becoming increasingly  
frustrated, I buckled down and found a way to get the command line  
linphone working on OE based distros (tested on Qtopia, but should  
work on 200x.x and others). Ideally this could be interfaced with the  
dialer somehow.


Initial testing of this had the audio routed properly through the  
earpiece and good audio from the microphone. There was some echo on  
the non-Freerunner side, and on initial connection, a bit of a beeping  
sound. Otherwise, it's a go. Linphone uses only about 10-12% CPU (was  
using a PCM codec). Sound was decent to a cell phone in Canada using a  
Wifi connected Freerunner based in Costa Rica.


Here is a quick and dirty how-to. Enhancements can be made to both the  
voip-handset.state and asound.conf files (these were my initial  
working scripts). Thanks to Celtune for the excellent repository that  
is used below.


Regards,
Brian Code
Koolu

echo src/gz celtune http://rabenfrost.net/celtune/ipk/armv4t; /etc/ 
opkg/general-feed.conf

opkg update
opkg install libmediastreamer0
opkg -nodeps install linphone
opkg -nodeps install liblinphone2 linphonec linphone-rings
opkg install libexosip2

cd /etc/
wget http://www.koolu.org/asound.conf
wget http://www.koolu.org/voip-handset.state

alsactl -f voip-handset.state restore (This step required to set  
proper audio parameters).


linphonec
soundcard use 0
proxy add
Enter proxy sip address: sip:sip.provider.com
Your identity for this proxy: sip:[EMAIL PROTECTED]
Do you want to register on this proxy (yes/no): yes
Specify register expiration time in seconds (default is 600):
Expiration: 600 seconds or so

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: VoIP on Freerunner working properly (using linphone and SIP)

2008-09-18 Thread Fredrik Wendt
tor 2008-09-18 klockan 16:28 -0600 skrev Brian Code:
 All, 
 
 After reading through many postings and becoming increasingly
 frustrated, I buckled down and found a way to get the command line
 linphone working on OE based distros (tested on Qtopia, but should
 work on 200x.x and others). Ideally this could be interfaced with the
 dialer somehow. 

Awesome work, can't wait to try it out! Do you need help putting this on
the Wiki or can/will/do you want to do this yourself?

/ Fredrik


signature.asc
Description: Detta är en digitalt signerad	meddelandedel
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: VoIP on Freerunner working properly (using linphone and SIP)

2008-09-18 Thread Marco Trevisan (Treviño)
Brian Code wrote:
 Initial testing of this had the audio routed properly through the
 earpiece and good audio from the microphone. There was some echo on the
 non-Freerunner side, and on initial connection, a bit of a beeping
 sound. Otherwise, it's a go. Linphone uses only about 10-12% CPU (was
 using a PCM codec). Sound was decent to a cell phone in Canada using a
 Wifi connected Freerunner based in Costa Rica. 
 cd /etc/ 
 wget http://www.koolu.org/asound.conf
 wget http://www.koolu.org/voip-handset.state
 
 alsactl -f voip-handset.state restore (This step required to set proper
 audio parameters). 

Well... As you maybe read, I got a sip calling working also using the
gtk interface of linphone [1] (I've just to release the packages I've
built) but the problems that I've stated in the Qtopia Voip thread
rests using these alsa configuration and state files :(.

Using them with linphone 2.1.1 gtk I always hear the voice in the
speaker and not in the earpiece. I've set in the configuration the Alsa
default interface as my sound device and I've tried both your alsa
states and configs and the ones provided by Openmoko.
But in no case I get the sound in my earpiece.
Now, I've changed some configuration parameters of my linphone build and
using Alsa I can get the sound also in the earpiece, but at this point
I can't disable at all the main speaker. :|

I'll try the packages you've suggested, but this seems so strange to me
since the alsa configuration should be the same for us.


[1] http://lists.openmoko.org/pipermail/community/2008-September/030735.html

-- 
Treviño's World - Life and Linux
http://www.3v1n0.net/


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community