<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Beef</id>
	<title>LinuxMCE - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.linuxmce.org/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Beef"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Beef"/>
	<updated>2026-07-22T03:17:17Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Linksys_spa-3102&amp;diff=15775</id>
		<title>Linksys spa-3102</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Linksys_spa-3102&amp;diff=15775"/>
		<updated>2008-10-03T02:09:21Z</updated>

		<summary type="html">&lt;p&gt;Beef: /* Configuring the Device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Hardware]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
=Linksys SPA-3102=&lt;br /&gt;
&lt;br /&gt;
====Specifications====&lt;br /&gt;
The Linksys SPA3102 features the ability to connect standard telephones and fax machines to IP-based data networks with the additional benefit of an integrated connection for legacy telephone network &amp;quot;hop-on, hop-off&amp;quot; applications.&lt;br /&gt;
&lt;br /&gt;
*IP Telephony features&lt;br /&gt;
**VoIP Protocols	SIP v2&lt;br /&gt;
**Voice Codecs	G.711, G.723.1, G.729a, G.726&lt;br /&gt;
**Telephony Interfaces	1 phone (FXS), 1 line (FXO)&lt;br /&gt;
**IP Telephony Features	Echo cancellation (G.168)&lt;br /&gt;
&lt;br /&gt;
=Setting up with linuxMCE=&lt;br /&gt;
&lt;br /&gt;
==Configuring the Device==&lt;br /&gt;
*Step 1 - Initial setup.&lt;br /&gt;
**Connect the SPA-3102 to your internal network (the one connected to the lmce subnet)&lt;br /&gt;
**Proceed with initial configuration via the administration page. Once you set passwords and locale settings, you can move to the next step&lt;br /&gt;
**Note, you can leave the dhcp and network settings as is. We will not be using the routing functions of this device. You will need to make a note on the address assigned to the device.&lt;br /&gt;
**Log in to the LinuxMCE web admin.  Go to Wizard -&amp;gt; Devices -&amp;gt; Phones -&amp;gt; Add Device (bottom of the page).  For device template select &#039;&#039;&#039;Generic SIP softphone&#039;&#039;&#039;.  Rename the phone to something like &#039;&#039;&#039;SPA-3102 Line 1&#039;&#039;&#039; and hit update.  Note the extension of the phone.  You will need it later.&lt;br /&gt;
**If you want the phone attached to your SPA-3102 (Line 1) to ring when people call, you should go to Wizard -&amp;gt; Devices -&amp;gt; Phone Lines, and click &#039;&#039;&#039;Settings&#039;&#039;&#039; for the appropriate phone line(s).  There you can modify the ringing behaviour of your new phone.&lt;br /&gt;
&lt;br /&gt;
*Step 2 - SIP connection settings. &lt;br /&gt;
**Click the &#039;&#039;PSTN Line&#039;&#039; settings.&lt;br /&gt;
**Choose &#039;Admin&#039; and &#039;Advanced&#039; option in the top left right corner to see all available options.&lt;br /&gt;
***Do not change anything other than what you need. There are a lot of options!&lt;br /&gt;
*** &#039;&#039;Line Option&#039;&#039; Set to enable.&lt;br /&gt;
*** &#039;&#039;&#039;Sip Settings&#039;&#039;&#039;&lt;br /&gt;
**** Make sure the port is set to &#039;&#039;&#039;5061&#039;&#039;&#039;&lt;br /&gt;
*** &#039;&#039;&#039;Proxy and registration&#039;&#039;&#039;&lt;br /&gt;
**** Proxy: the &#039;&#039;&#039;ip&#039;&#039;&#039; address of your core. &lt;br /&gt;
**** Register: Yes.&lt;br /&gt;
**** Make calls without registration: - Not tested but set to yes.&lt;br /&gt;
**** Answer calls without registration: Not tested but set to yes.&lt;br /&gt;
*** &#039;&#039;&#039;Subscriber Information&#039;&#039;&#039;&lt;br /&gt;
****For &#039;&#039;Display Name&#039;&#039; I put &#039;Landline&#039;.&lt;br /&gt;
****For &#039;&#039;user id&#039;&#039; I put the extension I created for this line.&lt;br /&gt;
****For &#039;&#039;password&#039;&#039; I put the password for the extension&lt;br /&gt;
****For &#039;Use Auth Id&#039; I chose no.&lt;br /&gt;
***&#039;&#039;&#039;Dial Plans&#039;&#039;&#039;&lt;br /&gt;
****Under &#039;&#039;&#039;Dial Plan 2&#039;&#039;&#039; add this &#039;&#039;&#039;&#039;(&amp;lt;S0:s&amp;gt;)&#039;&#039;&#039;&lt;br /&gt;
***&#039;&#039;&#039;PSTN-To-VoIP Gateway Setup&#039;&#039;&#039;&lt;br /&gt;
****PSTN-To-VoIP Gateway Enable: &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
****PSTN Ring Thru Line 1: &#039;&#039;&#039;No&#039;&#039;&#039;&lt;br /&gt;
****PSTN CID For VoIP CID: &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
****PSTN Caller Default DP: &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
*****This is the dial plan we changed earlier.&lt;br /&gt;
*****You may need to change some of the other items such as FXO timing, but thats beyond this article for now.&lt;br /&gt;
** Click the &#039;&#039;Line 1&#039;&#039; settings.&lt;br /&gt;
*** &#039;&#039;Line Option&#039;&#039; Set to enable.&lt;br /&gt;
*** &#039;&#039;&#039;Sip Settings&#039;&#039;&#039;&lt;br /&gt;
**** Make sure the port is set to &#039;&#039;&#039;5061&#039;&#039;&#039;&lt;br /&gt;
*** &#039;&#039;&#039;Proxy and registration&#039;&#039;&#039;&lt;br /&gt;
**** Proxy: the &#039;&#039;&#039;ip&#039;&#039;&#039; address of your core. &lt;br /&gt;
**** Register: Yes.&lt;br /&gt;
**** Make calls without registration: - Not tested but set to yes.&lt;br /&gt;
**** Answer calls without registration: Not tested but set to yes.&lt;br /&gt;
*** &#039;&#039;&#039;Subscriber Information&#039;&#039;&#039;&lt;br /&gt;
****For &#039;&#039;Display Name&#039;&#039; I put &#039;Line 1&#039;.&lt;br /&gt;
****For &#039;&#039;user id&#039;&#039; I put the extension I created for this phone (see Step 1).&lt;br /&gt;
****For &#039;&#039;password&#039;&#039; I put the password for the extension (the extension number by default)&lt;br /&gt;
****For &#039;Use Auth Id&#039; I chose no.&lt;br /&gt;
&lt;br /&gt;
==Configuring FreePBX ==&lt;br /&gt;
*Step 1&lt;br /&gt;
** Log into the webadmin.&lt;br /&gt;
** Using the top navigations, goto Advanced -&amp;gt; Configuration -&amp;gt; Phones Setup.&lt;br /&gt;
***This will take you to the freePBX panel. Take care to only change designated settings as you can mess things up.&lt;br /&gt;
**On the left hand side, choose &#039;&#039;&#039;Trunks&#039;&#039;&#039; from the menu.&lt;br /&gt;
**This will show you the existing trunks (phone lines). Choose &#039;&#039;&#039;Add Trunk&#039;&#039;&#039;.&lt;br /&gt;
**Then choose &#039;&#039;&#039;Add Sip Trunk&#039;&#039;&#039;.&lt;br /&gt;
**Next are the options presented:&lt;br /&gt;
***Outbound Caller ID : Caller ID for calls placed out on this trunk.&lt;br /&gt;
***Maximum channels: Set this to &#039;1&#039;&lt;br /&gt;
***Dial Rules : &#039;&#039;&#039;Still working on this part&#039;&#039;&#039;. Ideally, it would be used for local non toll calls as well as 911 or any other local services.&lt;br /&gt;
&lt;br /&gt;
**Outgoing Settings&lt;br /&gt;
&lt;br /&gt;
  context: House Line&lt;br /&gt;
&lt;br /&gt;
  allow=all&lt;br /&gt;
  context=DID_trunk_2&lt;br /&gt;
  dialformat=${EXTEN:1}&lt;br /&gt;
  hasexten=no&lt;br /&gt;
  hasiax=no&lt;br /&gt;
  hassip=yes&lt;br /&gt;
  port=5061&lt;br /&gt;
  registeriax=no&lt;br /&gt;
  registersip=no&lt;br /&gt;
  secret=12345678&lt;br /&gt;
  trunkname=Custom - telecom&lt;br /&gt;
  trunkstyle=customvoip&lt;br /&gt;
  username=pstn&lt;br /&gt;
&lt;br /&gt;
**Incoming Settings&lt;br /&gt;
&lt;br /&gt;
  context: pstn&lt;br /&gt;
&lt;br /&gt;
  allow=ulaw&amp;amp;alaw&amp;amp;g723.1&amp;amp;gsm&lt;br /&gt;
  context=from-pstn&lt;br /&gt;
  dialformat=${EXTEN:1}&lt;br /&gt;
  disallow=all&lt;br /&gt;
  hasexten=no&lt;br /&gt;
  hasiax=no&lt;br /&gt;
  hassip=yes&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  port=5061&lt;br /&gt;
  registeriax=no&lt;br /&gt;
  registersip=no&lt;br /&gt;
  secret=210&lt;br /&gt;
  trunkname=Custom - telecom&lt;br /&gt;
  trunkstyle=customvoip&lt;br /&gt;
  type=friend&lt;br /&gt;
  username=pstn&lt;br /&gt;
&lt;br /&gt;
==Routing Calls==&lt;br /&gt;
Currently, the call routing in this setup is incorrect. It will route into the linuxMCE telcom system, but it will not have the proper caller ID information. Im currently working on this. Please see update below&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup update===&lt;br /&gt;
I was able to get linuxMCE to treat the PSTN phone calls the same as ip calls. I can now get the caller ID (Partially in some cases) from the calls as they come in, and I no longer use the work around below. &lt;br /&gt;
&lt;br /&gt;
To set this up properly, I did the following:&lt;br /&gt;
*Created an Inbound Route in the freePBX panel called &#039;House Line&#039;, the same user context as the incoming settings for my PSTN Trunk.&lt;br /&gt;
*Duplicated the settings similar to my Broadvoice settings, but there arent many. Whats critical is to make sure at the bottom, you send it to the custom app with this:&lt;br /&gt;
  custom-linuxmce,102,1&lt;br /&gt;
*Reload the panel and test it out. &lt;br /&gt;
-golgoj4 19-jul-08&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setting up a &#039;Ring All&#039; Extension===&lt;br /&gt;
 *NOTE* this is a workaround i originally used in my attempts to figure this out. The setup above is the recommended path.&lt;br /&gt;
&lt;br /&gt;
To bring the call in, i experimented with different methods and found some success here. &lt;br /&gt;
*Go to the freePBX main panel.&lt;br /&gt;
*On the left side, choose &#039;Ring Groups&#039;&lt;br /&gt;
*On the top right side, choose &#039;&#039;Add Ring Group&#039;&#039;&lt;br /&gt;
**Group Description : I put &#039;&#039;&#039;House Line&#039;&#039;&#039;.&lt;br /&gt;
**Ring Strategy: &#039;&#039;&#039;Ring All&#039;&#039;&#039;&lt;br /&gt;
**Extension List: Here I added an extension that didnt exist, so it would move on to the bottom. &lt;br /&gt;
**You can experiment with the other settings, but for now we move onto &#039;&#039;&#039;Destination if no answer&#039;&#039;&#039;.&lt;br /&gt;
**Choose the last option (Custom App)  and enter this into the box:&lt;br /&gt;
  custom-linuxmce,102,1&lt;br /&gt;
*Save and apply changes.&lt;br /&gt;
*Test out the phone line.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
This isn&#039;t a proper setup by any means, but it will be improved. &lt;br /&gt;
**You can experiment with the different settings, but I recommend reading these links 1st.&lt;br /&gt;
***&#039;&#039;&#039;http://www.kernelcrash.com/blog/asterisk-pbx-and-the-spa-3102/2007/12/27/&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Beef</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Linksys_spa-3102&amp;diff=15774</id>
		<title>Linksys spa-3102</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Linksys_spa-3102&amp;diff=15774"/>
		<updated>2008-10-03T00:41:29Z</updated>

		<summary type="html">&lt;p&gt;Beef: /* Configuring the Device */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Hardware]]&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
