<?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=Sedgington</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=Sedgington"/>
	<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php/Special:Contributions/Sedgington"/>
	<updated>2026-05-11T05:33:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=29508</id>
		<title>Postfix configured with Gmail SMTP</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Postfix_configured_with_Gmail_SMTP&amp;diff=29508"/>
		<updated>2012-02-16T18:36:56Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: The /usr/pluto/bin directory already contains Configure_Postfix_interactive.sh do not follow the steps for installing as the file it links to will not untar. Just run the script&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
&lt;br /&gt;
== Configure Postfix to send mail using Gmail SMTP servers ==&lt;br /&gt;
&lt;br /&gt;
For those who want to send email from LinuxMCE, you can configure postfix to forward mail through your gmail account.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Please NOTE: The /usr/pluto/bin directory already contains Configure_Postfix_interactive.sh &lt;br /&gt;
Do NOT follow the steps for installing as the file in the link will not untar once downloaded. &lt;br /&gt;
&lt;br /&gt;
Just run the script in /usr/pluto/bin directory.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== This has been rolled into the web admin now and should not be done manually! ==&lt;br /&gt;
&lt;br /&gt;
=== Confirmed working with 810 ===&lt;br /&gt;
&lt;br /&gt;
== Automatic Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
I have created scripts that can be ingegrated ino linuxmce, or run in interactive mode.&lt;br /&gt;
&lt;br /&gt;
Go to the console of your core as root.&lt;br /&gt;
&lt;br /&gt;
Get the scripts:&lt;br /&gt;
  wget http://donpaul.info/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Untar the scripts:&lt;br /&gt;
  cd /usr/pluto/bin ; tar -xvf /root/configure_postfix.tar&lt;br /&gt;
&lt;br /&gt;
Run the interactive script:&lt;br /&gt;
  /usr/pluto/bin/Configure_Postfix_interactive.sh&lt;br /&gt;
 &lt;br /&gt;
== Manual Install and Configure Postfix ==&lt;br /&gt;
&lt;br /&gt;
If you prefer to do things yourself...&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;* make sure you replace &amp;quot;Full Name&amp;quot; with your name, and &amp;quot;user@gmail.com&amp;quot; with your actual gmail address. *&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
Install postfix&lt;br /&gt;
&lt;br /&gt;
  apt-get install postfix&lt;br /&gt;
&lt;br /&gt;
Create the CA:&lt;br /&gt;
&lt;br /&gt;
  /usr/lib/ssl/misc/CA.pl -newca&lt;br /&gt;
&lt;br /&gt;
  CA certificate filename (or enter to create)&lt;br /&gt;
  &lt;br /&gt;
  Making CA certificate ...&lt;br /&gt;
  Generating a 1024 bit RSA private key&lt;br /&gt;
  .............++++++&lt;br /&gt;
  ..++++++&lt;br /&gt;
  writing new private key to &#039;./demoCA/private/cakey.pem&#039;&lt;br /&gt;
  Enter PEM pass phrase:&lt;br /&gt;
  Verifying - Enter PEM pass phrase:&lt;br /&gt;
  -----&lt;br /&gt;
  You are about to be asked to enter information that will be incorporated&lt;br /&gt;
  into your certificate request.&lt;br /&gt;
  What you are about to enter is what is called a Distinguished Name or a DN.&lt;br /&gt;
  There are quite a few fields but you can leave some blank&lt;br /&gt;
  For some fields there will be a default value,&lt;br /&gt;
  If you enter &#039;.&#039;, the field will be left blank.&lt;br /&gt;
  -----&lt;br /&gt;
  Country Name (2 letter code) [AU]:US&lt;br /&gt;
  State or Province Name (full name) [Some-State]:North Carolina&lt;br /&gt;
  Locality Name (eg, city) []:&lt;br /&gt;
  Organization Name (eg, company) [Internet Widgits Pty Ltd]:LinuxMCE&lt;br /&gt;
  Organizational Unit Name (eg, section) []:&lt;br /&gt;
  Common Name (eg, YOUR name) []:Full Name&lt;br /&gt;
  Email Address []:email@gmail.com&lt;br /&gt;
  &lt;br /&gt;
  Please enter the following &#039;extra&#039; attributes&lt;br /&gt;
  to be sent with your certificate request&lt;br /&gt;
  A challenge password []:&lt;br /&gt;
  An optional company name []:&lt;br /&gt;
  Using configuration from /usr/lib/ssl/openssl.cnf&lt;br /&gt;
  Enter pass phrase for ./demoCA/private/cakey.pem:&lt;br /&gt;
  Check that the request matches the signature&lt;br /&gt;
  Signature ok&lt;br /&gt;
  Certificate Details:&lt;br /&gt;
          Serial Number:&lt;br /&gt;
              9d:29:da:d3:76:20:17:10&lt;br /&gt;
          Validity&lt;br /&gt;
              Not Before: Mar 31 01:01:29 2009 GMT&lt;br /&gt;
              Not After : Mar 30 01:01:29 2012 GMT&lt;br /&gt;
          Subject:&lt;br /&gt;
             countryName               = US&lt;br /&gt;
             stateOrProvinceName       = North Carolina&lt;br /&gt;
              organizationName          = LinuxMCE&lt;br /&gt;
              commonName                = Full Name&lt;br /&gt;
              emailAddress              = usrer@gmail.com&lt;br /&gt;
        X509v3 extensions:&lt;br /&gt;
            X509v3 Subject Key Identifier:&lt;br /&gt;
                A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
            X509v3 Authority Key Identifier:&lt;br /&gt;
                keyid:A0:79:00:CA:90:00:E4:81:12:00:2A:73:00:00:CA:BD:54:08:03:7B&lt;br /&gt;
                DirName:/C=US/ST=North Carolina/O=LinuxMCE/CN=Full name/emailAddress=user@gmail.com&lt;br /&gt;
                serial:90:20:0A:03:06:00:17:10&lt;br /&gt;
  &lt;br /&gt;
            X509v3 Basic Constraints:&lt;br /&gt;
                CA:TRUE&lt;br /&gt;
  Certificate is to be certified until Mar 30 01:01:29 2012 GMT (1095 days)&lt;br /&gt;
  &lt;br /&gt;
  Write out database with 1 new entries&lt;br /&gt;
  Data Base Updated&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Extend the key for 10 years&lt;br /&gt;
&lt;br /&gt;
  openssl x509 -in demoCA/cacert.pem -days 3650 -out cacert.pem -signkey demoCA/private/cakey.pem&lt;br /&gt;
&lt;br /&gt;
Copy the extended key&lt;br /&gt;
&lt;br /&gt;
  cp cacert.pem demoCA&lt;br /&gt;
