<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Odinsdream</id>
	<title>WebOS Internals - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.webos-internals.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Odinsdream"/>
	<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/wiki/Special:Contributions/Odinsdream"/>
	<updated>2026-04-15T20:08:24Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8247</id>
		<title>SIP Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8247"/>
		<updated>2010-01-09T16:53:27Z</updated>

		<summary type="html">&lt;p&gt;Odinsdream: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've just started working on trying to get a SIP client working on the Pre.&lt;br /&gt;
&lt;br /&gt;
[http://www.pjsip.org/pjsua.htm PJSUA] has been compiled for the Pre [http://forums.precentral.net/palm-pre/202897-got-sip-working-natively.html by withineboredom at the PreCentral forums]. This is a command-line SIP client based on PJSIP, which is the core of a lot of [http://www.pjsip.org/apps.htm other open-source SIP clients] including [http://code.google.com/p/siphon/ Siphone] for the iPhone.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account at PreCentral, you can download the binary straight from my site at [http://simplykiwi.com/pjsua http://simplykiwi.com/pjsua] (1.2M)&lt;br /&gt;
&lt;br /&gt;
Copy this to '''/opt/bin/''' on the device (assuming you've already installed Optware) and then run it by executing '''./pjsua'''&lt;br /&gt;
&lt;br /&gt;
Review the documentation for the application at [http://www.pjsip.org/pjsua.htm http://www.pjsip.org/pjsua.htm]&lt;br /&gt;
&lt;br /&gt;
Like withineboredom says, the application doesn't automatically detect any audio devices. It otherwise works fine - you can place and receive calls (as long as you have an account with a SIP provider) and you can see the traffic going back and forth.&lt;br /&gt;
&lt;br /&gt;
In researching the audio setup, apparently the Pre uses [http://www.pulseaudio.org/wiki/FAQ PulseAudio] to route audio throughout the system. This is what allows the device to play audio from multiple sources at the same time. Check out the configuration files in '''/etc/pulse/''' on the Pre, especially '''system.pa''' which defines some per-application sound settings.&lt;br /&gt;
&lt;br /&gt;
pulseaudio is running in '''System''' mode on the device, and it interestingly doesn't have '''disallow-module-loading''' enabled. This mode is discussed at the [http://www.pulseaudio.org/wiki/SystemWideInstance PulseAudio documentation site] and here's the interesting part:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Worse security, because the user can now command a server app running under another user name. He could even load/unload modules from that sound server &amp;quot;&lt;br /&gt;
&lt;br /&gt;
This seems like it's actually a good thing from the perspective of adding functionality to the system by loading new modules instead of altering the existing setup at all.&lt;br /&gt;
&lt;br /&gt;
'''PJSUA''' has command-line flag options to specify the capture and output audio devices. I haven't been able to figure out the appropriate things to set these options to. I've tried '''hw:0''' and '''pcm_output''' and '''pcm_input''' without luck. If anyone has more experience with PulseAudio and how to pass audio into it from PJSUA, I think we have a good chance of creating a SIP client.&lt;br /&gt;
&lt;br /&gt;
With the latest announcements from CES about additional development tools from Palm, it could be possible to include [http://www.pjsip.org/apps.htm PJSIP] code directly into a native application.&lt;/div&gt;</summary>
		<author><name>Odinsdream</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8246</id>
		<title>SIP Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8246"/>
		<updated>2010-01-09T16:52:54Z</updated>

		<summary type="html">&lt;p&gt;Odinsdream: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've just started working on trying to get a SIP client working on the Pre.&lt;br /&gt;
&lt;br /&gt;
[http://www.pjsip.org/pjsua.htm PJSUA] has been compiled for the Pre [http://forums.precentral.net/palm-pre/202897-got-sip-working-natively.html by withineboredom at the PreCentral forums]. This is a command-line SIP client based on PJSIP, which is the core of a lot of [http://www.pjsip.org/apps.htm other open-source SIP clients] including [http://code.google.com/p/siphon/ Siphone] for the iPhone.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account at PreCentral, you can download the binary straight from my site at [[http://simplykiwi.com/pjsua]] (1.2M)&lt;br /&gt;
&lt;br /&gt;
Copy this to '''/opt/bin/''' on the device (assuming you've already installed Optware) and then run it by executing '''./pjsua'''&lt;br /&gt;
&lt;br /&gt;
Review the documentation for the application at [[http://www.pjsip.org/pjsua.htm]]&lt;br /&gt;
&lt;br /&gt;
Like withineboredom says, the application doesn't automatically detect any audio devices. It otherwise works fine - you can place and receive calls (as long as you have an account with a SIP provider) and you can see the traffic going back and forth.&lt;br /&gt;
&lt;br /&gt;
In researching the audio setup, apparently the Pre uses [http://www.pulseaudio.org/wiki/FAQ PulseAudio] to route audio throughout the system. This is what allows the device to play audio from multiple sources at the same time. Check out the configuration files in '''/etc/pulse/''' on the Pre, especially '''system.pa''' which defines some per-application sound settings.&lt;br /&gt;
&lt;br /&gt;
pulseaudio is running in '''System''' mode on the device, and it interestingly doesn't have '''disallow-module-loading''' enabled. This mode is discussed at the [http://www.pulseaudio.org/wiki/SystemWideInstance PulseAudio documentation site] and here's the interesting part:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Worse security, because the user can now command a server app running under another user name. He could even load/unload modules from that sound server &amp;quot;&lt;br /&gt;
&lt;br /&gt;
This seems like it's actually a good thing from the perspective of adding functionality to the system by loading new modules instead of altering the existing setup at all.&lt;br /&gt;
&lt;br /&gt;
'''PJSUA''' has command-line flag options to specify the capture and output audio devices. I haven't been able to figure out the appropriate things to set these options to. I've tried '''hw:0''' and '''pcm_output''' and '''pcm_input''' without luck. If anyone has more experience with PulseAudio and how to pass audio into it from PJSUA, I think we have a good chance of creating a SIP client.&lt;br /&gt;
&lt;br /&gt;
With the latest announcements from CES about additional development tools from Palm, it could be possible to include [http://www.pjsip.org/apps.htm PJSIP] code directly into a native application.&lt;/div&gt;</summary>
		<author><name>Odinsdream</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8245</id>
		<title>SIP Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8245"/>
		<updated>2010-01-09T16:52:13Z</updated>

		<summary type="html">&lt;p&gt;Odinsdream: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've just started working on trying to get a SIP client working on the Pre.&lt;br /&gt;
&lt;br /&gt;
[http://www.pjsip.org/pjsua.htm PJSUA] has been compiled for the Pre [http://forums.precentral.net/palm-pre/202897-got-sip-working-natively.html by withineboredom at the PreCentral forums]. This is a command-line SIP client based on PJSIP, which is the core of a lot of [http://www.pjsip.org/apps.htm other open-source SIP clients] including [http://code.google.com/p/siphon/ Siphone] for the iPhone.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account at PreCentral, you can download the binary straight from my site at [http://simplykiwi.com/pjsua] (1.2M)&lt;br /&gt;
&lt;br /&gt;
Copy this to '''/opt/bin/''' on the device (assuming you've already installed Optware) and then run it by executing '''./pjsua'''&lt;br /&gt;
&lt;br /&gt;
Review the documentation for the application at [http://www.pjsip.org/pjsua.htm]&lt;br /&gt;
&lt;br /&gt;
Like withineboredom says, the application doesn't automatically detect any audio devices. It otherwise works fine - you can place and receive calls (as long as you have an account with a SIP provider) and you can see the traffic going back and forth.&lt;br /&gt;
&lt;br /&gt;
In researching the audio setup, apparently the Pre uses [http://www.pulseaudio.org/wiki/FAQ PulseAudio] to route audio throughout the system. This is what allows the device to play audio from multiple sources at the same time. Check out the configuration files in '''/etc/pulse/''' on the Pre, especially '''system.pa''' which defines some per-application sound settings.&lt;br /&gt;
&lt;br /&gt;
pulseaudio is running in '''System''' mode on the device, and it interestingly doesn't have '''disallow-module-loading''' enabled. This mode is discussed at the [http://www.pulseaudio.org/wiki/SystemWideInstance PulseAudio documentation site] and here's the interesting part:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Worse security, because the user can now command a server app running under another user name. He could even load/unload modules from that sound server &amp;quot;&lt;br /&gt;
&lt;br /&gt;
This seems like it's actually a good thing from the perspective of adding functionality to the system by loading new modules instead of altering the existing setup at all.&lt;br /&gt;
&lt;br /&gt;
'''PJSUA''' has command-line flag options to specify the capture and output audio devices. I haven't been able to figure out the appropriate things to set these options to. I've tried '''hw:0''' and '''pcm_output''' and '''pcm_input''' without luck. If anyone has more experience with PulseAudio and how to pass audio into it from PJSUA, I think we have a good chance of creating a SIP client.&lt;br /&gt;
&lt;br /&gt;
With the latest announcements from CES about additional development tools from Palm, it could be possible to include [http://www.pjsip.org/apps.htm PJSIP] code directly into a native application.&lt;/div&gt;</summary>
		<author><name>Odinsdream</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8244</id>
		<title>SIP Client</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=SIP_Client&amp;diff=8244"/>
		<updated>2010-01-09T16:50:45Z</updated>

		<summary type="html">&lt;p&gt;Odinsdream: New page: I've just started working on trying to get a SIP client working on the Pre.  [http://www.pjsip.org/pjsua.htm PJSUA] has been compiled for the Pre [[http://forums.precentral.net/palm-pre/20...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;I've just started working on trying to get a SIP client working on the Pre.&lt;br /&gt;
&lt;br /&gt;
[http://www.pjsip.org/pjsua.htm PJSUA] has been compiled for the Pre [[http://forums.precentral.net/palm-pre/202897-got-sip-working-natively.html by withineboredom at the PreCentral forums]]. This is a command-line SIP client based on PJSIP, which is the core of a lot of [[http://www.pjsip.org/apps.htm other open-source SIP clients]] including [[http://code.google.com/p/siphon/ Siphone]] for the iPhone.&lt;br /&gt;
&lt;br /&gt;
If you don't have an account at PreCentral, you can download the binary straight from my site at [[http://simplykiwi.com/pjsua]] (1.2M)&lt;br /&gt;
&lt;br /&gt;
Copy this to '''/opt/bin/''' on the device (assuming you've already installed Optware) and then run it by executing '''./pjsua'''&lt;br /&gt;
&lt;br /&gt;
Review the documentation for the application at [[http://www.pjsip.org/pjsua.htm]]&lt;br /&gt;
&lt;br /&gt;
Like withineboredom says, the application doesn't automatically detect any audio devices. It otherwise works fine - you can place and receive calls (as long as you have an account with a SIP provider) and you can see the traffic going back and forth.&lt;br /&gt;
&lt;br /&gt;
In researching the audio setup, apparently the Pre uses [[http://www.pulseaudio.org/wiki/FAQ PulseAudio]] to route audio. Check out  the files in '''/etc/pulse/''' on the Pre, especially '''system.pa''' which defines some per-application sound settings.&lt;br /&gt;
&lt;br /&gt;
pulseaudio is running in '''System''' mode on the device, and it interestingly doesn't have '''disallow-module-loading''' enabled. This mode is discussed at the [[http://www.pulseaudio.org/wiki/SystemWideInstance PulseAudio documentation site]] and here's the interesting part:&lt;br /&gt;
&lt;br /&gt;
&amp;quot;Worse security, because the user can now command a server app running under another user name. He could even load/unload modules from that sound server &amp;quot;&lt;br /&gt;
&lt;br /&gt;
This seems like it's actually a good thing from the perspective of adding functionality to the system by loading new modules instead of altering the existing setup at all.&lt;br /&gt;
&lt;br /&gt;
'''PJSUA''' has command-line flag options to specify the capture and output audio devices. I haven't been able to figure out the appropriate things to set these options to. I've tried '''hw:0''' and '''pcm_output''' and '''pcm_input''' without luck. If anyone has more experience with PulseAudio and how to pass audio into it from PJSUA, I think we have a good chance of creating a SIP client.&lt;br /&gt;
&lt;br /&gt;
With the latest announcements from CES about additional development tools from Palm, it could be possible to include [[http://www.pjsip.org/apps.htm PJSIP]] code directly into a native application.&lt;/div&gt;</summary>
		<author><name>Odinsdream</name></author>
	</entry>
	<entry>
		<id>http://wiki.webos-internals.org/index.php?title=Portal:webOS_Applications_Communications&amp;diff=8243</id>
		<title>Portal:webOS Applications Communications</title>
		<link rel="alternate" type="text/html" href="http://wiki.webos-internals.org/index.php?title=Portal:webOS_Applications_Communications&amp;diff=8243"/>
		<updated>2010-01-09T16:33:12Z</updated>

		<summary type="html">&lt;p&gt;Odinsdream: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{portal-application-type&lt;br /&gt;
|type=webOS&lt;br /&gt;
|tag=Communication&lt;br /&gt;
|title=Applications that deal with communication will be listed below&lt;br /&gt;
|list=&lt;br /&gt;
&amp;lt;!-- Copy pages from the All list to the page if it fits --&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[SIP Client]]&lt;/div&gt;</summary>
		<author><name>Odinsdream</name></author>
	</entry>
</feed>