webOS Nation Forums >  webOS Developers >  webOS Development > Native SIP Client (over ev-do/wifi)
Native SIP Client (over ev-do/wifi)
  Reply
 
Thread Tools Display Modes
Old 09/13/2009, 11:20 PM   #1 (permalink)
Member
 
Posts: 35
So ... I got a sip client to work natively (PJSIP) ... there's only one problem, it doesn't detect any audio devices. However 'aplay' seems to have no problem playing an audio file.

Anyone think of anything? I've included the cross-compiled pjsua app if anyone wants to play with it. Either scp or winscp the uncompressed program.

The manual for pjsua is here.

I also have compiled versions for windows and linux-686 upon request.

You'll need a SIP account to really be able to use it.
Attached Files
File Type: zip pjsua-arm-none-linux-gnueabi.zip (540.5 KB, 72 views) Email Attachment
withinboredom is offline   Reply With Quote
Thanked by cc92260, faress, Thibaud
Old 09/13/2009, 11:25 PM   #2 (permalink)
Member
 
Posts: 35
I may have miscompiled the audio drivers ... will look more into it tomorrow.
withinboredom is offline   Reply With Quote
Old 10/11/2009, 08:31 AM   #3 (permalink)
Member
 
Posts: 185
Any update on this?
zonyl is offline   Reply With Quote
Old 10/11/2009, 01:58 PM   #4 (permalink)
Member
 
gage006's Avatar
 
Posts: 543
I want this so bad.
__________________
Twitter
gage006 is offline   Reply With Quote
Thanked By: schlurch
Old 10/11/2009, 03:21 PM   #5 (permalink)
Member
 
Posts: 236
Sounds like a pulseaudio problem if the error is "Unable to open sound device: No suitable sound playback device." Have you tried running it through a Pulseaudio wrapper like padsp?

My love for Pulseaudio is boundless.
Leathal is offline   Reply With Quote
Old 10/11/2009, 05:33 PM   #6 (permalink)
Member
 
Posts: 185
Quote:
Originally Posted by Leathal View Post
Sounds like a pulseaudio problem if the error is "Unable to open sound device: No suitable sound playback device." Have you tried running it through a Pulseaudio wrapper like padsp?

My love for Pulseaudio is boundless.
open("/dev/dsp", O_RDONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)
open("/dev/dsp", O_WRONLY|O_NONBLOCK) = -1 ENOENT (No such file or directory)

Dont have a working ARM tool chain anymore. Can someone compile the pulse wrapper?

* Nevermind.. I stole it from debian arm.. trying it now..

Eh.. dependency hell.. I give up. Couldnt find libcap on the pre, was a bit surprised, and couldnt find the right libcap for the right glibc

Last edited by zonyl; 10/11/2009 at 08:21 PM.
zonyl is offline   Reply With Quote
Old 10/11/2009, 10:56 PM   #7 (permalink)
Member
 
Posts: 185
Finally some success.. Need to get the audio sinks straightened out. Didnt realize till now how complex the Pre's audio system is.

Make call: sip:1000@192.168.1.5
23:51:25.133 pjsua_media.c Opening sound device PCM@16000/1/20ms
23:51:25.404 ec0x169268 Echo suppressor created, clock_rate=16000, channel=1, samples per frame=320, tail length=200 ms, latency=96 ms
zonyl is offline   Reply With Quote
Old 10/15/2009, 01:52 PM   #8 (permalink)
Member
 
Posts: 185
I got the sip client to recognize the sound card, but am finding that opening the sound device appears to block with a futex. Not exactly sure if this is a sink configuration issue or problem with the sip client. I can place a call just fine without audio, but that kinda defeats the purpose

Anyone with knowledge of pulse configuration and could help out would be greatly appreciated!!

Attached are the associated bin and libraries needed to get padsp (/dev/dsp) working on the Pre.
Attached Files
File Type: zip pulseaudio-dsp.zip (21.7 KB, 23 views) Email Attachment
zonyl is offline   Reply With Quote
Thanked By: cc92260
Old 10/15/2009, 01:58 PM   #9 (permalink)
Member
 
Posts: 70
This is the one thing I have been waiting for on the Pre. I may not be able to contribute any knowledge or script, but I would definitely be willing to donate.
ms2474 is offline   Reply With Quote
Old 10/17/2009, 10:38 AM   #10 (permalink)
Member
 
Posts: 70
Any updates on this?
ms2474 is offline   Reply With Quote
Old 11/04/2009, 12:59 PM   #11 (permalink)
Member
 
Posts: 4
within and zony,

This is some exciting stuff. I originally saw the wiki at: webos-internals.org/wiki/VoIP

I'm curious if you have make any recent progress.
cc92260 is offline   Reply With Quote
Old 11/04/2009, 07:09 PM   #12 (permalink)
Member
 
Posts: 35
I'll get it working as soon as I get back from this ******** Army training in California. Trust me, I want this as much as you and I got a working toolchain
withinboredom is offline   Reply With Quote
Old 11/04/2009, 07:41 PM   #13 (permalink)
Member
 
gage006's Avatar
 
Posts: 543
Hope you can get this figured out eventually. It's really one of the only reasons I'm considering getting an android phone. I'm in areas with terrible receptions a lot but plenty of wifi. Would be nice to still use my phone when that happens.
__________________
Twitter
gage006 is offline   Reply With Quote
Old 11/04/2009, 10:07 PM   #14 (permalink)
Member
 
Posts: 35
my main motivation is I'm going overseas where Sprint service doesn't exactly reach ... There is wifi there however.
withinboredom is offline   Reply With Quote
Old 11/04/2009, 10:29 PM   #15 (permalink)
Member
 
Posts: 138
I read in a different thread that there is no api for mic access which is preventing the use of voip. Am I (hopefully) mistaken?
PrestonJames is offline   Reply With Quote
Old 11/04/2009, 11:07 PM   #16 (permalink)
Member
 
NickDG's Avatar
 
Posts: 2,069
Quote:
Originally Posted by PrestonJames View Post
I read in a different thread that there is no api for mic access which is preventing the use of voip. Am I (hopefully) mistaken?
He is working down at the linux level so in essence bypassing the API.
__________________
Palm Vx -> Treo 600 -> Treo 700p -> Centro -> Pre (Launch Phone 06/06/09) -> AT&T Pre Plus with Sprint EVDO swap -> Samsung Epic 4G w/ Froyo
NickDG is offline   Reply With Quote
Old 11/10/2009, 11:29 AM   #17 (permalink)
Member
 
Posts: 70
Any updates?
ms2474 is offline   Reply With Quote
Old 12/06/2009, 10:03 AM   #18 (permalink)
Member
 
Posts: 2
I wonder if anyone out there can help out in building the first SIP Client for Palm Pre?

I hear there another one out there for a specific SIP provider. (too restrictive)
faress is offline   Reply With Quote
Thanked By: schlurch
Old 12/06/2009, 07:30 PM   #19 (permalink)
Member
 
Posts: 35
I leave for Afghanistan in less than four months ... I promise I will work my *** off to get it done by then. I'm taking this phone, and I am using it to call home. Just like I did with my ipod last time.
withinboredom is offline   Reply With Quote
Old 12/23/2009, 04:01 PM   #20 (permalink)
Member
 
Posts: 138
Quote:
Originally Posted by withinboredom View Post
I leave for Afghanistan in less than four months ... I promise I will work my *** off to get it done by then. I'm taking this phone, and I am using it to call home. Just like I did with my ipod last time.
It inspires confidence to hear passion like that. Any progress?
PrestonJames is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0