&lt;br /&gt;
Generate private key&lt;br /&gt;
&lt;br /&gt;
  openssl req -new -nodes -subj &#039;/CN=dcerouter/C=US/ST=North Carolina/O=LinuxMCE/CN=Full Name/emailAddress=user@gmail.com&#039; -keyout key.pem -out req.pem -days 3650&lt;br /&gt;
&lt;br /&gt;
Sign private key&lt;br /&gt;
&lt;br /&gt;
  openssl ca -out cert.pem -infiles req.pem&lt;br /&gt;
&lt;br /&gt;
Copy to the postfix directory&lt;br /&gt;
&lt;br /&gt;
  cp demoCA/cacert.pem /etc/postfix&lt;br /&gt;
  cp key.pem /etc/postfix&lt;br /&gt;
  cp cert.pem /etc/postfix&lt;br /&gt;
  chmod 644 /etc/postfix/cert.pem &lt;br /&gt;
  chmod 644 /etc/postfix/cacert.pem&lt;br /&gt;
  chmod 400 /etc/postfix/key.pem&lt;br /&gt;
&lt;br /&gt;
Install the CA Certificates&lt;br /&gt;
&lt;br /&gt;
  apt-get install ca-certificates&lt;br /&gt;
&lt;br /&gt;
Add Equifax certificate&lt;br /&gt;
 &lt;br /&gt;
  cat /etc/ssl/certs/Equifax_Secure_CA.pem &amp;gt;&amp;gt; cacert.pem&lt;br /&gt;
&lt;br /&gt;
Create transport file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/transport&lt;br /&gt;
  #&lt;br /&gt;
  # This sends mail to Gmail&lt;br /&gt;
  *               smtp:[smtp.gmail.com]:587&lt;br /&gt;
  #local mail delivered local&lt;br /&gt;
  dcerouter       relay:[dcerouter]&lt;br /&gt;
&lt;br /&gt;
Create generic file&lt;br /&gt;
  touch /etc/postfix/generic&lt;br /&gt;
&lt;br /&gt;
Create sasl_passwd file:&lt;br /&gt;
&lt;br /&gt;
  # Contents of /etc/postfix/sasl_passwd&lt;br /&gt;
  #&lt;br /&gt;
  [smtp.gmail.com]:587             user@gmail.com:password&lt;br /&gt;
&lt;br /&gt;
Be sure to hash the files:&lt;br /&gt;
&lt;br /&gt;
  postmap sasl_passwd&lt;br /&gt;
  postmap transport&lt;br /&gt;
  postmap generic&lt;br /&gt;
&lt;br /&gt;
Add these lines to the bottom of /etc/postfix/main.cf&lt;br /&gt;
&lt;br /&gt;
    ## TLS Settings&lt;br /&gt;
    smtp_tls_loglevel = 1&lt;br /&gt;
    smtp_enforce_tls = yes&lt;br /&gt;
    smtp_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtp_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtp_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtp_tls_session_cache_database = btree:/var/run/smtp_tls_session_cache&lt;br /&gt;
    smtp_use_tls = yes&lt;br /&gt;
    smtpd_tls_CAfile = /etc/postfix/cacert.pem&lt;br /&gt;
    smtpd_tls_cert_file = /etc/postfix/cert.pem&lt;br /&gt;
    smtpd_tls_key_file = /etc/postfix/key.pem&lt;br /&gt;
    smtpd_tls_received_header = yes&lt;br /&gt;
    smtpd_tls_session_cache_database = btree:/var/run/smtpd_tls_session_cache&lt;br /&gt;
    smtpd_use_tls = yes&lt;br /&gt;
    tls_random_source = dev:/dev/urandom&lt;br /&gt;
     &lt;br /&gt;
    ##  SASL Settings&lt;br /&gt;
    # This is going in to THIS server&lt;br /&gt;
    smtpd_sasl_auth_enable = no&lt;br /&gt;
    # We need this&lt;br /&gt;
    smtp_sasl_auth_enable = yes&lt;br /&gt;
    smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd&lt;br /&gt;
    smtpd_sasl_local_domain = $myhostname&lt;br /&gt;
    smtp_sasl_security_options = noanonymous&lt;br /&gt;
    #smtp_sasl_security_options =&lt;br /&gt;
    smtp_sasl_tls_security_options = noanonymous&lt;br /&gt;
    smtpd_sasl_application_name = smtpd&lt;br /&gt;
     &lt;br /&gt;
    ## Gmail Relay&lt;br /&gt;
    relayhost = [smtp.gmail.com]:587&lt;br /&gt;
    &lt;br /&gt;
    # Disable DNS Lookups&lt;br /&gt;
    disable_dns_lookups = yes&lt;br /&gt;
    #&lt;br /&gt;
    # Great New feature Address Mapping &lt;br /&gt;
    #  for example may mchirico@localhost to mchirico@gmail.com&lt;br /&gt;
    smtp_generic_maps = hash:/etc/postfix/generic&lt;br /&gt;
    #&lt;br /&gt;
    # &lt;br /&gt;
    transport_maps = hash:/etc/postfix/transport&lt;br /&gt;
&lt;br /&gt;
restart postfix&lt;br /&gt;
&lt;br /&gt;
  /etc/init.d/postfix restart&lt;br /&gt;
&lt;br /&gt;
install mailx&lt;br /&gt;
&lt;br /&gt;
  apt-get install mailx&lt;br /&gt;
&lt;br /&gt;
test forward&lt;br /&gt;
&lt;br /&gt;
  mailx -s &amp;quot;testing from linuxmce&amp;quot; youremail@domain.com &amp;lt; /etc/hosts&lt;br /&gt;
&lt;br /&gt;
View log&lt;br /&gt;
&lt;br /&gt;
  tail /var/log/mail.log&lt;br /&gt;
&lt;br /&gt;
You should see your message &amp;quot;Sent&amp;quot;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Changing_Xine_Player_Audio_Settings&amp;diff=29117</id>
		<title>Changing Xine Player Audio Settings</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Changing_Xine_Player_Audio_Settings&amp;diff=29117"/>
		<updated>2011-11-13T20:20:18Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: /* Troubleshooting audio setup */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LinuxMCE Xine Player audio settings are configured at [[LinuxMCE Admin Website]], at the [[Media Directors]] section. The format of corresponding Device Data item is a string, containing 0 or more character flags (see possible values below):&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C&#039;&#039;&#039; = S/PDIF Coaxial, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;asym_spdif&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;O&#039;&#039;&#039; = S/PDIF TosLink/Optical, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;asym_spdif&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;S&#039;&#039;&#039; = Analog Stereo, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;plughw:0&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;L&#039;&#039;&#039; = Analog Multi-channel, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;plughw:0&#039; &lt;br /&gt;