=Linksys SPA-3102=&lt;br /&gt;
&lt;br /&gt;
====Specifications====&lt;br /&gt;
The Linksys SPA3102 features the ability to connect standard telephones and fax machines to IP-based data networks with the additional benefit of an integrated connection for legacy telephone network &amp;quot;hop-on, hop-off&amp;quot; applications.&lt;br /&gt;
&lt;br /&gt;
*IP Telephony features&lt;br /&gt;
**VoIP Protocols	SIP v2&lt;br /&gt;
**Voice Codecs	G.711, G.723.1, G.729a, G.726&lt;br /&gt;
**Telephony Interfaces	1 phone (FXS), 1 line (FXO)&lt;br /&gt;
**IP Telephony Features	Echo cancellation (G.168)&lt;br /&gt;
&lt;br /&gt;
=Setting up with linuxMCE=&lt;br /&gt;
&lt;br /&gt;
==Configuring the Device==&lt;br /&gt;
*Step 1 - Initial setup.&lt;br /&gt;
**Connect the SPA-3102 to your internal network (the one connected to the lmce subnet)&lt;br /&gt;
**Proceed with initial configuration via the administration page. Once you set passwords and locale settings, you can move to the next step&lt;br /&gt;
**Note, you can leave the dhcp and network settings as is. We will not be using the routing functions of this device. You will need to make a note on the address assigned to the device.&lt;br /&gt;
**Log in to the LinuxMCE web admin.  Go to Wizard -&amp;gt; Devices -&amp;gt; Phones -&amp;gt; Add Device (bottom of the page).  For device template select &#039;&#039;&#039;Generic SIP softphone&#039;&#039;&#039;.  Rename the phone to something like &#039;&#039;&#039;SPA-3102 Line 1&#039;&#039;&#039; and hit update.  Note the extension of the phone.  You will need it later.&lt;br /&gt;
&lt;br /&gt;
*Step 2 - SIP connection settings. &lt;br /&gt;
**Click the &#039;&#039;PSTN Line&#039;&#039; settings.&lt;br /&gt;
**Choose &#039;Admin&#039; and &#039;Advanced&#039; option in the top left right corner to see all available options.&lt;br /&gt;
***Do not change anything other than what you need. There are a lot of options!&lt;br /&gt;
*** &#039;&#039;Line Option&#039;&#039; Set to enable.&lt;br /&gt;
*** &#039;&#039;&#039;Sip Settings&#039;&#039;&#039;&lt;br /&gt;
**** Make sure the port is set to &#039;&#039;&#039;5061&#039;&#039;&#039;&lt;br /&gt;
*** &#039;&#039;&#039;Proxy and registration&#039;&#039;&#039;&lt;br /&gt;
**** Proxy: the &#039;&#039;&#039;ip&#039;&#039;&#039; address of your core. &lt;br /&gt;
**** Register: Yes.&lt;br /&gt;
**** Make calls without registration: - Not tested but set to yes.&lt;br /&gt;
**** Answer calls without registration: Not tested but set to yes.&lt;br /&gt;
*** &#039;&#039;&#039;Subscriber Information&#039;&#039;&#039;&lt;br /&gt;
****For &#039;&#039;Display Name&#039;&#039; I put &#039;Landline&#039;.&lt;br /&gt;
****For &#039;&#039;user id&#039;&#039; I put the extension I created for this line.&lt;br /&gt;
****For &#039;&#039;password&#039;&#039; I put the password for the extension&lt;br /&gt;
****For &#039;Use Auth Id&#039; I chose no.&lt;br /&gt;
***&#039;&#039;&#039;Dial Plans&#039;&#039;&#039;&lt;br /&gt;
****Under &#039;&#039;&#039;Dial Plan 2&#039;&#039;&#039; add this &#039;&#039;&#039;&#039;(&amp;lt;S0:s&amp;gt;)&#039;&#039;&#039;&lt;br /&gt;
***&#039;&#039;&#039;PSTN-To-VoIP Gateway Setup&#039;&#039;&#039;&lt;br /&gt;
****PSTN-To-VoIP Gateway Enable: &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
****PSTN Ring Thru Line 1: &#039;&#039;&#039;No&#039;&#039;&#039;&lt;br /&gt;
****PSTN CID For VoIP CID: &#039;&#039;&#039;Yes&#039;&#039;&#039;&lt;br /&gt;
****PSTN Caller Default DP: &#039;&#039;&#039;2&#039;&#039;&#039;&lt;br /&gt;
*****This is the dial plan we changed earlier.&lt;br /&gt;
*****You may need to change some of the other items such as FXO timing, but thats beyond this article for now.&lt;br /&gt;
** Click the &#039;&#039;Line 1&#039;&#039; settings.&lt;br /&gt;
*** &#039;&#039;Line Option&#039;&#039; Set to enable.&lt;br /&gt;
*** &#039;&#039;&#039;Sip Settings&#039;&#039;&#039;&lt;br /&gt;
**** Make sure the port is set to &#039;&#039;&#039;5061&#039;&#039;&#039;&lt;br /&gt;
*** &#039;&#039;&#039;Proxy and registration&#039;&#039;&#039;&lt;br /&gt;
**** Proxy: the &#039;&#039;&#039;ip&#039;&#039;&#039; address of your core. &lt;br /&gt;
**** Register: Yes.&lt;br /&gt;
**** Make calls without registration: - Not tested but set to yes.&lt;br /&gt;
**** Answer calls without registration: Not tested but set to yes.&lt;br /&gt;
*** &#039;&#039;&#039;Subscriber Information&#039;&#039;&#039;&lt;br /&gt;
****For &#039;&#039;Display Name&#039;&#039; I put &#039;Line 1&#039;.&lt;br /&gt;
****For &#039;&#039;user id&#039;&#039; I put the extension I created for this phone (see Step 1).&lt;br /&gt;
****For &#039;&#039;password&#039;&#039; I put the password for the extension (the extension number by default)&lt;br /&gt;
****For &#039;Use Auth Id&#039; I chose no.&lt;br /&gt;
&lt;br /&gt;
==Configuring FreePBX ==&lt;br /&gt;
*Step 1&lt;br /&gt;
** Log into the webadmin.&lt;br /&gt;
** Using the top navigations, goto Advanced -&amp;gt; Configuration -&amp;gt; Phones Setup.&lt;br /&gt;
***This will take you to the freePBX panel. Take care to only change designated settings as you can mess things up.&lt;br /&gt;
**On the left hand side, choose &#039;&#039;&#039;Trunks&#039;&#039;&#039; from the menu.&lt;br /&gt;
**This will show you the existing trunks (phone lines). Choose &#039;&#039;&#039;Add Trunk&#039;&#039;&#039;.&lt;br /&gt;
**Then choose &#039;&#039;&#039;Add Sip Trunk&#039;&#039;&#039;.&lt;br /&gt;
**Next are the options presented:&lt;br /&gt;
***Outbound Caller ID : Caller ID for calls placed out on this trunk.&lt;br /&gt;
***Maximum channels: Set this to &#039;1&#039;&lt;br /&gt;
***Dial Rules : &#039;&#039;&#039;Still working on this part&#039;&#039;&#039;. Ideally, it would be used for local non toll calls as well as 911 or any other local services.&lt;br /&gt;
&lt;br /&gt;
**Outgoing Settings&lt;br /&gt;
&lt;br /&gt;
  context: House Line&lt;br /&gt;
