Re: SIP on Debian

2008-09-12 Thread Michael Shiloh
Peter Schwenke wrote:
> Michael Shiloh wrote:
>> Do you think the distortion was on the analog side e.g. volume settings, 
>> or delays on the network side?
>>
> 
> I tried again last night when I had a second person.  The distortion was
> not too bad.  Gaps and missing chunks but promising.
> 
> But there was a long delay receiving the audio.  It might be networking
> or processing speed.
> 
> 
>> Were you using WiFi or Ethernet over USB?
> 
> Wifi on both ends with WPA2 encryption.
> 
> I'll will try it over Ethernet over USB and ethernet on the other end.
> 
>> Were you speaking to yourself on the other computer, so not over the 
>> Internet?
>>
> 
> Yes, locally.
> 
> I have tried and connected over the internet.  Wireless going out over a
> 512/512Kb ADSL line and connecting to  an actual Video Conferencing
> endpoint another ADSL line.  I have 2 ADSL lines.
> 
> Doing the above with Ekiga *some* muffled distorted sounds go back and
> forth.  I receive the picture from the endpoint.  But that stops
> updating straight away.  Then sound stops.
> 
> Limiting the call to audio only, I have had both SIP and H239 calls with
> Ekiga with the similar audio results.  Received audio clearly on the
> FreeRunner for a while.  Muffled distorted hardly going out.  But after
> a while  things don't well.  I've used Ekiga a fair bit but know it can
> get dodgy over that ADSL line.
> 
> I have been able to initiate and receive calls calls using Linphone over
> the Internet using the above gear.  But I have not managed to get audio
> up and down.  I have also been unable to get audio up and down with my
> laptop with Linphone so that problem is not only with the Openmoko.  I
> have received the "no webcam image" from my laptop on the endpoint.
> All the routing from the firewall on the laptop/Freerunner end should be
> fine.  I have tried linphone with and without the firewall setting.
> 
> At some point I'm going to try setting the endpoint and phone up
> together on the same local switch.  That will make it easier to work
> where the problems are.
> 
> When I get (or build) a kernel with the uvcvideo driver I intend trying
>  a webcam in usb host mode on the Freerunner and see what happens.
> 
>...Peter


Peter,

Thanks for the detailed report. I think this is something many of us 
will be trying.

Michael


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


Re: SIP on Debian

2008-09-12 Thread Al Johnson
On Thursday 11 September 2008, Michael Shiloh wrote:
> Peter Schwenke wrote:
> > Using
> >
> > http://svn.openmoko.org/trunk//src/target/audio/om-gta02/voip-handset.sta
> >te
> >
> > I was able to use linphone to connect to ekiga on another machine.  The
> > mic and speaker worked.  The sound was a little soft and distorted.  But
> > I was juggling a headset on the other computer and the openmoko.
>
> Excellent news. This is what I'd use daily.
>
> Do you think the distortion was on the analog side e.g. volume settings,
> or delays on the network side?
>
> Were you using WiFi or Ethernet over USB?
>
> Were you speaking to yourself on the other computer, so not over the
> Internet?

I used linphonec 1.6.0 built with mokomakefile for 2007.2 a while ago. Once I 
sorted out the audio device and the mixer settings and killed pulseaudio it 
worked as well as any decent SIP client. This was through a convoluted route 
out through ADSL to a SIP provider, over to asterisk at another site then 
back over a VPN through the same ADSL line it went out over to a hardware SIP 
phone. I don't recall whether I used WiFi, USB or both.

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


Re: SIP on Debian

2008-09-11 Thread Peter Schwenke
Peter Schwenke wrote:
> Limiting the call to audio only, I have had both SIP and H239 calls with

That was meant to be H.323.

 ...Peter



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


Re: SIP on Debian

2008-09-11 Thread Peter Schwenke
Michael Shiloh wrote:
> 
> Do you think the distortion was on the analog side e.g. volume settings, 
> or delays on the network side?
>

I tried again last night when I had a second person.  The distortion was
not too bad.  Gaps and missing chunks but promising.

But there was a long delay receiving the audio.  It might be networking
or processing speed.


> Were you using WiFi or Ethernet over USB?

Wifi on both ends with WPA2 encryption.

I'll will try it over Ethernet over USB and ethernet on the other end.

> 
> Were you speaking to yourself on the other computer, so not over the 
> Internet?
> 

Yes, locally.

I have tried and connected over the internet.  Wireless going out over a
512/512Kb ADSL line and connecting to  an actual Video Conferencing
endpoint another ADSL line.  I have 2 ADSL lines.

Doing the above with Ekiga *some* muffled distorted sounds go back and
forth.  I receive the picture from the endpoint.  But that stops
updating straight away.  Then sound stops.

Limiting the call to audio only, I have had both SIP and H239 calls with
Ekiga with the similar audio results.  Received audio clearly on the
FreeRunner for a while.  Muffled distorted hardly going out.  But after
a while  things don't well.  I've used Ekiga a fair bit but know it can
get dodgy over that ADSL line.

I have been able to initiate and receive calls calls using Linphone over
the Internet using the above gear.  But I have not managed to get audio
up and down.  I have also been unable to get audio up and down with my
laptop with Linphone so that problem is not only with the Openmoko.  I
have received the "no webcam image" from my laptop on the endpoint.
All the routing from the firewall on the laptop/Freerunner end should be
fine.  I have tried linphone with and without the firewall setting.

