09/13/2009, 11:20 PM
|
#1 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 35
Likes Received: 0
Thanks: 12
Thanked 17 Times in 6 Posts
|
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. |
10/11/2009, 03:21 PM
|
#5 (permalink) |
|
Member
![]() Join Date: Aug 2009
Posts: 236
Likes Received: 0
Thanks: 42
Thanked 241 Times in 58 Posts
|
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.
|
10/11/2009, 05:33 PM
|
#6 (permalink) | |
|
Member
![]() Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
|
Quote:
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. |
|
10/11/2009, 10:56 PM
|
#7 (permalink) |
|
Member
![]() Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
|
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 |
10/15/2009, 01:52 PM
|
#8 (permalink) |
|
Member
![]() Join Date: Apr 2004
Posts: 187
Likes Received: 2
Thanks: 6
Thanked 57 Times in 25 Posts
|
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. |
10/15/2009, 01:58 PM
|
#9 (permalink) |
|
Member
![]() Join Date: Jun 2009
Location: Utah
Posts: 70
Likes Received: 0
Thanks: 17
Thanked 2 Times in 2 Posts
|
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.
|
11/04/2009, 07:41 PM
|
#13 (permalink) |
|
Member
![]() Join Date: Jul 2009
Posts: 547
Likes Received: 0
Thanks: 50
Thanked 53 Times in 41 Posts
|
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.
__________________
|
11/04/2009, 11:07 PM
|
#16 (permalink) |
|
Member
![]() Join Date: May 2006
Posts: 2,080
Likes Received: 0
Thanks: 189
Thanked 328 Times in 193 Posts
|
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
|
12/06/2009, 10:03 AM
|
#18 (permalink) |
|
Member
![]() Join Date: Oct 2009
Posts: 2
Likes Received: 0
Thanks: 6
Thanked 1 Time in 1 Post
|
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)
|
12/06/2009, 07:30 PM
|
#19 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 35
Likes Received: 0
Thanks: 12
Thanked 17 Times in 6 Posts
|
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.
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



