Matthew Lawson | 6 Jun 2003 19:37

Enabling ALSA drivers?

Hello,

I am attempting to use Linphone to call a Cisco 7960 phone over 
Asterisk.  I am using Debian Linux 3.0r1 (Woody?).  I am using the ALSA 
intel8x0 sound driver.

What happens, audio from the computer to the Cisco is OK, but audio from 
the Cisco from the computer doesn't arrive until 4 MINUTES later. 
 That's right, minutes not seconds.  I'm using Linphone 0.11.0.  I'm 
also using the command-line only version (linphonec).  The user's manual 
says to select "use ALSA" from the Gnome GUI, which I obviously can't 
do, and I can't figure out if there's a flag in the .linphonec 
configuration file that should be set for this.

I tried using the --enable-alsa switch with configure, and the "-DALSA" 
flag seems to be set, but when I run the program, it appears to still be 
using the OSS routines.  I put diagnostic messages in the 
"alsa_read/write" and "oss read/write" routines and it's still using the 
oss routines.  Is this right?

If not, how do I get it to use ALSA, and is this likely the problem?

Thanks.

- Matt

Vangelis Bouzianis | 11 Jun 2003 20:15
Picon
Favicon

Liphone - SER set-up over IPv6

Hallo

I am a Linphone newbie, trying to make up  a test-bed IPv6 network with VoIP 
functionality. My current set-up is 3 Linux boxes (Red Hat 9.0) with dual 
stacks (IPv4 addresses from our intranet's DHCP and IPv6 ones manually 
allocated within the test range 3ffe:aaaa:bbbb:cccc::1/2/3). The machine 
ending in ....::1 runs an IPv6 enabled SER proxy server, and each of the 
machines runs Linphone 0.11.0.

Though when I run Linphone on my SER server machine the configuration panel 
comes up with full information about my network connectivity (whereby I can 
choose my IPv6 address to use), when I run Linphone on the other two 
machines only the IPv4 addresses come up in the list. I've tried repeatedly 
to find out what are the differences between the machines' set-up but up to 
now everything seems identical.

Hence I was wondering what Linphone actually uses to detect the network 
addresses of the machine that it provides as choices in the configuration 
panel. Does it look them up in /etc/hosts? Does it probe for  active 
interfaces? Is there some line in the .gnome2/linphone file that can force 
Linphone to only use IPv6?