&lt;br /&gt;
  allow=all&lt;br /&gt;
  context=DID_trunk_2&lt;br /&gt;
  dialformat=${EXTEN:1}&lt;br /&gt;
  hasexten=no&lt;br /&gt;
  hasiax=no&lt;br /&gt;
  hassip=yes&lt;br /&gt;
  port=5061&lt;br /&gt;
  registeriax=no&lt;br /&gt;
  registersip=no&lt;br /&gt;
  secret=12345678&lt;br /&gt;
  trunkname=Custom - telecom&lt;br /&gt;
  trunkstyle=customvoip&lt;br /&gt;
  username=pstn&lt;br /&gt;
&lt;br /&gt;
**Incoming Settings&lt;br /&gt;
&lt;br /&gt;
  context: pstn&lt;br /&gt;
&lt;br /&gt;
  allow=ulaw&amp;amp;alaw&amp;amp;g723.1&amp;amp;gsm&lt;br /&gt;
  context=from-pstn&lt;br /&gt;
  dialformat=${EXTEN:1}&lt;br /&gt;
  disallow=all&lt;br /&gt;
  hasexten=no&lt;br /&gt;
  hasiax=no&lt;br /&gt;
  hassip=yes&lt;br /&gt;
  host=dynamic&lt;br /&gt;
  port=5061&lt;br /&gt;
  registeriax=no&lt;br /&gt;
  registersip=no&lt;br /&gt;
  secret=210&lt;br /&gt;
  trunkname=Custom - telecom&lt;br /&gt;
  trunkstyle=customvoip&lt;br /&gt;
  type=friend&lt;br /&gt;
  username=pstn&lt;br /&gt;
