webOS Nation Forums >  webOS Devices >  Palm Pre and Pre Plus > Got SIP working natively
Got SIP working natively
  Reply
 
Thread Tools Display Modes
Old 09/13/2009, 09:10 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, 78 views) Email Attachment
withinboredom is offline   Reply With Quote
Thanked by ianmr65, moris
Old 02/16/2010, 04:05 PM   #2 (permalink)
Member
 
pEEf's Avatar
 
Posts: 103
Hard to believe there is no activity on this!
pEEf is offline   Reply With Quote
Old 02/16/2010, 04:30 PM   #3 (permalink)
Member
 
Leke's Avatar
 
Posts: 597
waiting on a proper skype client thats why
Leke is offline   Reply With Quote
Old 02/16/2010, 05:49 PM   #4 (permalink)
Member
 
Posts: 786
skype != sip

A sip client would be good for those of us who don't use skype.
ssrjazz is offline   Reply With Quote
Old 02/16/2010, 06:05 PM   #5 (permalink)
Member
 
pEEf's Avatar
 
Posts: 103
I was able to get pjsip (pjsua) running, and it places and receives calls, but I'm having a hard time getting a working audio path. Once this hurdle is accomplished, I can write a simple GUI for it and we should be up and running!

I'm going to look at how the native games (such as doom) are accessing the sound subsystem (pulseaudio) and see if I can learn something.

SIP is a standard VoIP protocol. All the mainstream VoIP services such as Vonage, MagicJack, etc. use it for transporting calls.

If we can get SIP working, that means voice calls without using the carrier's network. Will also work even if you aren't in a service area as long as you have WiFi.
pEEf is offline   Reply With Quote
Old 02/16/2010, 06:26 PM   #6 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,568
Yeah, the blocker is getting access to the MIC.

Once someone has cracked that, the rest of getting any number of SIP clients working will be fairly straight-forward.

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is online now   Reply With Quote
Old 02/16/2010, 06:34 PM   #7 (permalink)
Member
 
Posts: 13
Will the PDK getting released help with the access do you think?
Bann is offline   Reply With Quote
Old 02/16/2010, 07:00 PM   #8 (permalink)
Developer
 
rwhitby's Avatar
 
Posts: 10,568
Quote:
Originally Posted by Bann View Post
Will the PDK getting released help with the access do you think?
We won't know until it is publicly released, but none of the commercial games that are suppposedly using the PDK use the microphone for anything ...

-- Rod
__________________
WebOS Internals and Preware Founder and Developer
You may wish to donate by Paypal to donations @ webos-internals.org if you find our work useful.
All donations go back into development.
www.webos-internals.org twitter.com/webosinternals facebook.com/webosinternals
rwhitby is online now   Reply With Quote
Old 02/16/2010, 07:04 PM   #9 (permalink)
Member
 
Thibaud's Avatar
 
Posts: 100
Quote:
Originally Posted by rwhitby View Post
Yeah, the blocker is getting access to the MIC.

Once someone has cracked that, the rest of getting any number of SIP clients working will be fairly straight-forward.

-- Rod
Could this (Audio recording (command-line)) be of any help?

OK, only command-line stuff, but it works, just give it a try (sound from the MIC is crystal clear). WebOS provides parec builtin, any way to analyze it and/or recompile and test under WebOS?

I know talk is cheap and I'd better show the code, but I don't have that time available (I wish I had it). At least the MIC can be accessed, this we know for sure...
__________________
Palm Pilot Pro -> M505 -> T|X -> (franken) Pre & Pixi -> Pre2 2.2.4 & TP
Linphone port to webOS (1.4.x -> ...), lately working on NAVIT
Thibaud is offline   Reply With Quote
Old 02/21/2010, 03:12 AM   #10 (permalink)
Member
 
Posts: 5
Have you guys checked out sflphone?

It specifically claims to have PulseAudio support, as well as having a CLI client that should be trivial to control in the same manner as you planned to control pjsip.

(cross-posting to the other thread with a duplicate OP)

EDIT: Better still, it's implemented as a daemon that's controlled via DBUS!

Last edited by eternaleye; 02/21/2010 at 03:20 AM.
eternaleye is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0