&lt;br /&gt;
::(this probably refers to 4.0 and 5.1 using analog jacks for 2-channel pairs)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3&#039;&#039;&#039; = AC3/DTS PassThrough, Xine option &#039;audio.output.speaker_arrangement&#039; will be set to &#039;Pass Through&#039;&lt;br /&gt;
&lt;br /&gt;
::(if &#039;&#039;&#039;3&#039;&#039;&#039; is not present, &#039;audio.output.speaker_arrangement&#039; will be set to &#039;Stereo 2.0&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;M&#039;&#039;&#039; = Manual, if the flag is present, the whole configuration string will be ignored and defaults from /etc/pluto/xine.conf won&#039;t be overridden&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting audio setup ==&lt;br /&gt;
1. Sometimes A/V wizard won&#039;t work and here&#039;s simple help to try settings :&lt;br /&gt;
&lt;br /&gt;
Play sample music on default output (analog out on most MDs) &lt;br /&gt;
 mpg321 /usr/pluto/sound/avwizard_volume_test.mp3&lt;br /&gt;
&lt;br /&gt;
in 8.10 this file can be found here (you must first apt-get install mpg321):&lt;br /&gt;
&lt;br /&gt;
mpg321 /home/public/data/avwizard-sounds/avwizard_volume_test.mp3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Play sample music on spdif output (not sure how this is different for optical or coax spdif)&lt;br /&gt;
 mpg321 -a asym_spdif /usr/pluto/sound/avwizard_volume_test.mp3&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Changing_Xine_Player_Audio_Settings&amp;diff=29116</id>
		<title>Changing Xine Player Audio Settings</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Changing_Xine_Player_Audio_Settings&amp;diff=29116"/>
		<updated>2011-11-13T20:19:37Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: gave proper link for file to test in 8.10&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;LinuxMCE Xine Player audio settings are configured at [[LinuxMCE Admin Website]], at the [[Media Directors]] section. The format of corresponding Device Data item is a string, containing 0 or more character flags (see possible values below):&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;C&#039;&#039;&#039; = S/PDIF Coaxial, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;asym_spdif&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;O&#039;&#039;&#039; = S/PDIF TosLink/Optical, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;asym_spdif&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;S&#039;&#039;&#039; = Analog Stereo, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;plughw:0&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;L&#039;&#039;&#039; = Analog Multi-channel, Xine option &#039;audio.alsa_front_device&#039; will be set to &#039;plughw:0&#039; &lt;br /&gt;
&lt;br /&gt;
::(this probably refers to 4.0 and 5.1 using analog jacks for 2-channel pairs)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;3&#039;&#039;&#039; = AC3/DTS PassThrough, Xine option &#039;audio.output.speaker_arrangement&#039; will be set to &#039;Pass Through&#039;&lt;br /&gt;
&lt;br /&gt;
::(if &#039;&#039;&#039;3&#039;&#039;&#039; is not present, &#039;audio.output.speaker_arrangement&#039; will be set to &#039;Stereo 2.0&#039;)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;M&#039;&#039;&#039; = Manual, if the flag is present, the whole configuration string will be ignored and defaults from /etc/pluto/xine.conf won&#039;t be overridden&lt;br /&gt;
&lt;br /&gt;
== Troubleshooting audio setup ==&lt;br /&gt;
1. Sometimes A/V wizard won&#039;t work and here&#039;s simple help to try settings :&lt;br /&gt;
&lt;br /&gt;
Play sample music on default output (analog out on most MDs) &lt;br /&gt;
 mpg321 /usr/pluto/sound/avwizard_volume_test.mp3&lt;br /&gt;
&lt;br /&gt;
in 8.10 this file can be found here (you must first apt-get install mpg3210:&lt;br /&gt;
&lt;br /&gt;
mpg321 /home/public/data/avwizard-sounds/avwizard_volume_test.mp3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Play sample music on spdif output (not sure how this is different for optical or coax spdif)&lt;br /&gt;
 mpg321 -a asym_spdif /usr/pluto/sound/avwizard_volume_test.mp3&lt;br /&gt;
[[Category:Tutorials]]&lt;br /&gt;
[[Category:Troubleshooting]]&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=LG_42LB5D&amp;diff=22737</id>
		<title>LG 42LB5D</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=LG_42LB5D&amp;diff=22737"/>
		<updated>2010-03-25T16:29:04Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category: Video]]&lt;br /&gt;
[[Category: Displays]]&lt;br /&gt;
&lt;br /&gt;
 {| align=&amp;quot;right&amp;quot;&lt;br /&gt;
  | __TOC__&lt;br /&gt;
  |}&lt;br /&gt;
==Features==&lt;br /&gt;
===Basics===&lt;br /&gt;
* 42&amp;quot; (diagonal) [[16:9|widescreen]] [[LCD]] television&lt;br /&gt;
* Good build quality on the whole, though some edges on the plastic casing were left &amp;quot;sharp&amp;quot; (I&#039;m OCD about fit and finish)&lt;br /&gt;
* Not that heavy for its size (one person can lift it, in or out of packing carton)&lt;br /&gt;
Special features and nice touches:&lt;br /&gt;
* [[RS232 port]] at the back to allow external control (by LinuxMCE for example)&lt;br /&gt;
* Power LED is red on standby, and switches to green when set is on (thank goodness, blue-LED fever is abating! :-)&lt;br /&gt;
* Brightness can be instantly adjusted via two remote buttons -- the only thing better would be a photosensor that adjusts things automatically for ambient light (but that&#039;s what hacking is all about ;-)&lt;br /&gt;
===Picture fidelity===&lt;br /&gt;
* Crisp picture when provided with full quality source (e.g. true HD)&lt;br /&gt;
* Crisp picture with some ghosting when using the RGB-PC input with a standard (though longer than average) VGA video cable -- I will try to add a photo of the effect; the lowest-tech connections ([[S-Video]], RF, and the like) for PC video are NOT recommended!&lt;br /&gt;
* A touch blurry with low-end sources ([[S-Video]], RF) like older game systems, but still a fairly good overall picture; I have yet to test other signal methods with my game systems (requires special cables I don&#039;t yet have).&lt;br /&gt;
===Usability===&lt;br /&gt;
* The [[OSD]] UI and remote are excellent.  Both the menus and the buttons are laid out sensibly, and the system incorporates a great idea for settings that are cyclic (most are): the first time you press a button (e.g. [[aspect ratio]]), it brings up an [[OSD]] reminder of the current setting; subsequent presses will cycle through the available options.  It&#039;s simple, and effective at preventing accidental setting changes by a single inadvertent button press on the remote.&lt;br /&gt;
Resolutions:&lt;br /&gt;
* 1024x768&lt;br /&gt;
* 1280x768&lt;br /&gt;
* 1360x768&lt;br /&gt;
 &lt;br /&gt;
== Adding new template ==&lt;br /&gt;
Here is a description of adding a Template for LG LCD TV with serial connections for control.  According to the manual the following models should work:&lt;br /&gt;
LCD TV MODELS 37LB5D / 42LB5D / 47LB5D 52LB5D/ 32LB4D / 37LB4D / 42LB4D&lt;br /&gt;
I have the 42LB5D, so I know that this one works. &lt;br /&gt;
&lt;br /&gt;
=== Specify device data and parameters ===&lt;br /&gt;
&lt;br /&gt;
On the LinuxMCE admin website go to: Advanced &amp;gt; Configuration &amp;gt; Device Templates&lt;br /&gt;
&lt;br /&gt;
Select: Manufacturer &#039;LG&#039;, Device Category &#039;TVs/Plasmas/LCD&#039;s/Projectors&#039; and press &#039;Add device template&#039;&lt;br /&gt;
&lt;br /&gt;
 Description : XXLB4/5D&lt;br /&gt;
 Implements DCE : yes&lt;br /&gt;
 Command line : Generic_Serial_Device&lt;br /&gt;
 Device Category  AV TVs/Plasmas/Projection... #77&lt;br /&gt;
 Manufacturer LG&lt;br /&gt;
&lt;br /&gt;
Also have added following parameters (You need to add them one by one under the header &#039;Device data&#039;):&lt;br /&gt;
&lt;br /&gt;
 Device data&lt;br /&gt;
 Current Data 	                                    Comments 	                    Default Value&lt;br /&gt;
 #37 COM Port on PC(string) 	              The serial port 						&lt;br /&gt;
 #76 COM Port ParityBit/Stop(string) 	      Parity/Stop bits (factory defaults) 	N81 		&lt;br /&gt;
 #78 COM Port BaudRate(string)                Baud rate (factory default) 	        B9600 		&lt;br /&gt;
 #157 Discrete Volume(bool) 	              Indicates if the volume on...             1 &lt;br /&gt;
&lt;br /&gt;
Settings are factory defaults and shouldn&#039;t be changed (9600 baud rate, 8 bits, 1 stop bit).  Make sure that the check box for Allowed to Modify is checked, so that you can change to the appropriate COM port later.&lt;br /&gt;
&lt;br /&gt;
=== &#039;Edit Ruby code&#039; (on template page)  ===&lt;br /&gt;
&lt;br /&gt;
==== &#039;Add/remove commands&#039; ====&lt;br /&gt;
First, I clicked on &#039;Add/remove commands&#039; and clicked on commands that are supported by device...&lt;br /&gt;
&lt;br /&gt;
* Ruby Internal Commands&lt;br /&gt;
* Standard TV&lt;br /&gt;
&lt;br /&gt;
==== &#039;Add Ruby snippets to commands&#039;==== &lt;br /&gt;
Edited corresponding Ruby snippets for each command. Basically those are just simple strings that get send on rs232 to take proper action on device according to received command from LinuxMCE... Use the extended editor for the multiline entries (otherwise ruby won&#039;t understand it and gives lot&#039;s of errors)&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#193 Off&lt;br /&gt;
	log(&#039;Sending OFF Command&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;ka 01 00\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#192 On&lt;br /&gt;
	log(&#039;Sending ON Command&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;ka 01 01\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Inputs&lt;br /&gt;
#419 Antenna&lt;br /&gt;
		&lt;br /&gt;
#316 AV 1&lt;br /&gt;
	log(&#039;Switching Input to AV1&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 02\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#317 AV 2&lt;br /&gt;
	log(&#039;Switching Input to AV2&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 03\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#712 Component 1&lt;br /&gt;
	log(&#039;Switching Input to Component 1&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 04\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#713 Component 2&lt;br /&gt;
	log(&#039;Switching Input to Component 2&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 05\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#426 External 3&lt;br /&gt;
	log(&#039;Switching Input to HDMI 3&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 09\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#361 HDMI&lt;br /&gt;
	log(&#039;Switching Input to HDMI 1&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 07\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#767 HDMI 2&lt;br /&gt;
	log(&#039;Switching Input to HDMI 2&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 08\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#376 Input 3&lt;br /&gt;
	log(&#039;Switching Input to HDMI 3&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 09\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#154 RGB&lt;br /&gt;
	log(&#039;Switching Input to RGB/PC&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 06\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#166 Tuner&lt;br /&gt;
	log(&#039;Switching Input to Analog Tuner&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 01\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#873 Tuner - Digital&lt;br /&gt;
	log(&#039;Switching Input to Digital Tuner&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kb 01 00\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Aspect Ratios&lt;br /&gt;
#879 16:9&lt;br /&gt;
	log(&#039;Switching Aspect Ratio to 16:9&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kc 01 02\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#877 4:3&lt;br /&gt;
	log(&#039;Switching Aspect Ratio to 4:3&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kc 01 01\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Disk Handle&lt;br /&gt;
#48 Eject Disk&lt;br /&gt;
		&lt;br /&gt;
DSP Modes&lt;br /&gt;
#116 DSP Mode&lt;br /&gt;
	log(&#039;Switching DSP Modes: Toggled Only&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 52\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
General&lt;br /&gt;
#190 Enter/Go&lt;br /&gt;
	log(&#039;Sending Enter/Go Command&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 44\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Internal&lt;br /&gt;
#373 Private Method Listing&lt;br /&gt;
	def log(line)&lt;br /&gt;
          $log = File.open(&amp;quot;/var/log/pluto/&amp;quot; + device_.devid_.to_s + &amp;quot;_Generic_Serial_Device.log&amp;quot;, &amp;quot;a&amp;quot;)&lt;br /&gt;
          $log.puts &amp;quot;(***):&amp;quot; + line.to_s&lt;br /&gt;
          $log.close&lt;br /&gt;
        end 	&lt;br /&gt;
#351 Process IDLE&lt;br /&gt;
		&lt;br /&gt;
#350 Process Incoming Data&lt;br /&gt;
	buff = &#039;&#039;&lt;br /&gt;
        loop do&lt;br /&gt;
          buff=conn_.Recv(30,200)&lt;br /&gt;
          if buff.empty?&lt;br /&gt;
            log(&#039;Nothing Received&#039;)&lt;br /&gt;
            break&lt;br /&gt;
          end&lt;br /&gt;
          log(&#039;Received: &#039; + Regexp.escape(buff.to_s))&lt;br /&gt;
          if buff.include?(&amp;quot;OK&amp;quot;)&lt;br /&gt;
            log(Regexp.escape(buff.to_s) + &#039;: Command Processed Successfully&#039;)&lt;br /&gt;
          elsif buff.include?(&amp;quot;NG&amp;quot;)&lt;br /&gt;
            log(Regexp.escape(buff.to_s) +&#039;: Command Processed Unsuccessfully&#039;)&lt;br /&gt;
          end&lt;br /&gt;
        end 	&lt;br /&gt;
#355 Process Initialize&lt;br /&gt;
	for iRetry in 0...4&lt;br /&gt;
          print &amp;quot;Initializing unit\n&amp;quot;&lt;br /&gt;
          conn_.Send(&amp;quot;ke 01 01\r&amp;quot;) # Send UnMute Command&lt;br /&gt;
          buf = conn_.Recv(30,200) # Expected Return # ke 01 01\r\ne 00 OK01x\r\n&lt;br /&gt;
          if !buf.nil? &amp;amp;&amp;amp; buf.include?(&amp;quot;OK&amp;quot;)&lt;br /&gt;
            print &amp;quot;Initialized ok\n&amp;quot;&lt;br /&gt;
            print &amp;quot;Setting volume to 30%\n&amp;quot;&lt;br /&gt;
            cmd_313(15)&lt;br /&gt;
            SetDeviceDataInDB( device_.devid_, 158, &amp;quot;15&amp;quot; )&lt;br /&gt;
            # 158 = DEVICEDATA_Volume_Level_CONST&lt;br /&gt;
            return&lt;br /&gt;
          end&lt;br /&gt;
          print &amp;quot;Failed to initialize. Wait 1 secs and try again\n&amp;quot;&lt;br /&gt;
          sleep(1)&lt;br /&gt;
        end&lt;br /&gt;
#DisableDevice( device_.devid_, true )&lt;br /&gt;
#print &amp;quot;The device would not respond. Disabling it.\n&amp;quot; 	&lt;br /&gt;
#384 Process Receive Command For Child&lt;br /&gt;
		&lt;br /&gt;
#356 Process Release&lt;br /&gt;
		&lt;br /&gt;
Misc&lt;br /&gt;
#548 Menu&lt;br /&gt;
	log(&#039;Sending Menu Command&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 43\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#676 Video Mute&lt;br /&gt;
	log(&#039;Sending Video Mute Command&#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;kd 01 00\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Numbers&lt;br /&gt;
#364 -/--/---&lt;br /&gt;
		&lt;br /&gt;
#204 0&lt;br /&gt;
	log(&#039;Sending 0 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 10\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#205 1&lt;br /&gt;
	log(&#039;Sending 1 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 11\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#206 2&lt;br /&gt;
	log(&#039;Sending 2 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 12\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#207 3&lt;br /&gt;
	log(&#039;Sending 3 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 13\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#208 4&lt;br /&gt;
	log(&#039;Sending 4 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 14\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#209 5&lt;br /&gt;
	log(&#039;Sending 5 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 15\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#210 6&lt;br /&gt;
	log(&#039;Sending 6 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 16\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#211 7&lt;br /&gt;
	log(&#039;Sending 7 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 17\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#212 8&lt;br /&gt;
	log(&#039;Sending 8 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 18\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#213 9&lt;br /&gt;
	log(&#039;Sending 9 &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 19\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#363 Back / Clear Entry&lt;br /&gt;
	log(&#039;Sending Back/Clear Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 1A\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
On-Screen Menu Navig&lt;br /&gt;
#240 Back / Prior Menu&lt;br /&gt;
	log(&#039;Sending Exit Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 5B\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#225 Display&lt;br /&gt;
		&lt;br /&gt;
#368 Help&lt;br /&gt;
		&lt;br /&gt;
#86 Menu (Show Menu)&lt;br /&gt;
	log(&#039;Sending Menu Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 43\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#201 Move Down&lt;br /&gt;
	log(&#039;Sending Move Down Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 41\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#202 Move Left&lt;br /&gt;
	log(&#039;Sending Move Left Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 07\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#203 Move Right&lt;br /&gt;
	log(&#039;Sending Move RighCommand &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 06\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#200 Move Up&lt;br /&gt;
	log(&#039;Sending Move Up Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 40\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Simple Control&lt;br /&gt;
#92 Pause&lt;br /&gt;
	log(&#039;Sending Pause Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 BA\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#139 Play&lt;br /&gt;
	log(&#039;Sending Play Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 B0\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#102 Record&lt;br /&gt;
	#log(&#039;Sending Record Command &#039;) &lt;br /&gt;
        #&amp;lt;$&amp;quot;mc 01 BD\r&amp;quot;$&amp;gt; &lt;br /&gt;
#64 Skip Back - Channel/Track Lower&lt;br /&gt;
	log(&#039;Sending Channel Down Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 01\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#63 Skip Fwd - Channel/Track Greater&lt;br /&gt;
	log(&#039;Sending Channel Up Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 00\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#95 Stop&lt;br /&gt;
	log(&#039;Sending Stop Command &#039;) &lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 B1\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
Sound &amp;amp; Volume&lt;br /&gt;
#97 Mute&lt;br /&gt;
	if @mute&lt;br /&gt;
          &amp;lt;$&amp;quot;ke 01 00\r&amp;quot;$&amp;gt;&lt;br /&gt;
        else&lt;br /&gt;
          &amp;lt;$&amp;quot;ke 01 01\r&amp;quot;$&amp;gt;&lt;br /&gt;
        end&lt;br /&gt;
        @mute=!@mute 	&lt;br /&gt;
#313 Set Volume&lt;br /&gt;
	@volume=level.to_i()&lt;br /&gt;
        ilevel = @volume.to_i&lt;br /&gt;
        log( &#039;setting volume to &#039;+ ilevel.to_s)&lt;br /&gt;
        log(&#039;Sending the Following Command: kf 01 &#039;+ilevel.to_s(16)+&#039;\r&#039;)&lt;br /&gt;
        &amp;lt;$&amp;quot;kf 01 &amp;quot;+ilevel.to_s(16)+&amp;quot;\r&amp;quot;$&amp;gt;&lt;br /&gt;
        SetDeviceDataInDB( device_.devid_, 158, ilevel .to_s)&lt;br /&gt;
        # 158 = DEVICEDATA_Volume_Level_CONST # &amp;quot;volume and corresponding device data set\n&amp;quot; 	&lt;br /&gt;
#90 Vol Down&lt;br /&gt;
	log(&#039;lowering volume from &#039; + @volume.to_s)&lt;br /&gt;
        cmd_313(@volume-1) 	&lt;br /&gt;
#89 Vol Up&lt;br /&gt;
	log(&#039;Increasing volume from &#039; + @volume.to_s)&lt;br /&gt;
        cmd_313(@volume+1) 	&lt;br /&gt;
Speed Ctrl&lt;br /&gt;
#125 Scan Back/Rewind&lt;br /&gt;
	log(&#039;Sending Rewind Command &#039;)&lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 8F\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#93 Scan Fwd/Fast Fwd&lt;br /&gt;
	log(&#039;Sending Fast Fwd Command &#039;)&lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 8E\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
#98 Slow Scan Back&lt;br /&gt;
		&lt;br /&gt;
#99 Slow Scan Forward&lt;br /&gt;
		&lt;br /&gt;
TV&lt;br /&gt;
#136 Previous Channel&lt;br /&gt;
	log(&#039;Sending Previous Channel Command &#039;)&lt;br /&gt;
        &amp;lt;$&amp;quot;mc 01 B2\r&amp;quot;$&amp;gt; 	&lt;br /&gt;
	&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Adding device ==&lt;br /&gt;
&lt;br /&gt;
This is a simple process that you can now add via the [[LinuxMCE Admin Website]] at &#039;&#039;&#039;Wizard &amp;gt; [[AV Devices|A/V Equipment]]&#039;&#039;&#039;&lt;br /&gt;
=== Add device based on created template ===&lt;br /&gt;
Just search for the device template that you created and select it from the list&lt;br /&gt;
=== Specify COM port for it ===&lt;br /&gt;
Just tell LinuxMCE which com port to use.&lt;br /&gt;
=== Assing it to new room ===&lt;br /&gt;
Tell LinuxMCE which room to assign this device&lt;br /&gt;
=== Specifiy Audio pipe connections to inputs on receiver ===&lt;br /&gt;
Tell LinuxMCE how you have thing attached to the LG TV and how the LG TV is attached to the computer.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;I have it attached via RGB port and I have my cable box attached to AV1 and my HDTV connected to Tuner-Digital input.&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Making Plug&amp;amp;Play==&lt;br /&gt;
This is not needed to use the TV, but I post as an option.&lt;br /&gt;
Location: /usr/pluto/pnp&lt;br /&gt;
&lt;br /&gt;
    vi /usr/pluto/pnp/20_LGLCD.sh&lt;br /&gt;
add the following and then make the file executable.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt; #!/bin/bash&lt;br /&gt;
#Play and Play script for LG TV&#039;s Models Numbers:LGXXLB4/5D&lt;br /&gt;
#Set ID needs to be set to 01&lt;br /&gt;
#Serial feedback is very slow so it requires several seconds to get feedback&lt;br /&gt;
#Device Template Number:1905 on my local Machine.&lt;br /&gt;
#Serail Command for Power On ka 01 01 &lt;br /&gt;
#Serial Command for Power OFF ka 01 00&lt;br /&gt;
#Returns two different strings depending on whether or not the TV is On or Off, so we will try to turn it ON then resend the ON command as it returns proper string (ka 01 01\r\na 00 OK01x\r\n)&lt;br /&gt;
echo &amp;quot;LG TV Detection script queue $2&amp;quot;&lt;br /&gt;
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t &amp;quot;ka 01 01\r&amp;quot;&lt;br /&gt;
sleep 5s&lt;br /&gt;
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t &amp;quot;ka 01 01\r&amp;quot; -i 5 -s &amp;quot;OK01x\r&amp;quot;&lt;br /&gt;
if [[ &amp;quot;$?&amp;quot; -ne 0 ]]; then&lt;br /&gt;
echo &amp;quot;It&#039;s not a LG TV&amp;quot;&lt;br /&gt;
/usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 &amp;quot;$4&amp;quot; 44 0&lt;br /&gt;
else&lt;br /&gt;
echo &amp;quot;It is a LG TV&amp;quot;&lt;br /&gt;
/usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 &amp;quot;$4&amp;quot; 44 1905&lt;br /&gt;
fi&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
the plugin will run the script with 4 parameters: the device id of the plugin, the unique id for this event (the PK_PnpQueue), a path where the device is located (ip address for ethernet devices, serial port for rs232 devices, etc.), and the name of the pnp detection script.&lt;br /&gt;
&lt;br /&gt;
The detection script should attempt to determine what device template is on the path using any appropriate means. If it finds a match, it should fire a message using the paramters it received, such as this:&lt;br /&gt;
&lt;br /&gt;
/usr/pluto/bin/MessageSend dcerouter -r 0 $1 806 224 $2 13 &amp;quot;$4&amp;quot; 44 1905(this is the template id for the devicetemplate you created above)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=====================================&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== &lt;br /&gt;
&#039;&#039;&#039;== Adapting these instructions for other LG rs232 TVs == ==&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This seems to be a good template for LG TVs with serial ports. Some of the command need to be changed for later models &amp;lt;$xb 01 90\r$&amp;gt; instead of &amp;lt;$kb 01 07\r$&amp;gt; for inputing HDMI 1 for example, but generally a good guide for adapting it to your TV.&lt;br /&gt;
&lt;br /&gt;
The major problem is undocumented above but is critical to making this work: You need to look up the device id number of your LG TV from the Wizard \ Devices \ AV Equipment in the upper left hand corner and replace the number &amp;quot;158&amp;quot; in all the scripts above with this number (for example, in my case 310). This allows the script to process successfully.&lt;br /&gt;
&lt;br /&gt;
Otherwise it will cause a compile error in 7.10 in the &amp;quot;follow log&amp;quot; on the &amp;quot;advanced&amp;quot; link of the A/V device and will not allow your template to run. The compile error will state that it found a &amp;quot;kend&amp;quot; and was expecting &amp;quot;$end&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The code that breaks it is:&lt;br /&gt;
&lt;br /&gt;
----------------------------&lt;br /&gt;
#355 Process Initialize&lt;br /&gt;
   for iRetry in 0...4&lt;br /&gt;
          print &amp;quot;Initializing unit\n&amp;quot;&lt;br /&gt;
          conn_.Send(&amp;quot;ke 01 01\r&amp;quot;) # Send UnMute Command&lt;br /&gt;
          buf = conn_.Recv(30,200) # Expected Return # ke 01 01\r\ne 00 OK01x\r\n&lt;br /&gt;
          if !buf.nil? &amp;amp;&amp;amp; buf.include?(&amp;quot;OK&amp;quot;)&lt;br /&gt;
            print &amp;quot;Initialized ok\n&amp;quot;&lt;br /&gt;
            print &amp;quot;Setting volume to 30%\n&amp;quot;&lt;br /&gt;
            cmd_313(15)&lt;br /&gt;
            SetDeviceDataInDB( device_.devid_, 158, &amp;quot;15&amp;quot; )&lt;br /&gt;
            # 158 = DEVICEDATA_Volume_Level_CONST&lt;br /&gt;
            return&lt;br /&gt;
          end&lt;br /&gt;
          print &amp;quot;Failed to initialize. Wait 1 secs and try again\n&amp;quot;&lt;br /&gt;
          sleep(1)&lt;br /&gt;
        end&lt;br /&gt;
 &lt;br /&gt;
-------------------------------&lt;br /&gt;
which is also necessary for the volume set,  volume up and volume down commands the way they are written.&lt;br /&gt;
Carefully replacing &amp;quot;158&amp;quot; with the LG TV device ID number on your setup in the extended editor will make all these commands functional. &lt;br /&gt;
&lt;br /&gt;
Please note that  the description for the plug and play implementation discussed above has not been tested with this fix.&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17452</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17452"/>
		<updated>2009-01-29T00:08:06Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.&amp;lt;/p&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup, and take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.by checking devices list on left of web admin&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site from the LinuxMCE Web Admin site: Advanced/Configuration/Phones Setup then extensions on the left list and then click on your phone from the list on the right...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17451</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17451"/>
		<updated>2009-01-29T00:07:11Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.&amp;lt;/p&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup, and take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.by checking devices list on left of web admin&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site from the LinuxMCE Web Admin site: Advanced/Configuration/Phones Setup then extensions on the left list and then click on your phone from the list on the right...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17450</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17450"/>
		<updated>2009-01-29T00:06:21Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.&amp;lt;/p&amp;gt;  &lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup, and take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.by checking devices list on left of web admin&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site from the LinuxMCE Web Admin site: Advanced/Configuration/Phones Setup then extensions on the left list and then click on your phone from the list on the right...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17449</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17449"/>
		<updated>2009-01-29T00:05:04Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.  &lt;br /&gt;
&lt;br /&gt;
Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup, and take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.by checking devices list on left of web admin&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site from the LinuxMCE Web Admin site: Advanced/Configuration/Phones Setup then extensions on the left list and then click on your phone from the list on the right...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17448</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17448"/>
		<updated>2009-01-28T23:57:12Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.  Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&lt;br /&gt;
It should look like this &amp;lt;br&amp;gt;include/images/amp/amp-00.jpg&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;include/images/amp/t-amp-00.jpg&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup, you will see click &#039;Setup&#039;, then and you&#039;ll be be able to an extension (usefull if your phone is not plug-and-play), but take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&amp;lt;/br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site include/images/amp/amp-05.jpg&amp;quot; target=&amp;quot;_blank section...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise include/images/amp/amp-04.jpg&amp;quot; target=&amp;quot;_blank (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17447</id>
		<title>AMP Configuration Guide</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=AMP_Configuration_Guide&amp;diff=17447"/>
		<updated>2009-01-28T23:44:36Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[Category :Tutorials]]&lt;br /&gt;
[[category :Programmer&#039;s Guide]]&lt;br /&gt;
&amp;lt;h1&amp;gt;How to configure Asterisk with AMP (Asterisk management portal)&amp;lt;/h1&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;AMP is a separate web based configuration tool for Asterisk.  Note that as of March 2006, it has been renamed to [http://www.freepbx.org Freepbx]. More information can be found on the [http://www.voip-info.org/wiki/view/freePBX VoIP Wiki], and the [http://www.freepbx.org FreePBX website].&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Here is a quick intro as it relates to LinuxMCE.  Note the AMP integration is not fully complete.  In time this process will become more seamless.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 1: Add your phones&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;The phones in your home will be stored in 2 places: Once in LinuxMCE&#039;s database as LinuxMCE devices.  This is where the orbiters retrieve the list of phones in the house to display on the screens, and also the phones you can position on the floorplan.  Secondly, AMP also maintains its own list of phone extensions that it uses to configure Asterisk.  Normally LinuxMCE&#039;s list and AMP&#039;s list will stay in sync automatically.  You can verify this by checking Wizard, Devices, Phones to see LinuxMCE&#039;s list.&lt;br /&gt;
It should look like this &amp;lt;br&amp;gt;include/images/amp/amp-00.jpg&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;include/images/amp/t-amp-00.jpg&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Go to Wizard, Devices, Phone Setup&amp;lt;/a&amp;gt;, you will see &amp;lt;a href=&amp;quot;include/images/amp/amp-02.jpg&amp;quot; target=&amp;quot;_blank&lt;br /&gt;
 click &#039;Setup&#039;, then include/images/amp/amp-03.jpg&amp;quot; target=&amp;quot;_blank&lt;br /&gt;
and you&#039;ll be be able to include/images/amp/amp-04.jpg&amp;quot; target=&amp;quot;_blank an extension (usefull if your phone is not plug-and-play), but take a look at extension list in the right. The &#039;Extension&#039; in AMP&#039;s list should equal the &#039;PhoneNumber&#039; in LinuxMCE&#039;s list, and in LinuxMCE&#039;s list if you click the &#039;ADV&#039; button, you will see LinuxMCE&#039;s IP address, which should correspond to AMP&#039;s.&amp;lt;/br&amp;gt;&lt;br /&gt;
include/images/amp/amp-05.jpg&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;include/images/amp/t-amp-05.jpg&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;a href=&amp;quot;include/images/amp/amp-05a.jpg&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;include/images/amp/t-amp-05a.jpg&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;LinuxMCE has its own plug &amp;amp; play back end.  If you have IP based phones, just plug them in.  If we have that model in our plug &amp;amp; play database it should appear automatically in AMP&#039;s phone extension table and also in LinuxMCE&#039;s Device list.  Otherwise you must add the phones manually to both lists.  For each phone specify the IP address of the phone and a give each phone a unique phone extension (the &#039;Phone Number&#039; on LinuxMCE&#039;s list).&amp;lt;/p&amp;gt;&lt;br /&gt;
	&lt;br /&gt;
&amp;lt;p&amp;gt;Check that device is listed as child of &#039;Asterisk&#039; device.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Goto AMP&#039;s config site include/images/amp/amp-05.jpg&amp;quot; target=&amp;quot;_blank section...&lt;br /&gt;
    &amp;lt;ul&amp;gt;&amp;lt;li&amp;gt;if your phone is plug&amp;amp;play it should be listed&lt;br /&gt;
		on the right, select it and just check if all data are ok.&amp;lt;/li&amp;gt;&lt;br /&gt;
		&amp;lt;li&amp;gt;otherwise include/images/amp/amp-04.jpg&amp;quot; target=&amp;quot;_blank (specify &amp;lt;b&amp;gt;phone type&amp;lt;/b&amp;gt;(SIP/IAX2),&lt;br /&gt;
		&amp;lt;b&amp;gt;Extention&amp;lt;/b&amp;gt;, &amp;lt;b&amp;gt;Password&amp;lt;/b&amp;gt; and later &amp;lt;b&amp;gt;IP address&amp;lt;/b&amp;gt;.&lt;br /&gt;
	&amp;lt;/ul&amp;gt; &lt;br /&gt;
	&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Don&#039;t forget to regenerate screens on orbiters and quick reload&lt;br /&gt;
    for dcerouter.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;If you added more than one phone, try to call between them&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;It&#039;s a good idea to setup a default phone in include/images/amp/amp-15.jpg&amp;quot; target=&amp;quot;_blank section&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;b&amp;gt;Step 2: Add your phone lines and VOIP providers&amp;lt;/b&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;Next step is to setup external lines...Please follow your VOIP &lt;br /&gt;
    provider&#039;s instructions. &amp;lt;/p&amp;gt;&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Broadvoice&amp;diff=17442</id>
		<title>Broadvoice</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Broadvoice&amp;diff=17442"/>
		<updated>2009-01-28T18:21:39Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the uninitiated to Asterisk, Broadvoice is a good place to start to test the system with a few caveats:&lt;br /&gt;
&lt;br /&gt;
1. Sip username is not the same as account username. For Sip setup, you use your Broadvoice assigned phone number whenever LinuxMCE asks you what your username is.&lt;br /&gt;
&lt;br /&gt;
2. Sip password is not the same as your account password. You must contact support to get this. When using the LinuxMCE wizard for Broadvoice setup be sure to enter this case-sensitive password exactly as it will prevent you from registering Asterisk with Broadvoice if you do not. The consequence will be a series of ambiguous messages in the asterisk log that will give you little hint that this is the problem. In fact, once the wrong credentials are presented several times the server will lock you out. The work around is to use the /etc/hosts file to enter the ip address of a different proxy server than you had been attempting to register with aliased as sip.broadvoice.com. This should let you register immediately.&lt;br /&gt;
&lt;br /&gt;
3. Make sure you get all the information entered the first time correctly when you set up the Broadvoice account with the LinuxMCE Wizard. If you do not, you may run into a series of Asterisk related conundrums that will require real expertise to figure out. I eventually gave up on them, reinstalled LinuxMCE from the DVD as a fresh install and then it worked perfectly.&lt;br /&gt;
&lt;br /&gt;
4.Broadvoice support does not have Asterisk experience and can not be counted on to give you all the information you may need--although their web site does give you an idea of what steps you might need to take. But beware that you really don&#039;t need to follow  these steps on the web site if you get the username and password right in the LinuxMCE wizard.  In my case, it took 4 separate calls to support to figure out why my Asterisk server would not register: first they told me to use my phone number instead of my account name. Then they told me to turn off the Broadvoice-supplied Grandstream HT-502 as two devices could not be registered at the same time. Then they told me I needed a separate Sip password and finally they told me that I was being locked out because I had put in the incorrect password and attempted to register too many times. Generally, support was friendly, just not up on what needed to be done. &lt;br /&gt;
&lt;br /&gt;
Given this background, you should be able to get your asterisk server up and running quickly. Adding an ip phone--in my case Linksys SPA 942--has not been the plug and play that is advertised elsewhere in this wiki, but if you follow the information on adding a phone as a device and then go on the web for tutorials on how to set up the phone of your choice, it should be relatively painless to get it working. The big key here was to realize that your extension is also your password and the ip address the phone connects to is the LinuxMCE server internal address: 192.168.80.1 if you go for the default setup. Asterisk codes also conflict with the factory codes in the Linksys SPA 942 so they need to be removed on the device, but this was easily discovered on the web.&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
	<entry>
		<id>http://wiki.linuxmce.org/index.php?title=Broadvoice&amp;diff=17441</id>
		<title>Broadvoice</title>
		<link rel="alternate" type="text/html" href="http://wiki.linuxmce.org/index.php?title=Broadvoice&amp;diff=17441"/>
		<updated>2009-01-28T18:13:40Z</updated>

		<summary type="html">&lt;p&gt;Sedgington: Setting up Broadvoice to work with LinuxMCE/Asterisk&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;For the uninitiated to Asterisk, Broadvoice is a good place to start to test the system with a few caveats:&lt;br /&gt;
&lt;br /&gt;
1. Sip username is not the same as account username. For Sip setup, you use your Broadvoice assigned phone number whenever LinuxMCE asks you what your username is.&lt;br /&gt;
&lt;br /&gt;
2. Sip password is not the same as your account password. You must contact support to get this. When using the LinuxMCE wizard for Broadvoice setup be sure to enter this case-sensitive password exactly as it will prevent you from registering Asterisk with Broadvoice if you do not. The consequence will be a series of ambiguous messages in the asterisk log that will give you little hint that this is the problem. In fact, once the wrong credentials are presented several times the server will lock you out. The work around is to use the /etc/hosts file to enter the ip address of a different proxy server than you had been attempting to register with aliased as sip.broadvoice.com. This should let you register immediately.&lt;br /&gt;
&lt;br /&gt;
3. Make sure you get all the information entered the first time correctly when you set up the Broadvoice account with the LinuxMCE Wizard. If you do not, you may run into a series of Asterisk related conundrums that will require real expertise to figure out. I eventually gave up on them, reinstalled LinuxMCE from the DVD as a fresh install and then it worked perfectly.&lt;br /&gt;
&lt;br /&gt;
4.Broadvoice support does not have Asterisk experience and can not be counted on to give you all the information you may need--although their web site does give you an idea of what steps you might need to take. For example, it took 3 separate calls to support to figure out whymy Asterisk server would not register: first they told me to use my phone number instead of my account name. Then they told me to turn off the Broadvoice-supplied Grandstream HT-502 as two devices could not be registered at the same time. Then they told me my Sip password and finally they told me that I was being locked out because I had put in the incorrect password. Generally, support was friendly, just not up on what needed to be done. &lt;br /&gt;
&lt;br /&gt;
Given this background, you should be able to get your asterisk server up and running quickly. Adding ip phone--in my case Linksys SPA 942--has not been the plug and play that is advertised, but if you follow the information on adding a phone as a device and then go on the web for tutorials on how to set up the phone of your choice, it should be relatively painless to get it working. The big key here was to realize that your extension is also your password and the ip address the phone connects to is the LinuxMCE server internal address: 192.168.80.1 if you go for the default setup.&lt;/div&gt;</summary>
		<author><name>Sedgington</name></author>
	</entry>
</feed>