Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - rwilson131

Pages: [1]
1
Users / Finally fixed a long standing issue with Asterisk
« on: June 20, 2010, 03:20:02 am »
I am posting a problem that I had in case any one else is having the same issues.  Asterisk was not loading and has not been loading for quite some time.  Here is a list of the errors that I was getting when trying to load asterisk.

I am using Broadvoice and 8.10 Beta2.

Linuxmce Logs /var/log/pluto/18_Asterisk.log

Code: [Select]
06/19/10 8:08:07.235            socket creation failed. <0xb69f
9b90>
01      06/19/10 8:08:12.235            socket creation failed. <0xb69f
9b90>
01      06/19/10 8:08:17.234            socket creation failed. <0xb69f
9b90>

Main Error message that I was getting with running: 
Code: [Select]
sudo asterisk -vv

app_playback.so => (Sound File Playback Application)
terminate called after throwing an instance of 'std::length_error'
  what():  vector::_M_fill_insert
Aborted (core dumped)

I finally found a like that actually lead me to the fix.
http://everflux.de/asterisk-terminate-called-after-throwing-an-instance-of-stdlength_error-1029

I had to modify the /etc/asterisk/modules.conf file by adding the following:
Code: [Select]
noload => chan_vpb.so
I have found some bug messages that talk about this issues with driver for Viocetronix Cards:
https://issues.asterisk.org/view.php?id=12096
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466729

Unfortunately, the bug states that it is fixed in Fixed in version vpb-driver/4.2.26-1 and the version in Beta2 is
Code: [Select]
sudo dpkg -l libvpb*
 libvpb0        4.2.32-1       

so, I not entirely sure if this is only an issue for me, but for me this is completely reproducible.  I can cause asterisk to core dump by committing out the fix above.  I am still testing to see if there is any fall out from this fix, but at least I am able to get asterisk to register with Broadvoice.
Code: [Select]
NotifyPeersStatus status:
SIP/broadvoice:Registered
SIP/202:Registered
SIP/201:Unregistered
SIP/200:Registered

Is any one else having this issue and can anyone think of any unintended consequences of not loading this driver?

Thanks,
Rob





2
Developers / Adding new Device Templates
« on: January 26, 2008, 04:49:27 pm »
I was wondering if someone could shed some light on the subject of adding new device templates.  With the new involvement of pluto, does this mean that the bundled sqlcvs application within the admin site will now be useful for added new device templates. 

I am asking because I have finally finished my device template for LG LCD TVs and I am not sure the best method of getting it added to the list of device templates.  I also have a pnp script, but as many of you are aware it requires the device template id and currently this points only to my systems template number.

http://wiki.linuxmce.org/index.php/LG_42LB5D if any one is interested.

Hari, has been working on sqlcvs according to the forums, but it appeared to require some additional steps to sync with his database, and did not appear to be compatible with pluto's

Thanks for the hard work,
Rob

3
Users / New Device Template instructions with PNP for LG LCD TV
« on: January 26, 2008, 04:43:40 pm »
I have just finished posting instructions for adding LG LCD TV device template along with a pnp script if anyone is interested. 

http://wiki.linuxmce.org/index.php/LG_42LB5D

Thanks,
Rob

4
Users / How to Log into Voicemail in 710Beta3
« on: January 20, 2008, 05:13:13 am »
I have upgraded to Beta3 without many problems with the exception of one I already posted about here.http://forum.linuxmce.org/index.php?topic=3890.0  and this one.

I followed the instruction on the Known issues page and ran the pre-upgrade.sh and post-upgrade.sh scripts for asterisk.  Everything appears to be correct due to the presence of my prior phone book, but I can not figure out how to log into check my voicemail via Telecom>My Voicemail on the Admin site.  In previous versions, this would automatically pop up to the user logged in, but since upgrading it asks for Login and password with instructions to use the same as you would use from a phone.

My Mailbox is 301
Password (PIN)

does not work.

I know this is correct, because I am able to change my user PIN without any issues.  I am not exactly sure what login and password it is asking for. 
Anyone else able to log in after upgrading.

Core: Version 710Beta3 amd64

Thanks,
Rob

5
Users / Adding Firewall Rules it 710 Beta3 amd64
« on: January 19, 2008, 10:00:11 pm »
I am trying to add a firewall rule to forward ports to 8081 as described in http://wiki.linuxmce.org/index.php/Installing_Dansguardian

