Show Posts
|
|
Pages: 1 2 3 [4] 5 6
|
|
46
|
LinuxMCE / Installation issues / Orbiter phone not setting up sip account correctly in 8.10?
|
on: March 26, 2010, 11:36:01 pm
|
|
I hate to pile on with possible problems because I just loaded 8.10 and have seen glimpses of what it could be--and I really like it.
Having been impressed with the you tube video about using the phone from the orbiter I ponied up for one. It indeed installed itself. Also impressed with how easily my broadvoice account went in. However, when I dialed in from outside, I kept getting a series of recorded messages from asterisk telling me to leave a message and nothing happening on the orbiter screen.
Went to look at the orbiter in the Wizard \ Devices \phones and they looked OK. Then went to Advanced \Configuration \Phone Setup and looked at their extensions. Confusingly, there was no sip set up "This phone is using "" Technology" with no fields to fill in--even though it showed it in the Wizard file. Tested with asterisk, looked at the devices database under asterisk table in mysql, tried to call from a generic sip phone on the system to the orbiter and concluded they had never been set up properly. Strangely, you could call the sip phone from the orbiter or even call out from the orbitor through broadvoice but you could not call it from anywhere.
Went back to the Wizard, deleted the orbiter and added another one associated with that MD. Now you can call it from SIP phone and if you designate it as the extension to call on the inbound route from broadvoice it will ring.
However, if you go back to using the custom app on the inbound route of linuxmce-custom,102,1 it goes back to dropping you into voicemail when you call from the outside.
Went and looked at that /etc/asterisk/extensions_pluto_dial.conf where that app takes you and indeed it is trying to dump you into "Local/@trusted,15" instead of "voice-menu-pluto-custom,s,1"
Is anyone else experiencing this and is there a work around? Or is that just where things stand for now?
Many thanks.
|
|
|
|
|
47
|
LinuxMCE / Users / Re: Ruby code in wiki tutorial for LG 42LB5D #355 (Solved)
|
on: March 23, 2010, 08:46:21 pm
|
|
I took some time to delve into how Ruby works and found where the (my) error was in the script. 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 "158" in all the scripts with this number (for example, in my case 310). This allows the script to process successfully.
|
|
|
|
|
48
|
LinuxMCE / Users / Re: Cisco 7970 and Error Message
|
on: March 20, 2010, 06:21:11 pm
|
I'm not sure what you mean by group ranges for the 7970(1). The template has to have a range based on your cisco phone's mac address which you must convert as per the instructions in the wiki. If by ranges you mean ip addresses, my understanding is that the initialization of the cisco phone is supposed to be pnp and that the dhcp server will assign and (hopefully) remember the correct ip for your phone. In case pnp doesn't completely finish, as was my case, and the cisco extension fails to register in freepbx (Advanced \Configurations \Phones Setup) you cut to the chase and go to my solution at the end of this thread: http://forum.linuxmce.org/index.php?topic=8029.0This also provides you links to what you are supposed to do to make the phone pnp. Good luck with your new phone.
|
|
|
|
|
49
|
LinuxMCE / Users / Re: Cisco 7970 and Error Message (solved for me)
|
on: March 19, 2010, 04:47:46 pm
|
|
I started getting this error as well on 2 of my 3 cisco 7970 phones. Since it was working on one, I knew that something must have changed on the other two but I didn't know where to look. I logged into the terminal and ran
tail -f /var/log/pluto/DCERouter.log
as I tried to get the orbiter to connect. This gave me the cisco orbitor device number that was trying to log in but not much more.
I then went to Wizard \ Devices \Orbiters in the web admin and found the device number (which is listed next to the description field). Then clicked on advanced and near the bottom of the page found
Remote Phone IP
For some reason I do not understand, it was off by one digit: 192.168.80.14 instead of 192.168.80.13 I corrected this field. Saved the page and then did a Wizard \Restart \Quick Reload Router from inside the web admin.
Exiting the orbiter on the phone and then reinitializing it under the Services Menu while the DCERouter.log was running, I no longer got the invalid ip message (who would of thought that it actually was telling you the truth) and saw from the log that the orbiter was actually loading.
My suspicion is that this ip gets coded into that field the first time the phone is loaded and when you change your subnet or for some other reason restart the system after a catastrophe, the DHCP server gives the device a new ip but the old ip is still in that field. Just guessing.
Hope this helps someone who has run into a dead end with this problem.
|
|
|
|
|
50
|
LinuxMCE / Users / STB --> Firewire --> Core works; RS232 controls TV How to coordinate remote?
|
on: March 17, 2010, 11:39:13 pm
|
|
I must be missing something. It seems like I have all the hard parts done but the remote refuses to follow along. Anyone had this problem?
STB works beautifully with DCT 6412 template--usbuirt codes do exactly what asked when tested in webadmin or with remote.
HD output from STB through firewire to core/hybrid works and changes channels from mythTV but the image is not 1080i with current video card. Also a bit slow and sometimes flaky with current hardware.
Temporary solution: I want to go directly from STB through HDMI to TV and have Linuxmce just handle the pass off using the linuxmce usbuirt remote all the way: Connection wizard shows audio and video output from STB to HDMI input on TV (which is controlled by RS232).
What happens when I go to media\ LiveTV DCT6412 in linuxmce is that it recognizes I want to go to HDMI on the TV and switches to that input on the TV using rs232. Also, if I hit the "windows or green button" on my remote it recognizes that I want to go back to Linuxmce interface and takes me there where basically all I can do is turn "off" the LiveTV connection.
The problem seems to be that the STB is controlled by usbuirt infrared codes and once you have switched to the TV on the HDMI port Linuxmce seems to be trying to use the RS232 codes through the remote when what you want is the remote to switch back to the STB codes to control everything.
I've read everything I can find in the wiki and the forums but I must be missing something. One thing I have considered--but don't want to try unless it is confirmed as the way to go--is to delete all the rs232 codes for the TV except the inputs so that Linuxmce is forced to use the STB codes by default once the input is changed. I just don't know enough about how the system works and it seems to be a pretty ruthless way to get this accomplished.
Any advice or experience with this problem greatly appreciated.
|
|
|
|
|
51
|
LinuxMCE / Users / Ruby code in wiki tutorial for LG 42LB5D #355 Process Initialize breaks compile
|
on: March 15, 2010, 06:13:00 pm
|
So that no one else has to suffer through figuring this out: On this link http://wiki.linuxmce.org/index.php/LG_42LB5Dunder "Add Ruby Snippets to Commands" you will find this code ---------------------------- #355 Process Initialize for iRetry in 0...4 print "Initializing unit\n" conn_.Send("ke 01 01\r") # Send UnMute Command buf = conn_.Recv(30,200) # Expected Return # ke 01 01\r\ne 00 OK01x\r\n if !buf.nil? && buf.include?("OK") print "Initialized ok\n" print "Setting volume to 30%\n" cmd_313(15) SetDeviceDataInDB( device_.devid_, 158, "15" ) # 158 = DEVICEDATA_Volume_Level_CONST return end print "Failed to initialize. Wait 1 secs and try again\n" sleep(1) end #DisableDevice( device_.devid_, true ) #print "The device would not respond. Disabling it.\n" ---------------------------- Unfortunately it will cause a compile error in 7.10 in the "follow log" on the "advanced" link of the A/V device and will not allow your template to run. The compile error will state that it found a "kend" and was expecting "$end". If you delete this code snippet from the template--leaving #355 blank---and restart the router, it will compile with no problem and the "send command to device" Link on the "advanced link of the GSD device seems to work through rs232 . Since this page has been copied as a tutorial for other LG TVs and a request was put in a couple of weeks ago to have the code included as a pnp device for 8.10 http://forum.linuxmce.org/index.php?topic=9729many would assume that it has been tested and works. This is not true. It is probably very easy to fix--looks to me like the definitions at the top of this snippet were not copied into the tutorial, but I know nothing about Ruby or I would attempt it. BTW, otherwise this seems to be a good template for LG TVs with serial ports. Some of the command need to be changed for later models <$xb 01 90\r$> instead of <$kb 01 07\r$> for inputing HDMI 1 for example, but generally a good guide for adapting it to your TV. If the author of the tutorial or someone who has access to this page on the wiki could fix the code it would be greatly appreciated.
|
|
|
|
|
52
|
LinuxMCE / Installation issues / Re: LG LCD Template
|
on: March 14, 2010, 01:55:28 pm
|
|
Should I be looking here or elsewhere for the post that it has been done? Also any help on how to retrieve where you post it and install it would be greatly appreciated as I don't have experience with what you posted as the destination.
I'm having exactly the same problem getting rs232 to work on my LG TV--despite the fact that the commands work beautifully from the command line--a functional template would be great. The LG template description in the wiki andincluded in 7.10 gives me compile errors about expecting a $end and finding a kend. Even when I create a new template with only a single command and it says it compiles OK, when you test the command inside the web admin page they do not show up as being sent in the "follow log" for the TV (the send command on the advanced page for the AV device does show up). Any help greatly appreciated
|
|
|
|
|
53
|
LinuxMCE / Users / Re: Anyone know how to change the default custom-linuxmce script announcement?
|
on: March 06, 2010, 05:53:27 pm
|
|
Many thanks again! It took some digging this morning on my own to find the directory that you so graciously posted--somehow I knew the answer would be waiting for me when I logged back in! As a side note, it would be great if we could have a central listing of where everything is stored in the directory structure for each device/application in linuxmce. This is often half the battle in trying to get things to work.
My big question still remains how Linuxmce is creating the new announcement as you add users. It seems like it is re-recording the files in that directory as it needs them and then doing a text to speech of the users names in the order they are registered with phone extensions. Anyone that could shed light on how this happens would be a true guru of Linuxmce in my eyes. Lacking that....
If you want to modify your intro on asterisk here is what I have found:
1) As pointed out above, all the voice-menu files are saved as gsm files and located in the directory /var/lib/asterisk/sounds/pluto. Asterisk seems to default to that directory so I didn't have any luck getting any of the files in /var/lib/asterisk/sounds to play with default conf script (listed below in 2). So, if you want to add your own voice menu you should probably consider putting it in there.
2) The file you need in order to tell asterisk where to locate the new voice menu is /etc/asterisk/extensions_pluto_dial.conf and the context is [voice-menu-pluto-custom]. The fourth line down in that context tells asterisk to play the voice menu file: exten => s,4,Background(pluto/pluto-default-voicemenu) and this is the one that has all the users names and #'s included. On my system, it is not really of great audio quality and sounds very computer-speech generated--which is a bit confusing to first-time callers because it is difficult to understand.
3) The other files in the directory which seem to be used to make this file are of quite good quality. If for example, you swap out the line above with the following examples you will get the messages listed:
"Thank you for calling": exten => s,4,Background(pluto/pluto-default-voicemenu1)
"To call everbody in the house dial 0": exten => s,4,Background(pluto/pluto-default-voicemenu2)
"If you know the extension, Dial it now": exten => s,4,Background(pluto/pluto-default-voicemenu3)
"To leave a message press the # sign": exten => s,4,Background(pluto/pluto-default-voicemenu4)
4) So, if you didn't care about listing the extensions of the users in your home, you could conceivably take these 4 files, join them together, and rename the new file something like /pluto/mashup-intro and use that as the voice intro once you replace the line listed above with your file name. I guess you might also consider just adding them one by one as arguments in the Background command: exten => s,4,Background(pluto/pluto-default-voicemenu1,pluto/pluto-default-voicemenu2, etc.) but I haven't tried that and don't know how that would affect the timing.
5. Alternatively, you could make your own recording based on the extension prompts already listed in the default "pluto/pluto-default-voicemenu" with a recording program that generates gsm or wav files and place it in the directory.
Any other suggestions greatly appreciated.
|
|
|
|
|
54
|
LinuxMCE / Users / Re: Anyone know how to change the default custom-linuxmce script announcement?
|
on: March 05, 2010, 08:06:58 pm
|
|
Thanks for the link. Went there and it looks like this is all straight asterisk stuff that would be used with the IVR. Which would be great if this is true.
However, since my FreePBX hooks into asterisk (Advanced -> Configurations -> Phone Setup) having nothing setup for the Digital Receptionist (IVR) I assume (or perhaps remember reading somewhere?) that Linuxmce doesn't use this (and must not be touched or the whole asterisk house or cards will fall into the Linuxmce foundation).
Can someone confirm that this is true? Could you actually use asterisk's IVR instead of Linuxmce's [custom-linuxmce] context (really [from-pluto-custom] in /etc/asterisk/extensions_pluto_dial.conf? From my uneducated look there, I thought Linuxmce was calling an external program (text-to-speech engine?) to do the reading from a text file and then moving to the next step based on the caller's input. What I read of the setup in 8.10 using festival would also lead one to believe that something like this is the case in 7.10.
Anyone else have some clues/thoughts?
Again, thanks in advance.
|
|
|
|
|
55
|
LinuxMCE / Users / Anyone know how to change the default custom-linuxmce script announcement?
|
on: March 05, 2010, 05:11:39 pm
|
|
Hi, I can't find how to do this in the forum or the wiki for 7.10. Currently it says, "Thank you for calling, to call everybody in the house press 0..." when you call in on Asterisk. I am assuming that there is a text-to-speech script written somewhere that could be modified but I can't find it. Any pointers greatly appreciated.
|
|
|
|
|
56
|
LinuxMCE / Users / Re: Problem with call routing
|
on: September 21, 2009, 09:04:01 pm
|
For anyone having this problem, as I did, and has found no love in the forum here is what I did to fix it: 1) Go to Telecom/ Call Routing in the Linuxmce Admin Website and under a user's name select a user mode/ call type. 2) Next to "add new step" select "transfer to outside number" from the drop down box, then type in your outside number preceded by a 9 such as 918885551212 if you live in the US. Click on the Add button. 3) You will see that it added the step you requested but puts the number 2147483647 in the box instead of the number you added. Even though this is editable, ignore it. 4) Open a terminal and ssh into linuxmce (ssh linuxmce@192.168.80.1 if you use the default ip) then get admin rights with a sudo -s 5) Open an editing program and the file this is supposed to be written to with a command such as "nano /etc/asterisk/extensions_pluto_dial.conf" 6) Search for "214" if it is there, replace the whole 2147483647 with the number you entered originally (preceded with 9 as described above), Save the file. If 214 is not there, search for the number you entered and make sure it is associated with the correct user extension such as 301. If neither are there try adding the outside number step again and proceed once one of them is there. 7) Reopen the file and check again, just to be sure. Exit.  from the terminal run "asterisk -vvvvvr" 9) once asterisk opens, type "restart gracefully" 10) open asterisk CLI again as described in 8 11) Dial into your phone system and go to user you want to have phone forwarded to by selecting it from the prompt. It should now dial out correctly. (Easy to test this using the cell phone you have listed as the number to dial" I don't know how the script works on this web page in the admin website, but it sure seems like it would be an easy fix. Obviously the developer has put a place holder in there for testing and has forgotten to replace it with the variable you are entering. Hopefully once you fix this you don't need to go back and fix it every time asterisk restarts or another call type is modified, but I have not tested this yet. This is in 7.10. Hopefully someone will take note of this for the next release. Sure makes your phone system much more useful.
|
|
|
|
|
57
|
LinuxMCE / Users / Insteon PLM not playing nicely with X10 commands
|
on: June 14, 2009, 01:12:34 pm
|
|
My insteon PLM template has been working fine as per the instructions on the wiki--and the caveat I posted in the forum--except for one niggling error message.
I wonder if anyone can help:
Whenever an X10 device is activated I get the following type of message in the complete log of the Insteon PLM:
(***):IN:02 52 B1 80 02 52 B0 80 Length:8 (***):X10 Message Received (***):This byte is a House/Command Code (***):Translated X10 Command Code:LAll Lights On 01 06/14/09 7:42:46.217 Error while calling method: Cannot call class method: cmd_350 error: can't convert nil into String, line: 1070 backtrace: in: (eval): 1070 from (eval):1070:in `+' from (eval):1070:in `EZToDCE' from (eval):1788:in `plmparse' from (eval):243:in `cmd_350' from (eval):1070 <0xb57b6b90>
I've checked the ruby command 350 and it is fine.
From this message am assuming that the Insteon PLM can not control the X10 device within Linuxmce--is this assumption correct--if not is there a place I can find out how to implement?
For example, do I need to install the CM11A device as per the instructions on the wiki so that insteon has a way to hand off/interpret the command?
Just getting started with Insteon so any help greatly appreciated.
|
|
|
|
|
58
|
LinuxMCE / Installation issues / Re: InsteonPLM driver problems
|
on: June 02, 2009, 02:31:54 pm
|
I too had these problems as I found in several threads. I finally solved the problem. The installation instructions in the Wiki will work--with one caveat listed below--but the initial setup seems to be very unforgiving. If you make a mistake in the initial setup of the template especially at the step where you add the ruby code, it seems like there is no way to correct it but delete the template and start over. At least in my case, that is what worked. Here are the instructions that I used to delete the template: http://wiki.linuxmce.org/index.php/Share_IR_CodesBe careful to read and absorb what is involved in the step where you remove the "offending" elements once you get out of mysql. In my case, I ran this step three times: the first time telling it not to delete anything just to see what it found. The second time to delete the obvious things, and the third time to check that I had not missed anything. My core still lost some of the connections to file servers on my network, but it re-established them through pnp subsequently. While I don't know whether it really makes and difference, on the template set-up procedure I used that worked, I copied and pasted the Ruby codes into the appropriate fields from a text file that is supplied in this thread: http://forum.linuxmce.org/index.php?topic=7054.15Insteon_Final.txt posted by ccoudsi as an attachment There was some discussion that copying from the html page in the wiki directly was a problem. Just to be safe I used the supplied text file and it worked. CAVEAT in the wiki instructions: Finally, the one problem I found in the Wiki instructions is that it appears that "b4" is no longer broken in 7.10 and it does automatically write the group to the mysql table "InfraredGroup" in the "pluto_main" database. However, it is not writing the data as described in how to insert the data manually. What I did before saving the ruby codes and closing the template, after I had the "Insteon PLM" group show up in the correct field was to use phpMyAdmin to go to that entry (it will be on the last page of the table--the only one with "Insteon PLM" as the description) and change the "FK_CommMethod" from "1" which it wrote automatically, to "2" as is outlined in the manual method of inserting the record. The way the table is set up now, it will NOT accept "Null" values in some of the fields that are specified in the manual insertion script--such as "psc_mod". I didn't go back and check to see if this prevented the manual insertion script from over-writing the record as was outlined in the Wiki. All I know is that by changing the one value and following the other instructions outlined in the wiki and as amended above I got it to work. I guess my last words of encouragement are that you need to be patient and methodical to get this done. As in many of the steps in setting up LinuxMCE it seems painfully slow--you are better off doing the steps in the instructions and then coming back a few hours later to see if it worked--for example, recognizing and setting up a simple on-off light switch through pnp in LinuxMCE took more than 30 minutes to be fully functional. Hope this helps.
|
|
|
|
|
59
|
LinuxMCE / Installation issues / Re: Outlooksync.msi missing in 7.10 DVD install
|
on: May 06, 2009, 04:04:32 pm
|
|
What? I'm sorry, but that is exactly what I am trying to do. Since Outlook Sync apparently no longer exists, I'm trying to import phone records into a database that divides its records into two tables. How is that thinking too hard?
Come on, *thwap-you-again-for-good-measure* Back at you. Do you know a solution?
|
|
|
|
|
60
|
LinuxMCE / Installation issues / Re: Outlooksync.msi missing in 7.10 DVD install
|
on: May 05, 2009, 08:41:10 pm
|
|
OK thanks for the hint. But I need a bit of clarification: Do you mean the Cisco Directory implementation that you have downloaded to the forum--which works quite well, by the way--or is there something else in web admin that you are pointing me to?
I looked at pluto_telecom db and it seems like the only two tables that are relevant are Contact and PhoneNumber. I was interested to see how Outlooks sync managed the syncing process between the flat file in Outlook and these two tables as there is really nothing there that keys the contact to the phone number other than the PK_Contact and PK_PhoneNumber which are artificially generated upon creation. I suppose you could sync against email addresses if everyone had one--but there must have been some other solution at hand when Outlook Sync was created. Am I missing something?
Thanks again.
|
|
|
|
|