&lt;br /&gt;
==Routing Calls==&lt;br /&gt;
Currently, the call routing in this setup is incorrect. It will route into the linuxMCE telcom system, but it will not have the proper caller ID information. Im currently working on this. Please see update below&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setup update===&lt;br /&gt;
I was able to get linuxMCE to treat the PSTN phone calls the same as ip calls. I can now get the caller ID (Partially in some cases) from the calls as they come in, and I no longer use the work around below. &lt;br /&gt;
&lt;br /&gt;
To set this up properly, I did the following:&lt;br /&gt;
*Created an Inbound Route in the freePBX panel called &#039;House Line&#039;, the same user context as the incoming settings for my PSTN Trunk.&lt;br /&gt;
*Duplicated the settings similar to my Broadvoice settings, but there arent many. Whats critical is to make sure at the bottom, you send it to the custom app with this:&lt;br /&gt;
  custom-linuxmce,102,1&lt;br /&gt;
*Reload the panel and test it out. &lt;br /&gt;
-golgoj4 19-jul-08&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Setting up a &#039;Ring All&#039; Extension===&lt;br /&gt;
 *NOTE* this is a workaround i originally used in my attempts to figure this out. The setup above is the recommended path.&lt;br /&gt;
&lt;br /&gt;
To bring the call in, i experimented with different methods and found some success here. &lt;br /&gt;
*Go to the freePBX main panel.&lt;br /&gt;
*On the left side, choose &#039;Ring Groups&#039;&lt;br /&gt;
*On the top right side, choose &#039;&#039;Add Ring Group&#039;&#039;&lt;br /&gt;
**Group Description : I put &#039;&#039;&#039;House Line&#039;&#039;&#039;.&lt;br /&gt;
**Ring Strategy: &#039;&#039;&#039;Ring All&#039;&#039;&#039;&lt;br /&gt;
**Extension List: Here I added an extension that didnt exist, so it would move on to the bottom. &lt;br /&gt;
**You can experiment with the other settings, but for now we move onto &#039;&#039;&#039;Destination if no answer&#039;&#039;&#039;.&lt;br /&gt;
**Choose the last option (Custom App)  and enter this into the box:&lt;br /&gt;
  custom-linuxmce,102,1&lt;br /&gt;
