VoIP Application on BeagleBoard [Linphone]

Hi,
I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
distribution. For my BA thesis I'm trying to crosscompile linphone
( or any SIP VoIP application) but I get stuck on some libraries
dependencies.

Does someone have been able do to that? Or does someone want to help
me to keep it going? Any tip about which toolchain is most suitable?

I tried the Ekiga package also with opkg (anyway that would be
cheating, I should actually compile the app), but it doesn't work
properly and I'm not able to make any call.

Thanks a lot for any kind of help,
Daniel

Hi,
I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
distribution. For my BA thesis I'm trying to crosscompile linphone
( or any SIP VoIP application) but I get stuck on some libraries
dependencies.

Does someone have been able do to that? Or does someone want to help
me to keep it going? Any tip about which toolchain is most suitable?

I tried the Ekiga package also with opkg (anyway that would be
cheating, I should actually compile the app), but it doesn't work
properly and I'm not able to make any call.

There are recipes for linphone on OE, you could try "bitbake
linphone". I have not checked to see if it works though.

Philip

> Hi,
> I'm using a BeagleBoard Rev C2 with a fully working lates Angstrom
> distribution. For my BA thesis I'm trying to crosscompile linphone
> ( or any SIP VoIP application) but I get stuck on some libraries
> dependencies.

> Does someone have been able do to that? Or does someone want to help
> me to keep it going? Any tip about which toolchain is most suitable?

> I tried the Ekiga package also with opkg (anyway that would be
> cheating, I should actually compile the app), but it doesn't work
> properly and I'm not able to make any call.

There are recipes for linphone on OE, you could try "bitbake
linphone". I have not checked to see if it works though.

I did a quick test and it fails in compile.
No idea why, too much working on something else atm.

FM

I did it.
Here's the solution I came up.

The latest recipe version for linphone is the 1.6 and baking it, it
fails.
It returns this:

"eXosip2.h:47:36: error: osip2/osip_negotiation.h: No such file or
directory"

Anyway I managed to fix it with a workaround after some searches. The
problem is a wrong dependecies check since OE uses the last version
available.

Sarching for that kind of error I've been through this:
URL: http://lists.alioth.debian.org/pipermail/pkg-voip-maintainers/2007-August/009176.html

Here's an excerpt that happens to be the solution:
"Support for SDP negotiation (in osip_negotiation.h) was removed in
libosip2 version 2.2.3 according to libosip2 changelog, which means
this
version of linphone needs libosip2 version 2.2.2 (or earlier)."

The recipe for osip2 lib has 2 versions and obviously OE uses the last
one, the 3.1. I renamed the 3.1 forcing OE to use 2.2.2.

And it baked succesfully.

Now I have only to undestand where it has been deployed/packed/tarred,
but it's a matter of reading the OE documentation. :slight_smile:
Today is the very first day I'm using OE, so I'm getting used to it.

Thanks a lot guys for the tips.

PS: Since my main target is to get linphone working I hope that moving
it onto a USB stick would be enough for now, but with a little bit
more time, I'd like to write the recipe for linphone 3.1.

This is due to the fact that linphone 1.6 uses libeXosip

Excuse me if I'm begging you again, but I didn't figure it out how I
can use my compiled recipe.

I found under /tmp/work/armv7a-angstrom-linux-gnueabi/linphone-1.6.0-
r3/image/ the output directory of my recipe and under /tmp/deploy/
glibc/ipk the package ipk file.

How can I use them together to install it through opkg over my
angstrom distribution? Or should I tar and then untar the image dir
content over the angstrom filesystem?

Thanks,
Daniel

Excuse me if I'm begging you again, but I didn't figure it out how I
can use my compiled recipe.

I found under /tmp/work/armv7a-angstrom-linux-gnueabi/linphone-1.6.0-
r3/image/ the output directory of my recipe and under /tmp/deploy/
glibc/ipk the package ipk file.

How can I use them together to install it through opkg over my
angstrom distribution? Or should I tar and then untar the image dir
content over the angstrom filesystem?

You do not need the image.
Copy the ipk file to your beagle then do
opkg install linhonewhatever.ipk

FM

You could try telepathy sofia-sip.

Hi,

i am trying to port linphone 3.0.0 to BB.

I have directFB and GTK-DirectFB on BB.