The funny thing is that as it is now, my Linphone clients register 
successfully with the SER server using IPv6 packets to communicate to it (I 
enter the SER server's IPv6 address with [..] in the configuration panel and 
then I check the registration messages also with #tcpdump ip6) but they 
register their contact address in IPv4!

Any help appreciated, thanks

(Continue reading)

hihihi | 11 Jun 2003 22:03
Picon
Favicon

Sipomatic server ?


Hi..

Is there a sipomatich server active on the internet which i can use for 
testing linphone ?

Firoz | 12 Jun 2003 11:35
Favicon

Unable to talk or hear

Hi,
I am using linphone-0.10.0 on Linux 7.3
While testing with sipomatic, everything works fine. But while trying to
talk to my friend  we are not able to hear any voice though the
signalling is ok. when the call is made I am able to hear the ring but
as soon as I try to answere both of us are not able to hear anything.
Can anybody help me out with this one ?

Thanks
Firoz
     +++++++++++++++++++++++++++++++ Disclaimer +++++++++++++++++++++++++++++++++++++++

         This e-mail may contain privileged and confidential information and is intended only for 
          the use of the specific individual(s) to whom it is addressed. If you are not an intended 
          recipient of this e-mail, you are hereby notified that any unauthorized use, dissemination
          or copying of this e-mail or the information contained in it or attached to it is strictly prohibited.
          If you have received this e-mail in error, please delete it and immediately notify the undersigned
          by reply e-mail.
      Hellosoft India Pvt. Ltd.                                                                      www.hellosoft.com
     +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

firoz lalani | 12 Jun 2003 12:21
Picon
Favicon

Unable to talk or hear using linphone

Hi,
I am using linphone-0.10.0 on Linux 7.3
While testing with sipomatic, everything works fine. But while trying to 
talk to my friend  we are not able to hear any voice though the signalling 
is ok. when the call is made I am able to hear the ring but as soon as I try 
to answere both of us are not able to hear anything.
Can anybody help me out with this one ?

Thanks
Firoz

_________________________________________________________________
ICICI's NRI services. They make life easy. 
http://server1.msn.co.in/msnspecials/nriservices/index.asp Find out more.

Simon Morlat | 12 Jun 2003 21:36

Re: Enabling ALSA drivers?

Hello,

I've read your previous email about the "fucking remote sipphone".
Unfortunately I'm not able to explain you exactly what's going wrong.
What I know is that I remember to have fixed such a bug some time ago in
my development version (upcoming 0.12.0).
So I recommend that you try it. You can download it at
http://simon.morlat.free.fr/download/unstable
Concerning your question about alsa support: it was not finished and so
disabled in linphone-0.11.0. Fortunately it is now fully functionnal in
linphone-0.12.0, so you will be able to play with it too.
In order to use it in console mode, you have to set the good
dev_id=[card_number] in your .linphonec. Linphone scans first for oss
devices (/dev/dspX) then alsa devices through asoundlib.
If you have only one card, the dev_id for the alsa card is then 1,(0 for
oss). If you use the gnome interface, then it appears clearly in a combo
box.
Concerning your 4 minutes delay; I never heard this before. I think it
is related to the RTP stream. In order to do that, the sender has to
send its first RTP packet with timestamp t, then all the other ones with
(t+(8000*60*4)+n*160) where n is the packet index.
The receiver then will have to wait 4 minutes between the first packet
and the following ones.
Please verify that this problem was not momentary. As oRTP already runs
within deployed systems, I would think that the problem was more in the
Cisco Phone.
I'm using Debian Sid with the intel8x0 alsa driver, and I get very good
latency. The intel8x0 is a good driver.
I'm interested in any feedback about linphone-0.12.0pre1.

(Continue reading)

Franklin | 13 Jun 2003 11:34

Re: Cross compilation





Hello Simon Morlat: 

Thank you very much for your great work of linphone. 

Do you mean you have successfully used linphone on uclinux? It seems to me
that glib can't be ported to the uclinux so I have some troubles on porting
linphone on uclinux. Can you please give me any clues? And if I think if I
want to run linphone on uclinux, 
I must disable all glib fuctions. I have maken osip work on uclinux. 

Thank you very much! 
Bestwishes 
Franklin 


From: Simon Morlat 
Subject: Re: [Linphone-users]Cross compilation 
Date: 23 Jan 2003 14:52:21 +0100 



Hi, 

Probably. I know that linphone runs on linux/ARM. 
What you need is a linux with thread support, and glib-2.0 installed. 
Even on uclinux it can work. 
(Continue reading)

Simon Morlat | 15 Jun 2003 10:32

Re: Cross compilation

Hello,

I have no report of linphone running on ucLinux. 
You can't get rid of glib functions in linphone. However what should be
possible is to redefine with macros all the glib functions used by
linphone; so that they directly translate into the proper libc call for
uclinux (for threads, mutex, conditions...).
I think this is possible and will have a very low memory and CPU
overhead.
Simon

Le ven 13/06/2003 à 11:34, Franklin a écrit :
> 
> 
> Hello Simon Morlat: 
> 
> Thank you very much for your great work of linphone. 
> 
> Do you mean you have successfully used linphone on uclinux? It seems to me
> that glib can't be ported to the uclinux so I have some troubles on porting
> linphone on uclinux. Can you please give me any clues? And if I think if I
> want to run linphone on uclinux, 
> I must disable all glib fuctions. I have maken osip work on uclinux. 
> 
> Thank you very much! 
> Bestwishes 
> Franklin 
> 
> 
> From: Simon Morlat 
(Continue reading)

Simon Morlat | 15 Jun 2003 10:34

Re: Unable to talk or hear using linphone

Hi,

Sorry, I don't like supporting old versions. Please use lastest version.
The problem can come from a wrong network interface choice, incorrect
mixer settings, a bug on the sound driver that prevents from recording
sound. Check that you have applications able to record sound on your
both pc.
Simon

Le jeu 12/06/2003 à 12:21, firoz lalani a écrit :
> Hi,
> I am using linphone-0.10.0 on Linux 7.3
> While testing with sipomatic, everything works fine. But while trying to 
> talk to my friend  we are not able to hear any voice though the signalling 
> is ok. when the call is made I am able to hear the ring but as soon as I try 
> to answere both of us are not able to hear anything.
> Can anybody help me out with this one ?
> 
> Thanks
> Firoz
> 
> _________________________________________________________________
> ICICI's NRI services. They make life easy. 
> http://server1.msn.co.in/msnspecials/nriservices/index.asp Find out more.
> 
> 
> 
> _______________________________________________
> Linphone-users mailing list
> Linphone-users <at> nongnu.org
(Continue reading)

Simon Morlat | 15 Jun 2003 10:37

Re: Sipomatic server ?

Hi,
Sorry, it seems not.
Simon
Le mer 11/06/2003 à 22:03, hihihi a écrit :
> Hi..
> 
> Is there a sipomatich server active on the internet which i can use for 
> testing linphone ?
> 
> 
> 
> 
> _______________________________________________
> Linphone-users mailing list
> Linphone-users <at> nongnu.org
> http://mail.nongnu.org/mailman/listinfo/linphone-users
--

-- 
Simon Morlat <simon.morlat <at> linphone.org>


Gmane