*Save and apply changes.&lt;br /&gt;
*Test out the phone line.&lt;br /&gt;
&lt;br /&gt;
=Troubleshooting=&lt;br /&gt;
This isn&#039;t a proper setup by any means, but it will be improved. &lt;br /&gt;
**You can experiment with the different settings, but I recommend reading these links 1st.&lt;br /&gt;
***&#039;&#039;&#039;http://www.kernelcrash.com/blog/asterisk-pbx-and-the-spa-3102/2007/12/27/&#039;&#039;&#039;&lt;/div&gt;</summary>
		<author><name>Beef</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=15668</id>
		<title>Gyration GYR3101US</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=15668"/>
		<updated>2008-09-20T04:23:05Z</updated>

		<summary type="html">&lt;p&gt;Beef: /* Media Directors */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: Tutorials]]&lt;br /&gt;
{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
== Summary ==&lt;br /&gt;
[[Image:Gyration.JPG|right]]&lt;br /&gt;
The Gyration GYR3101US remote (aka Gyration MCE RF Remote) is identical in style to the [http://fiire.com/fiire-chief.php Fiire Chief]. The keys are not mapped as nicely as the custom-designed Fiire Chief, but the Gyration&#039;s firmware can be updated to gain similar functionality using the&lt;br /&gt;
[http://cf.ccmr.cornell.edu/cgi-bin/w3mman2html.cgi?xmodmap(1) Xmodmap] program (and its corresponding config file) .&lt;br /&gt;
&lt;br /&gt;
The Gyration remote control uses the gyro feature just like the Fiire Chief and the Gyration mouse. (The major difference is how the remote is detected and used by LinuxMCE, of course.)&lt;br /&gt;
&lt;br /&gt;
==Availability==&lt;br /&gt;
&lt;br /&gt;
*[http://www.circuitcity.com/ccd/productDetail.do?oid=178884 Circuit City] -- US$37 (May 2008). &lt;br /&gt;
&lt;br /&gt;
*[http://www.newegg.com/Product/Product.aspx?Item=N82E16880105001 New Egg] -- US$99 (April 2008).&lt;br /&gt;
&lt;br /&gt;
==Default capabilities==&lt;br /&gt;
*When the device is plugged in, it is identified and configured as a GO Wireless USB device. The &amp;quot;gyration mouse&amp;quot; bit works immediately. By default the &#039;&#039;Stop&#039;&#039; button will stop media playback, and the &#039;&#039;skip forward and back&#039;&#039; buttons work. If this is all you want, you&#039;re done. No further configuration is needed.&lt;br /&gt;
&lt;br /&gt;
*By default LinuxMCE recognizes the &#039;&#039;volume up/down&#039;&#039; keys, the 10 number keys, the MCE button, and the media controls &#039;&#039;play/stop/ffwd/rwd/pause/skip fwd/skip back&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Setup ==&lt;br /&gt;
*Gyration codes: [[Gyration-GYR3101US-codes]]&lt;br /&gt;
&lt;br /&gt;
*I wanted the &amp;quot;Ambience&amp;quot; (Volume/Lighting) control key mapped, as well as the Channel/Chapter function, and the pull up menu for watching/listening to media.  &lt;br /&gt;
&lt;br /&gt;
*To enable the volume control, I used the &#039;&#039;xev&#039;&#039; application from the KDE desktop terminal window, and identified the required keys.&lt;br /&gt;
&lt;br /&gt;
 xev&lt;br /&gt;
&lt;br /&gt;
The first time this is run, it will pop-up a test window. Specify your mouse there, and then press the buttons on the Gyration remote to see the results in the terminal. Pay special attention to the&lt;br /&gt;
&lt;br /&gt;
 keycode&lt;br /&gt;
&lt;br /&gt;
entries -- they are what you will specify in the .Xmodmap file.&lt;br /&gt;
&lt;br /&gt;
On my particular setup (which I think is the default) the keys show up as:&lt;br /&gt;
&lt;br /&gt;
 Volume Up   keycode 176&lt;br /&gt;
 Volume Down keycode 174&lt;br /&gt;
 MCE button  keycode 97&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the keys in LinuxMCE that provide the &#039;&#039;volume/channel/menu&#039;&#039; functions are:&lt;br /&gt;
 &lt;br /&gt;
 F6 = Channel/Chapter FFWD/RWD/PAUSE menu&lt;br /&gt;
 F7 = Menu button&lt;br /&gt;
 F8 = Volume/Lighting button &amp;quot;ambience&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Update to get more MythTV functionality ==&lt;br /&gt;
&lt;br /&gt;
MythTV Keys&lt;br /&gt;
&lt;br /&gt;
 P = Pause  # Pause key on remote&lt;br /&gt;
 R = Record   # Record key on remote&lt;br /&gt;
 Z = 30 second skip # Right skip key under directional pad&lt;br /&gt;
 Q = 10 second back   # Left skip key under directional pad&lt;br /&gt;
 I = Info   # Info button&lt;br /&gt;
 F9 = Mute   # Mute button&lt;br /&gt;
 Y = Switch Cards   # Pictures button&lt;br /&gt;
 &lt;br /&gt;
Using this info, I created the following .Xmodmap file as root user in /etc&lt;br /&gt;
 &lt;br /&gt;
 cd /etc&lt;br /&gt;
 sudo vi /etc/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
/etc/.Xmodmap&lt;br /&gt;
 keycode 176 = F8&lt;br /&gt;
 keycode 174 = F6&lt;br /&gt;
 keycode 97 = F7&lt;br /&gt;
 keycode 110 = P&lt;br /&gt;
 keycode 177 = R&lt;br /&gt;
 keycode 153 = Z&lt;br /&gt;
 keycode 144 = Q&lt;br /&gt;
 keycode 134 = I&lt;br /&gt;
 keycode 160 = F9&lt;br /&gt;
 keycode 237 = Y&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now after creating the file, make sure it is loaded when LinuxMCE starts up. To do this add the following (as root) to the script file &#039;&#039;/usr/pluto/bin/lmce_launch_manager.sh&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 sudo vi /usr/pluto/bin/lmce_launch_manager.sh&lt;br /&gt;
&lt;br /&gt;
Add a line before the line &#039;&#039;&#039;KDE_DEBUG=1&#039;&#039;&#039; so that it looks like&lt;br /&gt;
&lt;br /&gt;
 xmodmap /etc/.Xmodmap&lt;br /&gt;
 KDE_DEBUG=1&lt;br /&gt;
&lt;br /&gt;
Save the file. You have two choices to get it going.&lt;br /&gt;
&lt;br /&gt;
1. Fire off the command&lt;br /&gt;
&lt;br /&gt;
 sudo xmodmap /etc/.Xmodmap &lt;br /&gt;
&lt;br /&gt;
:(This must be done from the KDE desktop term window (Konsole), as it needs to be run in the X environment. (You can also export the display like: export DISPLAY=:0;xmodmap /etc/.Xmodmap .)&lt;br /&gt;
&lt;br /&gt;
2. Restart the core.&lt;br /&gt;
&lt;br /&gt;
:By placing the file in the lmce_launch_manager.sh script, anytime the core is rebooted, your settings are automagically set up.&lt;br /&gt;
&lt;br /&gt;
== Media Directors ==&lt;br /&gt;
&lt;br /&gt;
:To get this working on a media director, follow the directions above, but add the xmodmap directive to the file &#039;&#039;/usr/pluto/bin/LaunchOrbiter.sh&#039;&#039;, instead of &#039;&#039;/usr/pluto/bin/lmce_launch_manager.sh&#039;&#039;.  Add it below the line &#039;&#039;&#039;N_Desktops=$(wmctrl -d | wc -l) # zero based&#039;&#039;&#039;.  It should look like this:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/xset -dpms s off&lt;br /&gt;
 N_Desktops=$(wmctrl -d | wc -l) # zero based&lt;br /&gt;
 /usr/bin/xmodmap /etc/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Problem:&lt;br /&gt;
There are a couple of oddities to that I have encountered. When I watch a movie and want to change the volume or lighting for a movie (or pre-recorded program), it does what it supposed to. But when I watch Mythtv live, pressing the volume up on the Gyration remote invokes the MythTV Sleep Timer. &lt;br /&gt;
&lt;br /&gt;
Solution: !!!!Update. As of 710 release I have not had to unmap these keys!!!!! But Just in case.... Read On. &lt;br /&gt;
This can be resolved by remapping the sleep timer key using the Mythweb application located at http://core.ip.address/mythweb/ (for internal open systems) or at http://core.dhcp.server.adress/mythweb/&lt;br /&gt;
&lt;br /&gt;
This can be avoided by unmapping the following keys in Mythweb/Settings/Controls&lt;br /&gt;
 &lt;br /&gt;
 F6&lt;br /&gt;
 F7&lt;br /&gt;
 F8&lt;br /&gt;
&lt;br /&gt;
Unmap these keys. Make sure you scroll down the whole list, as they appear more than once.&lt;br /&gt;
 &lt;br /&gt;
After you have completed these steps the following keys will perform these functions:&lt;br /&gt;
&lt;br /&gt;
*MCE button pulls up LinuxMCE menu system&lt;br /&gt;
*Volume Up button brings up the &amp;quot;Ambience&amp;quot; controls during media playback&lt;br /&gt;
*Volume Down button brings up the &#039;&#039;Channel/Chapter Fast Forward/Rewind and Pause&#039;&#039; functions&lt;br /&gt;
*The Gyration center button does movement correctly&lt;br /&gt;
*If you double click the center button, the mouse stays active, but remember to click once more to turn off (or you&#039;ll kill the batteries).&lt;br /&gt;
*The Gyration Left button acts like the left mouse button for &amp;quot;Choose&amp;quot; functions&lt;br /&gt;
*The Gyration Right button is the &amp;quot;exit&amp;quot; or &amp;quot;clear item&amp;quot; button &lt;br /&gt;
*The left and right buttons are just like mouse buttons&lt;br /&gt;
*The Number keys work with MythTV&lt;br /&gt;
*The Pause button will pause MythTV&lt;br /&gt;
*The Record button will start an on-the-fly-recording&lt;br /&gt;
*The skip forward button does the standard 30 second skip correctly&lt;br /&gt;
*The skip back button does the 10 second back skip correctly&lt;br /&gt;
*The Pictures button will switch tuner cards if you have more than one. Nice for DVB users who don&#039;t use VDR.&lt;br /&gt;
*The Mute button functions correctly&lt;br /&gt;
*The Info button functions correctly&lt;/div&gt;</summary>
		<author><name>Beef</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=15667</id>
		<title>Gyration GYR3101US</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Gyration_GYR3101US&amp;diff=15667"/>
		<updated>2008-09-20T04:21:00Z</updated>

		<summary type="html">&lt;p&gt;Beef: /* Update to get more MythTV functionality */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[category: Tutorials]]&lt;br /&gt;
{| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
== Summary ==&lt;br /&gt;
[[Image:Gyration.JPG|right]]&lt;br /&gt;
The Gyration GYR3101US remote (aka Gyration MCE RF Remote) is identical in style to the [http://fiire.com/fiire-chief.php Fiire Chief]. The keys are not mapped as nicely as the custom-designed Fiire Chief, but the Gyration&#039;s firmware can be updated to gain similar functionality using the&lt;br /&gt;
[http://cf.ccmr.cornell.edu/cgi-bin/w3mman2html.cgi?xmodmap(1) Xmodmap] program (and its corresponding config file) .&lt;br /&gt;
&lt;br /&gt;
The Gyration remote control uses the gyro feature just like the Fiire Chief and the Gyration mouse. (The major difference is how the remote is detected and used by LinuxMCE, of course.)&lt;br /&gt;
&lt;br /&gt;
==Availability==&lt;br /&gt;
&lt;br /&gt;
*[http://www.circuitcity.com/ccd/productDetail.do?oid=178884 Circuit City] -- US$37 (May 2008). &lt;br /&gt;
&lt;br /&gt;
*[http://www.newegg.com/Product/Product.aspx?Item=N82E16880105001 New Egg] -- US$99 (April 2008).&lt;br /&gt;
&lt;br /&gt;
==Default capabilities==&lt;br /&gt;
*When the device is plugged in, it is identified and configured as a GO Wireless USB device. The &amp;quot;gyration mouse&amp;quot; bit works immediately. By default the &#039;&#039;Stop&#039;&#039; button will stop media playback, and the &#039;&#039;skip forward and back&#039;&#039; buttons work. If this is all you want, you&#039;re done. No further configuration is needed.&lt;br /&gt;
&lt;br /&gt;
*By default LinuxMCE recognizes the &#039;&#039;volume up/down&#039;&#039; keys, the 10 number keys, the MCE button, and the media controls &#039;&#039;play/stop/ffwd/rwd/pause/skip fwd/skip back&#039;&#039;.&lt;br /&gt;
&lt;br /&gt;
== How to Setup ==&lt;br /&gt;
*Gyration codes: [[Gyration-GYR3101US-codes]]&lt;br /&gt;
&lt;br /&gt;
*I wanted the &amp;quot;Ambience&amp;quot; (Volume/Lighting) control key mapped, as well as the Channel/Chapter function, and the pull up menu for watching/listening to media.  &lt;br /&gt;
&lt;br /&gt;
*To enable the volume control, I used the &#039;&#039;xev&#039;&#039; application from the KDE desktop terminal window, and identified the required keys.&lt;br /&gt;
&lt;br /&gt;
 xev&lt;br /&gt;
&lt;br /&gt;
The first time this is run, it will pop-up a test window. Specify your mouse there, and then press the buttons on the Gyration remote to see the results in the terminal. Pay special attention to the&lt;br /&gt;
&lt;br /&gt;
 keycode&lt;br /&gt;
&lt;br /&gt;
entries -- they are what you will specify in the .Xmodmap file.&lt;br /&gt;
&lt;br /&gt;
On my particular setup (which I think is the default) the keys show up as:&lt;br /&gt;
&lt;br /&gt;
 Volume Up   keycode 176&lt;br /&gt;
 Volume Down keycode 174&lt;br /&gt;
 MCE button  keycode 97&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now the keys in LinuxMCE that provide the &#039;&#039;volume/channel/menu&#039;&#039; functions are:&lt;br /&gt;
 &lt;br /&gt;
 F6 = Channel/Chapter FFWD/RWD/PAUSE menu&lt;br /&gt;
 F7 = Menu button&lt;br /&gt;
 F8 = Volume/Lighting button &amp;quot;ambience&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Update to get more MythTV functionality ==&lt;br /&gt;
&lt;br /&gt;
MythTV Keys&lt;br /&gt;
&lt;br /&gt;
 P = Pause  # Pause key on remote&lt;br /&gt;
 R = Record   # Record key on remote&lt;br /&gt;
 Z = 30 second skip # Right skip key under directional pad&lt;br /&gt;
 Q = 10 second back   # Left skip key under directional pad&lt;br /&gt;
 I = Info   # Info button&lt;br /&gt;
 F9 = Mute   # Mute button&lt;br /&gt;
 Y = Switch Cards   # Pictures button&lt;br /&gt;
 &lt;br /&gt;
Using this info, I created the following .Xmodmap file as root user in /etc&lt;br /&gt;
 &lt;br /&gt;
 cd /etc&lt;br /&gt;
 sudo vi /etc/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
/etc/.Xmodmap&lt;br /&gt;
 keycode 176 = F8&lt;br /&gt;
 keycode 174 = F6&lt;br /&gt;
 keycode 97 = F7&lt;br /&gt;
 keycode 110 = P&lt;br /&gt;
 keycode 177 = R&lt;br /&gt;
 keycode 153 = Z&lt;br /&gt;
 keycode 144 = Q&lt;br /&gt;
 keycode 134 = I&lt;br /&gt;
 keycode 160 = F9&lt;br /&gt;
 keycode 237 = Y&lt;br /&gt;
 &lt;br /&gt;
&lt;br /&gt;
Now after creating the file, make sure it is loaded when LinuxMCE starts up. To do this add the following (as root) to the script file &#039;&#039;/usr/pluto/bin/lmce_launch_manager.sh&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
 sudo vi /usr/pluto/bin/lmce_launch_manager.sh&lt;br /&gt;
&lt;br /&gt;
Add a line before the line &#039;&#039;&#039;KDE_DEBUG=1&#039;&#039;&#039; so that it looks like&lt;br /&gt;
&lt;br /&gt;
 xmodmap /etc/.Xmodmap&lt;br /&gt;
 KDE_DEBUG=1&lt;br /&gt;
&lt;br /&gt;
Save the file. You have two choices to get it going.&lt;br /&gt;
&lt;br /&gt;
1. Fire off the command&lt;br /&gt;
&lt;br /&gt;
 sudo xmodmap /etc/.Xmodmap &lt;br /&gt;
&lt;br /&gt;
:(This must be done from the KDE desktop term window (Konsole), as it needs to be run in the X environment. (You can also export the display like: export DISPLAY=:0;xmodmap /etc/.Xmodmap .)&lt;br /&gt;
&lt;br /&gt;
2. Restart the core.&lt;br /&gt;
&lt;br /&gt;
:By placing the file in the lmce_launch_manager.sh script, anytime the core is rebooted, your settings are automagically set up.&lt;br /&gt;
&lt;br /&gt;
== Media Directors ==&lt;br /&gt;
&lt;br /&gt;
:Adding the xmodmap command to /usr/pluto/bin/lmce_launch_manager.sh works on the core, but (for some reason) not on a media director.  To get this working on a media director, follow the directions above, but add the xmodmap directive to the file &#039;&#039;/usr/pluto/bin/LaunchOrbiter.sh&#039;&#039;, below the line &#039;&#039;&#039;N_Desktops=$(wmctrl -d | wc -l) # zero based&#039;&#039;&#039;.  It should look like this:&lt;br /&gt;
&lt;br /&gt;
 /usr/bin/xset -dpms s off&lt;br /&gt;
 N_Desktops=$(wmctrl -d | wc -l) # zero based&lt;br /&gt;
 /usr/bin/xmodmap /etc/.Xmodmap&lt;br /&gt;
&lt;br /&gt;
==Troubleshooting==&lt;br /&gt;
Problem:&lt;br /&gt;
There are a couple of oddities to that I have encountered. When I watch a movie and want to change the volume or lighting for a movie (or pre-recorded program), it does what it supposed to. But when I watch Mythtv live, pressing the volume up on the Gyration remote invokes the MythTV Sleep Timer. &lt;br /&gt;
&lt;br /&gt;
Solution: !!!!Update. As of 710 release I have not had to unmap these keys!!!!! But Just in case.... Read On. &lt;br /&gt;
This can be resolved by remapping the sleep timer key using the Mythweb application located at http://core.ip.address/mythweb/ (for internal open systems) or at http://core.dhcp.server.adress/mythweb/&lt;br /&gt;
&lt;br /&gt;
This can be avoided by unmapping the following keys in Mythweb/Settings/Controls&lt;br /&gt;
 &lt;br /&gt;
 F6&lt;br /&gt;
 F7&lt;br /&gt;
 F8&lt;br /&gt;
&lt;br /&gt;
Unmap these keys. Make sure you scroll down the whole list, as they appear more than once.&lt;br /&gt;
 &lt;br /&gt;
After you have completed these steps the following keys will perform these functions:&lt;br /&gt;
&lt;br /&gt;
*MCE button pulls up LinuxMCE menu system&lt;br /&gt;
*Volume Up button brings up the &amp;quot;Ambience&amp;quot; controls during media playback&lt;br /&gt;
*Volume Down button brings up the &#039;&#039;Channel/Chapter Fast Forward/Rewind and Pause&#039;&#039; functions&lt;br /&gt;
*The Gyration center button does movement correctly&lt;br /&gt;
*If you double click the center button, the mouse stays active, but remember to click once more to turn off (or you&#039;ll kill the batteries).&lt;br /&gt;
*The Gyration Left button acts like the left mouse button for &amp;quot;Choose&amp;quot; functions&lt;br /&gt;
*The Gyration Right button is the &amp;quot;exit&amp;quot; or &amp;quot;clear item&amp;quot; button &lt;br /&gt;
*The left and right buttons are just like mouse buttons&lt;br /&gt;
*The Number keys work with MythTV&lt;br /&gt;
*The Pause button will pause MythTV&lt;br /&gt;
*The Record button will start an on-the-fly-recording&lt;br /&gt;
*The skip forward button does the standard 30 second skip correctly&lt;br /&gt;
*The skip back button does the 10 second back skip correctly&lt;br /&gt;
*The Pictures button will switch tuner cards if you have more than one. Nice for DVB users who don&#039;t use VDR.&lt;br /&gt;
*The Mute button functions correctly&lt;br /&gt;
*The Info button functions correctly&lt;/div&gt;</summary>
		<author><name>Beef</name></author>
	</entry>
</feed>