I do not think the firewall rules are being updated as the page states.

here is the output of iptables -L before and after adding a new rule
Code: [Select]
dcerouter_24050:/etc/dansguardian# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination
ACCEPT     0    --  anywhere             anywhere
ACCEPT     0    --  anywhere             anywhere            state RELATED,ESTABLISHED
ACCEPT     0    --  anywhere             anywhere            MARK match 0x1
ACCEPT     udp  --  anywhere             anywhere            udp dpt:bootps
ACCEPT     0    --  192.168.80.0/24      anywhere
ACCEPT     udp  --  anywhere             anywhere            udp dpt:iax
ACCEPT     udp  --  anywhere             anywhere            udp dpt:sip
ACCEPT     udp  --  anywhere             anywhere            udp dpt:2000
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:sieve
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:9001
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:9030
ACCEPT     tcp  --  anywhere             anywhere            tcp dpt:www

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
TCPMSS     tcp  --  anywhere             anywhere            tcp flags:SYN,RST/SYN TCPMSS clamp to PMTU

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

If I manually tell Firefox to use port 8081 at 192.168.80.1 then it correctly blocks unwanted sites. 

Is any one else seeing this and if so is there a simple way to get these to update.  I even did a router reload and although the firewall page has the new rule listed, it is not listed on the iptables -L output.

Thanks,
Rob

6
Developers / How fast can GSD commands be sent?
« on: January 06, 2008, 08:47:48 pm »
I have been working on GSD template for LG LCD TV's.  I have it working, but it appears that a couple things are happening:

Here is part of my log for LG LCD which reflects the my observations. 
Code: [Select]
05      01/06/08 10:47:08.760           GSDMessageTranslator isCmdImplemented = true <0xb5ff1b90>
05      01/06/08 10:47:08.760           #### Pre-Process Queue = 1 <0xb5ff1b90>
05      01/06/08 10:47:09.176           GSDMessageTranslator isCmdImplemented = true <0xb5ff1b90>
05      01/06/08 10:47:09.176           #### Pre-Process Queue = 2 <0xb5ff1b90>
(***):Received: kf\ 01\ 11\r\nf\ 00\ OK11x\r\n
(***):kf\ 01\ 11\r\nf\ 00\ OK11x\r\n: Command Processed Successfully
01      01/06/08 10:47:25.001           Ruby was unable to handle the command in reasonable amount of time <0xb77f4b90>
05      01/06/08 10:47:25.101           GSD-Sleep Post 89 : 100 <0xb77f4b90>
05      01/06/08 10:47:25.101           _QueueProc Post - 89 : 100 <0xb77f4b90>
05      01/06/08 10:47:25.101           ---- _QueueProc Ignored - 89 <0xb77f4b90>
05      01/06/08 10:47:25.101           ---- _QueueProc Ignored - 89 <0xb77f4b90>
1. There is a built in sleep period. Based on GSD-Sleep Post 89: 100
2. Commands are queued. Based on #### Pre-Process Queue = 2
3. And if not performed in a set amount of time there are removed from que: Ruby was unable to handle the command in reasonable amount of time  and ---- _QueueProc Ignored - 89.

By the way, command 89 is Volume Up

I also have a PNP script to Detect LG LCD tv's of various models, but I have been reluctant to post about it due to this inability to control TV in timely manner. 
I know that all codes are correct. The last problem I have been trying to figure out is that it if I wait a few seconds between Remote Control Inputs the commands are sent immediately, but if I try to repeat commands there is a few second pause before the commands are executed.  Obviously this is a challenge for LiveTV which is the last barrier for my wife to switch completely to LMCE. 

I am also seeing the same types of messages from UIRT-USB logs if that makes an difference.
Code: [Select]
05      01/06/08 12:10:42.168           #### Pre-Process Queue = 4 <0xb5f67b90>
05      01/06/08 12:10:42.192           _QueueProc Pre - 205 : 0 <0xb5766b90>
05      01/06/08 12:10:42.192           GSD-Sleep Pre 205 : 0 <0xb5766b90>
05      01/06/08 12:10:42.832           GSD-Sleep Post 205 : 100 <0xb5766b90>
Which also does not respond to Remote Control Inputs in a timely manner.

Any input would be appreciated.