At some point I'm going to try setting the endpoint and phone up
together on the same local switch.  That will make it easier to work
where the problems are.

When I get (or build) a kernel with the uvcvideo driver I intend trying
 a webcam in usb host mode on the Freerunner and see what happens.

   ...Peter


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


Re: SIP on Debian

2008-09-11 Thread Michael Shiloh
Peter Schwenke wrote:
> Using
> 
> http://svn.openmoko.org/trunk//src/target/audio/om-gta02/voip-handset.state
> 
> I was able to use linphone to connect to ekiga on another machine.  The
> mic and speaker worked.  The sound was a little soft and distorted.  But
> I was juggling a headset on the other computer and the openmoko.


Excellent news. This is what I'd use daily.

Do you think the distortion was on the analog side e.g. volume settings, 
or delays on the network side?

Were you using WiFi or Ethernet over USB?

Were you speaking to yourself on the other computer, so not over the 
Internet?

M

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


Re: SIP on Debian

2008-09-11 Thread Peter Schwenke
Using

http://svn.openmoko.org/trunk//src/target/audio/om-gta02/voip-handset.state

I was able to use linphone to connect to ekiga on another machine.  The
mic and speaker worked.  The sound was a little soft and distorted.  But
I was juggling a headset on the other computer and the openmoko.

   ...Peter


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


Re: SIP on Debian

2008-08-19 Thread Peter Schwenke
Russell Bryant wrote:
> 
> 
> On Tue, Aug 19, 2008 at 4:53 AM, Peter Schwenke <[EMAIL PROTECTED]
> > wrote:
> 
> The problem is with the audio.  I can hear the ring for an incoming call
> using stereoout.state.  Once the call is picked up I can hear the
> other end.
> 
> Fiddling with alsa mixer I was able to get the other end to hear me from
> the phone speaker.
> 
> 
> Do you know what you did specifically to get mic input working?  Did you
> happen to save off the state using alsactl?  I've been fighting the same
> thing and would rather not duplicate the effort.
> 

Unfortunately, I was too quick in restoring the stereo state and didn't
save it and thinking "hhmmm maybe I should have saved that - aggh - I'll
find it again.".  I've been trying to replicate it but no luck.

I didn't get the input and output working together.  For the mike I
think it was the capturehandset.state then I fluked something.  I've
just been trying to replicate it.  I thought it was slider under the
playback side of things (had right mic or something).  The problem was I
was the excitement at getting the call up and then plugging/unplugging
the handset and trying different states etc.

Linphone is definitely better to try.

I don't think we'll get this working properly until we understand and
document
http://wiki.openmoko.org/wiki/Neo_alsamixer (just found that).
So probably need to install a simple capture program and play around.


 Regards
 ...Peter

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


Re: SIP on Debian

2008-08-19 Thread Russell Bryant
On Tue, Aug 19, 2008 at 4:53 AM, Peter Schwenke <[EMAIL PROTECTED]>wrote:

> The problem is with the audio.  I can hear the ring for an incoming call
> using stereoout.state.  Once the call is picked up I can hear the other
> end.
>
> Fiddling with alsa mixer I was able to get the other end to hear me from
> the phone speaker.
>

Do you know what you did specifically to get mic input working?  Did you
happen to save off the state using alsactl?  I've been fighting the same
thing and would rather not duplicate the effort.

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


Re: SIP on Debian

2008-08-19 Thread Yogiz
On Tue, 19 Aug 2008 19:53:05 +1000
Peter Schwenke <[EMAIL PROTECTED]> wrote:

> SIP is looking very promising on Debian.  I installed ekiga and
> linphone and have had some success with both.  Nothing fancy - just
> apt-get install.
> 
> Calls can be successfully initiated and received on linphone.  Ekiga
> does work as well and I have received video but it didn't cope too
> well.
> 
> The problem is with the audio.  I can hear the ring for an incoming
> call using stereoout.state.  Once the call is picked up I can hear
> the other end.
> 
> Fiddling with alsa mixer I was able to get the other end to hear me
> from the phone speaker.
> 
> So some work with the alsa setting and we should have VOIP and maybe
> even some video conferencing.
> 
>   Regards
>   ...Peter
Well done, thank you.

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


Re: SIP on Debian

2008-08-19 Thread Jay Vaughan
> So some work with the alsa setting and we should have VOIP and maybe
> even some video conferencing.


Excitement!

;
--
Jay Vaughan





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


SIP on Debian

2008-08-19 Thread Peter Schwenke
SIP is looking very promising on Debian.  I installed ekiga and linphone
and have had some success with both.  Nothing fancy - just apt-get install.

Calls can be successfully initiated and received on linphone.  Ekiga
does work as well and I have received video but it didn't cope too well.

The problem is with the audio.  I can hear the ring for an incoming call
using stereoout.state.  Once the call is picked up I can hear the other end.

Fiddling with alsa mixer I was able to get the other end to hear me from
the phone speaker.

So some work with the alsa setting and we should have VOIP and maybe
even some video conferencing.

  Regards
  ...Peter

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