Is it possible to port linphone-3.0.0 using GTK-DirectFB on BB or better use angstrom .

If angstorm, where to get the source for X11, GTK.

i am using arm-none-linux-gnueabi toolchain from sourceforgi.

Thanks and Regards,
HarishKumar.V

Hi,

I am using linux kernel 2.6.27-omap1.

Thanks and Regards,
HarishKumar.V

Hello Frans, after "bitbake linphone". Where is supposed the ipk file
to be?
The only "linphone*ipk" files are located to the "/oe/tmp/deploy/glibc/
ipk/armv7a" directory.
It doesn't have to be under "/oe/tmp/deploy/glibc/ipk/beagleboard"
directory?

Anyway I've try "opkg install linphonec_1.6.0-r3.1_armv7a.ipk" and it
returns lot of unsatisfy dependencies (libport5, libspeex...).
I've to opkg this libraries manually?
Thanks,
Sergio.

Hi Sergio.

The armv7a dir is ok.
opkg install of an *ipk file requires manual installation of all libs.
What I typically do is install the version that is in the feed (if
any) then install the updated package.

Good luck! Frans

Hi Frans... thank you.

I've follow your steps and now linphonec is running (also as De Vidi
Daniel post say I use libosip 2.2.2)
The only problem is that I don't get audio output from the BB.
It works from your side?

When I answer a call in BB It shows "ALSA lib
pcm_dmix.c:947:(snd_pcm_dmix_open) The dmix plugin supports only
playback stream"

Regards,
Sergio

check /etc/asound.conf

regards,

Koen

Hi,

Is the audio input from beagle using linphone working.

we are facing problem where, the playback from BB is working (ie) we are able to hear other party’s voice, but the capture is not working in BB, (ie) whatever we speak, the other party is unable to hear.

But, using aplay and arecord, the playback and capturing works in hadware.

Thanks and Regards,
HarishKumar.V

I've delete /etc/asound.conf. Now I can I can listen my voice back from
the Asterisk echo test. But still I can heard the other party voice.
Maybe there are a problem with the voice codecs. I will do some test.

Thank you all.
Sergio.

I've delete /etc/asound.conf.

Now I listen my voice back from the Asterisk echo test. But still I
CAN'T heard the other party voice (sipura spa3000). Maybe there are a
problem with the voice codecs. I will do some test.
Thank you all.
Sergio.

pd: sorry about the confusion

Hi,

I want to try to set up beagleboard to run linphone too.

Is there anyway I can get a how-to document on how to get it setup?

Thanks,
Anne

Hi Andrea Scaggiante,

Thanks, i will also try to remove alsa.conf and alsa.state from /etc and try it out.

Also, can u give me the Koen’s Narcisuss site link where to get the uImage.

Thanks and Regards,
HarishKumar.V

Hi Anne, by my side I've:
1) rename oe/openembedded/recipes/libosip2/libosip2_3.1.0.bb to
libosip2_3.1.0.bb.old because there are some unresolved symbols when
using 3.1.0 library.
2) bitbake linphone
3) the resulting files are at /oe/tmp/deploy/glibc/ipk/beagleboard. Copy
linphonec_1.6.0-r3.1_armv7a.ipk to the Beagle
4) run "opkg install linphonec_1.6.0-r3.1_armv7a.ipk". Sorry before you
have to install all the libraries needed to opkg libphone, manually.

Hope this helps,
Sergio.

Hi everybody

HarishKumar.V replied to a mail I wrote him today from my GMail
account.

I wrote him that exactly today (completely independently to this post,
what an incredible coincidence!!!) we have been able to make Linphone
work!
The solution for us? We removed both /etc/asound.conf and /etc/
asound.state

The problem for us? It does not work with any image we have... It
worked for a specific image we downloaded from Koen's Narcissus site:
http://amethyst.openembedded.net/~koen/narcissus/

I'm not sure about the exact combination we used.
It should be (almost sure):
Machine: BeagleBoard
Base system: regular
Environment (under /dev manager) : X11
Development packages: Nothing
Additional console packages: All kernel modules; Alsa utils; MPlayer

What is it special in this image? We did not understand it.

Let me specify that we do not use the GUI provided with the Linphone
but mediastreamer only (that is an example program provided with
Linphone).
We use BB Rev C2.

HIH

Ciao,
Ska