Thanks,
Rob

7
Installation issues / Unable to install Pluto VideoLan Server
« on: September 11, 2007, 05:34:56 am »
My core keeps trying to install Pluto VideoLAN Server, but I do not see any package for it.  when i apt-cache search for pluto or videolan I do not see the package.  I checked to deb-cache on the 0704 CDS, and i do not see it in those packages as well.  I do however see it as still listed under src in the download able sources tar file.  Is any one else running into this problem?  It does not really seem to be hindering the performance other than I repeated see the Downloading Pluto VideoLAN Server box pop up on screen to then be followed by Problem downloading Pluto VideoLAN Server box. 

It is my understanding that this is needed to use the follow me feature, but since I do not use this feature, I may not be seeing the issue.

Thanks,

Rob

8
I have been having some trouble with a few items on my core.  I have a hybrid installation on the following server. http://www.tigerdirect.com/applications/SearchTools/item-details.asp?EdpNo=3288890&CatId=3372#detailspecs

It is basically under my stairs and I do not use it for media playback, although I would like to use it for ripping DVD's and CD's. Unfortunately, this is not happening and the longest time I could not figure out why, but I think I have figured out why.

The App_Server on the core is failing to start. the logs where no help as they just say.
Code: [Select]
========== NEW LOG SECTION ==========
1 08/26/07 19:07:06 15 (spawning-device) Starting... 50
1 08/26/07 19:07:06 15 (spawning-device) Found /usr/pluto/bin/App_Server
Return code: 139
3 08/26/07 19:07:06 15 (spawning-device) Device died... count=50/50 dev=15
Sun Aug 26 19:07:06 CDT 2007 died
3 08/26/07 19:07:16 15 (spawning-device) Aborting restart of device 15...

but I typed in
Code: [Select]
/usr/pluto/bin/App_Serverwhich returned the following
Code: [Select]
App_Server, v.2.0.0.44.0708032200
Visit www.plutohome.com for source code and license information

amixer: Mixer attach default error: No such device
Segmentation fault (core dumped)

The server has no sound card and I have no additional sound cards to insert, so I was wondering if there is a way to not have the App_Server check or to trick LinuxMCE into thinking there is a sound card.  This may not be possible, and I may have to go get a card to put into the box, but I would rather not since I will never be using the box for anything which needs sound(which is why I did not get a server with sound built in).  Any help would be appreciated. 

I have also been having problems with asterisk which I believe is related.  I have to manually start Asterisk after every reload of the router.

Thanks,
Rob


9
I have been watching the mythtv mailing list, and a significant change is in the works concerning the way guide data is received.  The normal guide data services is canceling service starting 9/1/2007.  The mythtv and xmltv guys have started a new service called http://www.schedulesdirect.org/ this service is supposed to take the place of the datadirect service currently in use. 

I also noticed that a recent SVN commit added this new guide data into the --fixes branch, which is the current branch used in LinuxMCE (I believe). 

This new service is not free, but does require a subscription.  unfortunately there does not appear to be many other options for North American users. 

Any word on updating mythtv to the most recent --fixes branch so we can utilize this service if we desire.

Thanks,

Rob

10
Users / Need Help with Asterisk
« on: August 21, 2007, 05:45:09 am »
I have broadvoice, and I have every thing up and running, but I still have 2 problems one of which is very simple and the other may be related to the first.

1. Can someone please post what is in the custom app box in the AMP web setup under inbound routing. 
Advanced>Configuration>Phone Setup which opens AMP the select Setup and then select Inbound Routing and then select the proper incoming trunk.
I accidentally deleted the text in this box and I can not find it any where.

2. Incoming callers hear no ringing.  This may be related to number 1, so any help on number one would be greatly appreciated.

Thanks,

Rob

11
I ran into this issue and it appears to be a hold over from the old pluto days.  Below is a copy of the note I added to a bug report regarding this issue.  make the changes on any already created MD's /etc/smb.conf file and then make the changes below on the core, as the core uses these files to create the files for any new MD's

Quote
I thinks this related to the workgroup still being labeled as pluto in the following templates.  /usr/pluto/templates/smb.conf.tmpl and /usr/pluto/templates/smb.conf.template.  I changed this files to and the second MD that I added was set up in the LinuxMCE workgroup without any additional work.  I am sure that there are going to be lots of little hold overs from pluto.  Here is my diff for smb.conf.template.

--- smb.conf.template.orig      2007-08-19 09:50:18.000000000 -0500
+++ smb.conf.template   2007-08-19 09:46:38.000000000 -0500
@@ -6,7 +6,7 @@

 [global]
 ## BEGIN : Domain and Hostname
-       workgroup = pluto
+       workgroup = LinuxMCE
        server string = %h server (Samba %v)
 ## END : Domain and Hostname
        smb ports = 139

Here is the diff for smb.conf.tmpl

--- smb.conf.tmpl.orig  2007-08-19 09:58:18.000000000 -0500
+++ smb.conf.tmpl       2007-08-19 09:46:16.000000000 -0500
@@ -1,5 +1,5 @@
 [global]
-   workgroup = pluto
+   workgroup = LinuxMCE
    server string = %h server (Samba %v)
    invalid users = root
    log file = /var/log/samba/log.%m

obvious it is a very simple fix, but I hope we can get this changed quickly.



Thanks,
Rob

12
Installation issues / Problem with LIRC solved
« on: August 18, 2007, 06:16:39 pm »
I was having a lot of issues with getting a Windows MCE IR receiver working.  In the past is was automatically install once you selected the mceusb2 Receiver from admin site but since 704 I could not get it install I kept getting lirc_mceusb2 module not found. 

It turns out that I had to manually do a depmod -ae then modprobed lirc_mceusb2 and finally it started working. 

I am not sure exactly why I had to do that, but I did and it worked. 

Thanks,

Rob

13
Installation issues / Problem playing DVD's
« on: August 18, 2007, 05:41:44 pm »
I have ran into a small issue.  When i insert a dvd to play, it fails with a warning that DVD CSS is not installed.  However, the setup wizard indicates that it is installed as well as apt-get, but for some reason it will not let me play back dvd's.

Also, this is a media director as I do not use the Core for Media Playback, but it is a hybrid installation.

Any one else ran into this problem

Thanks,

Rob

14
Installation issues / Problem with Generic Windows Share
« on: August 12, 2007, 09:03:20 pm »
I have a freenas box which I have used since starting with PlutoHome without problems, but starting with RC1 and with this latest release 704.  I can not get the share mounted. I have been digging to try and get to the bottom of this and I have found something that I need clarification on. I have found some SQL code that seems wrong to me, but as I am not a SQL person. I was hoping someone else with more experience would confirm this or point me in the proper direction.

Code: [Select]
/etc/auto.PlutoStorageDevices
is the script that controls the mounting of all things storage (as best as I can tell)

you can test the code by running the following:

Code: [Select]
sudo /etc/auto.PlutoStorageDevices 91( please change 91 to the device Number of your Storage Device)

with the original SQL mentioned below it returns no information, but by making the changes below it returns the following

Code: [Select]
-fstype=cifs,username=XXXXXXX,password=XXXXXXX,dir_mode=0777,file_mode=0777 ://192.168.80.253/NAS

and the media stored is accessible.

So here is the code in question:at line 109 of /etc/auto.PlutoStorageDevices

Code: [Select]
## Get the ip address of the parent (computer or nas that has the share)
                Q="     SELECT
                                Parent.IPAddress
                        FROM
                                Device Child
                                LEFT JOIN Device Parent ON Parent.PK_Device = Child.FK_Device_ControlledVia
                        WHERE
                                Child.PK_Device = '$StorageDevice'
                        LIMIT 1
                "

However if you take this code and run it in phpmyadmin for the StorageDevice (91) created by Linuxmce for the NAS Share it always returns the Core IPAddress which is obviously not he IPAddress of the FreeNAS box controlling the shares.

If I change the script as follows: (change Parent to Child in the first SELECT line)

Code: [Select]
## Get the ip address of the parent (computer or nas that has the share)
                Q="     SELECT
                                Child.IPAddress
                        FROM
                                Device Child
                                LEFT JOIN Device Parent ON Parent.PK_Device = Child.FK_Device_ControlledVia
                        WHERE
                                Child.PK_Device = '$StorageDevice'
                        LIMIT 1
                "

It returns the correct address and it appears to fix the problem, but I was hoping someone smarter than I, could confirm that this is indeed correct or am I just getting lucky with this switch.

Thanks
Rob

Pages: [1]