http://wiki.linuxmce.org/api.php?action=feedcontributions&user=Chewi&feedformat=atomLinuxMCE - User contributions [en]2024-03-28T22:39:57ZUser contributionsMediaWiki 1.24.1http://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=9779User talk:Chewi2008-03-24T17:47:41Z<p>Chewi: /* Pictures */</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
Waiting for PCLBUS now... Looks good on Hari's example-install.<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
:''What if the jpg images are copied into the folder where flikr is keeping pictures and disconnect that from internet...Will the pictures then appear like looping slideshow... That might be an easier fix.. or is it?''<br />
<br />
::Sure, there are several ideas for manual slideshow-hacks, e.g. in the [http://forum.linuxmce.org/index.php?topic=2713.0 Forum]... But I'm after a mechanism that is consistent with the general LMCE-idea and GUI, which I'm not that happy with right now (see collections-idea below)...<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption/Collections ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
=== Collections ===<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...<br />
<br />
=== How could this be done ? ===<br />
Have a table of collections at the core, that contains only a single blob of encrypted data.<br />
<br />
This encrypted data is the actual media-table.<br />
<br />
On unlocking a collection, the collection is transfered to the MD and decrypted there (on password prompt) and added to the local media-table.<br />
<br />
There the table of media-data is held as long as the user stays there. When he leaves, the table is droped (in secure mode) or kept and collections are deleted from it on locking a collection.<br />
<br />
On Follow-Me, the table is transfered to the new MD, IF the pincode (or a password instead) on the new MD was correct and deleted on the old one.<br />
<br />
So changes for secure and easier mode would have to be, that instead of looking at the core, the MDs look into their own table. On the core there is an additional table with collections, that can be added to the local table on the MD. When a user activates a MD, the default non-lockable collection (the original media-table) is transfered. When a user leaves a MD, the table is dropped.<br />
<br />
== DVD-shrinking on ripping... ==<br />
<br />
Right now, DVDs are ripped 1to1. So a bunch of data is stored. This takes a lot of HDD for stuff not needed.<br />
Bonus-Material is not necessary. For someone familiar with german and english, frensh is not necessary.<br />
And the Movie might be too big. Lesser Bitrates could give a good movie.<br />
<br />
At the same time the menu should be kept alive for the optional inclusion of bonus material.<br />
<br />
Solution: Shrink it. <br />
# [http://dvd95.sourceforge.net/ DVD95] is an example for this. But it has a GUI and according to the developer, GUI and functionality are closely wired together. But he allowed his code to be reused in LMCE, when I contacted him.<br />
<br />
# [http://lxdvdrip.berlios.de/ lxdvdrip] is a commandline-based program with the same functionality and no interaction. Only parameters do the trick. So it could be utilized. Problem is, that I did not get it to compile yet. Gonna have a look at it soon...</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=8482User talk:Chewi2008-01-18T10:04:53Z<p>Chewi: /* Home Automation */</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
Waiting for PCLBUS now... Looks good on Hari's example-install.<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption/Collections ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
=== Collections ===<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...<br />
<br />
=== How could this be done ? ===<br />
Have a table of collections at the core, that contains only a single blob of encrypted data.<br />
<br />
This encrypted data is the actual media-table.<br />
<br />
On unlocking a collection, the collection is transfered to the MD and decrypted there (on password prompt) and added to the local media-table.<br />
<br />
There the table of media-data is held as long as the user stays there. When he leaves, the table is droped (in secure mode) or kept and collections are deleted from it on locking a collection.<br />
<br />
On Follow-Me, the table is transfered to the new MD, IF the pincode (or a password instead) on the new MD was correct and deleted on the old one.<br />
<br />
So changes for secure and easier mode would have to be, that instead of looking at the core, the MDs look into their own table. On the core there is an additional table with collections, that can be added to the local table on the MD. When a user activates a MD, the default non-lockable collection (the original media-table) is transfered. When a user leaves a MD, the table is dropped.<br />
<br />
== DVD-shrinking on ripping... ==<br />
<br />
Right now, DVDs are ripped 1to1. So a bunch of data is stored. This takes a lot of HDD for stuff not needed.<br />
Bonus-Material is not necessary. For someone familiar with german and english, frensh is not necessary.<br />
And the Movie might be too big. Lesser Bitrates could give a good movie.<br />
<br />
At the same time the menu should be kept alive for the optional inclusion of bonus material.<br />
<br />
Solution: Shrink it. <br />
# [http://dvd95.sourceforge.net/ DVD95] is an example for this. But it has a GUI and according to the developer, GUI and functionality are closely wired together. But he allowed his code to be reused in LMCE, when I contacted him.<br />
<br />
# [http://lxdvdrip.berlios.de/ lxdvdrip] is a commandline-based program with the same functionality and no interaction. Only parameters do the trick. So it could be utilized. Problem is, that I did not get it to compile yet. Gonna have a look at it soon...</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=8481User talk:Chewi2008-01-18T10:03:38Z<p>Chewi: DVD-shrinking on ripping...</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption/Collections ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
=== Collections ===<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...<br />
<br />
=== How could this be done ? ===<br />
Have a table of collections at the core, that contains only a single blob of encrypted data.<br />
<br />
This encrypted data is the actual media-table.<br />
<br />
On unlocking a collection, the collection is transfered to the MD and decrypted there (on password prompt) and added to the local media-table.<br />
<br />
There the table of media-data is held as long as the user stays there. When he leaves, the table is droped (in secure mode) or kept and collections are deleted from it on locking a collection.<br />
<br />
On Follow-Me, the table is transfered to the new MD, IF the pincode (or a password instead) on the new MD was correct and deleted on the old one.<br />
<br />
So changes for secure and easier mode would have to be, that instead of looking at the core, the MDs look into their own table. On the core there is an additional table with collections, that can be added to the local table on the MD. When a user activates a MD, the default non-lockable collection (the original media-table) is transfered. When a user leaves a MD, the table is dropped.<br />
<br />
== DVD-shrinking on ripping... ==<br />
<br />
Right now, DVDs are ripped 1to1. So a bunch of data is stored. This takes a lot of HDD for stuff not needed.<br />
Bonus-Material is not necessary. For someone familiar with german and english, frensh is not necessary.<br />
And the Movie might be too big. Lesser Bitrates could give a good movie.<br />
<br />
At the same time the menu should be kept alive for the optional inclusion of bonus material.<br />
<br />
Solution: Shrink it. <br />
# [http://dvd95.sourceforge.net/ DVD95] is an example for this. But it has a GUI and according to the developer, GUI and functionality are closely wired together. But he allowed his code to be reused in LMCE, when I contacted him.<br />
<br />
# [http://lxdvdrip.berlios.de/ lxdvdrip] is a commandline-based program with the same functionality and no interaction. Only parameters do the trick. So it could be utilized. Problem is, that I did not get it to compile yet. Gonna have a look at it soon...</div>Chewihttp://wiki.linuxmce.org/index.php?title=Asterisk&diff=8285Asterisk2008-01-10T11:36:49Z<p>Chewi: /* NAT and Dynamic IP */ -> qualify setting for phone lines</p>
<hr />
<div>== How does it work? ==<br />
<br />
<p>On the LinuxMCE Admin page: Wizard/Devices/Core check the box for "Asterisk". This will install both the Asterisk pbx software, and also the LinuxMCE Asterisk DCE Device, which is just a thin wrapper that passes messages/events between LinuxMCE and Asterisk making the two appear seamlessly integrated.</p><br />
<p>When you check that box, it also adds a few more pages to the LinuxMCE Admin web site where you can configure your phone system, choose voicemail options and so on. Each of those pages has their own context-sensitive help. You will not need to touch Asterisk's configuration files--they are maintained automatically by the LinuxMCE Asterisk DCE Device.</p><br />
<p>The IP-based telephones that LinuxMCE supports are all plug-and-play, such as the Snom 200. Just plug the phone into any jack and all the Orbiters will display a message to let you know that your new phone has been detected.</p><br />
<p>To configure your phone you may use AMP (Asterisk Management Portal) which is included in LinuxMCE-admin site</p><br />
<br />
== I already know Asterisk ==<br />
<br />
<p>We use Ubuntu's package of asterisk with few addons and custom packaged AMP. If you already have your own Asterisk installation running, you should be able to run the LinuxMCE Asterisk DCE Device against it.</p><br />
<br />
== NAT and Dynamic IP ==<br />
<br />
If you do not use LinuxMCE as a firewall/router directly connected to the internet, but use a NAT-router inbetween (for example for security reasons or if you do not want your internet connection to rely on your home-automation-system), there are some errors that occure.<br />
<br />
The problem is, that in SIP communication the IP-Address to connect to as well as the port is being reportet by the asterisk server when registering with the sip-provider. But as the Asterisk server cannot know the external (internet) IP and the NAT router traverses the sender port, the address and port reported by Asterisk to the SIP provider are wrong. Some SIP providers compensate for this by recognizing diffences between the reported address and port within the sip packet and the sending address and port, and use the later.<br />
<br />
If your provider does not, you have to add a port-forwarding of the defined sip-port (by default 5060) from the external ip in the router to your asterisk server and add the following into a file /etc/asterisk/sip_nat.conf: <pre>externip=my.external.ip.address<br />
externhost=myhost.dyndns.org<br />
localnet=192.168.80.0/255.255.255.0</pre>The localnet is the network, where your ip-phones are, so asterisk knows where to use its own ip-address instead of the internet wide.<br />
<br />
<br />
If additionally you have an internet provider that does not assign you a static IP address and maybe even forces your internet connection to be canceled every 24 hours and assigns you a different dynamic IP address you should register with a dynamic-dns-provider, so everytime you reconnect, a dns-record is generated with your IP and you have to forward the sip-port as well and write to the file /etc/asterisk/sip_nat.conf something like this:<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
This way, the external host's ip-adress is refreshed and checked for changes every 5 minutes.<br />
<br />
Additionally I recommend setting for your phone-lines <pre>qualify=10</pre><br />
This has to be done in the /etc/asterisk/sip_additional.conf (Warning: It will be overwritten by the wizard-skripts !!!). This makes asterisk check the connection of the line every 10 seconds with a SIP-Options-Packet, so that connection-losses and reconnection will not go undetected and also to keep the udp-session open in some nat-routers.<br />
<br />
== Additional Information ==<br />
<br />
[http://www.voip-info.org VoIP-Wiki and Forum]<br />
<br />
[http://www.asteriskdocs.org/ The Asterisk Documentation Project]<br />
<br />
[http://www.asteriskguru.com/ Asterisk-Guru]<br />
<br />
[http://www.ip-phone-forum.de IP-Phone-Forum] (German)<br />
<br />
[http://www.das-asterisk-buch.de Asterisk-Buch] (German)<br />
<br />
[[Category:Software components]]<br />
[[Category:Telecom]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=7240User talk:Chewi2007-11-20T14:42:42Z<p>Chewi: /* Encryption/Collections */</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption/Collections ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
=== Collections ===<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...<br />
<br />
=== How could this be done ? ===<br />
Have a table of collections at the core, that contains only a single blob of encrypted data.<br />
<br />
This encrypted data is the actual media-table.<br />
<br />
On unlocking a collection, the collection is transfered to the MD and decrypted there (on password prompt) and added to the local media-table.<br />
<br />
There the table of media-data is held as long as the user stays there. When he leaves, the table is droped (in secure mode) or kept and collections are deleted from it on locking a collection.<br />
<br />
On Follow-Me, the table is transfered to the new MD, IF the pincode (or a password instead) on the new MD was correct and deleted on the old one.<br />
<br />
So changes for secure and easier mode would have to be, that instead of looking at the core, the MDs look into their own table. On the core there is an additional table with collections, that can be added to the local table on the MD. When a user activates a MD, the default non-lockable collection (the original media-table) is transfered. When a user leaves a MD, the table is dropped.</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=7171User talk:Chewi2007-11-12T08:42:45Z<p>Chewi: /* Encryption */</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption/Collections ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
=== Collections ===<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=7170User talk:Chewi2007-11-12T08:42:01Z<p>Chewi: Encryption</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.<br />
<br />
== Encryption ==<br />
<br />
=== Scenario: ===<br />
If you're using LinuxMCE with a Roommate or in a Flat Sharing or together with you neighbors, you might not want them to be able to watch your intimate home video and they don't want you to watch theirs. But either one of you or both does have root privileges. So what now.<br />
<br />
When transfering a movie to LinuxMCE, you cannot allow them to use it. Copyright forbids it.<br />
<br />
=== Solution: ===<br />
Use encryption. For the file itself, so nobody can see the content and for the database so nobody can see what movies you have and for the movie thumbnail.<br />
<br />
The Idea is to use a field in the database that marks encrypted entries. When accessing this media / media directory, you're asked for a password with a full keyboard (like when entering the usernames in the setup dialog).<br />
<br />
This (its hash-value) is then used to encrypt the file using e.g. AES.<br />
<br />
For the media-searching (db-entries and cover art) I must come up with a good encryption scheme. e.g. use a master-password for the marked entries. Or use Encryption Sets of movies.<br />
<br />
=== Ecryption Sets ===<br />
You setup an Encryption Set and give it a name and a password.<br />
<br />
You then add the movies you want encrypted (files, db-entries (meaning titles), coverart) to that set. They are encrypted with the pass/symmetric key defined by the encryption set.<br />
<br />
You can then lock an encryption set so the movies are not accessable anymore and are also not shown in the media-search<br />
<br />
You can unlock them to search through them and watch them.<br />
<br />
These Sets could be called repositories or collections. That could make searching easier.<br />
<br />
You have a collection of vacation movies, a collection of party-movies, a collection of children movies and a collection of horror movies.<br />
<br />
Why would you want to be able to search through any of those at the same time ?<br />
<br />
On the other hand it might be interessting to add a movie to several collections ? No... That would be too similar to the genre tag. Collections are distinct.<br />
<br />
Is it still interessting to have private and public collections ? Yes... family collections and stuff...</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Trevor.fraser&diff=7054User talk:Trevor.fraser2007-11-09T10:46:29Z<p>Chewi: Please mark minor changes as those...</p>
<hr />
<div>Please mark minor changes as those... e.g. when correcting typos and stuff...<br />
You can also have that box checked by default in the preferences...<br />
<br />
Besides that, keep up the work on the wiki... Best regards --[[User:Chewi|Chewi]] 03:46, 9 November 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Use_Additional_Mouse_Buttons&diff=6849Use Additional Mouse Buttons2007-10-29T10:21:09Z<p>Chewi: Howto: Make additional mouse-buttons behave as F6, F7, F8 (http://forum.linuxmce.org/index.php?topic=2549.0)</p>
<hr />
<div> {| align="right"<br />
| __TOC__<br />
|}<br />
[[Category: Input]]<br />
<br />
'''Abstract'''<br />
This is an article, explaining how to use additional mousebuttons as substitude to F6, F7, F8.<br />
<br />
This way, LinuxMCE can be controlled with a (wireless) mouse only, without the need to have a keyboard nearby...<br />
<br />
<br />
== Prerequisits ==<br />
First of all, we need the packets xautomation (which should be installed allready) and xbindkeys.<br />
<br />
Before installing them, wen need to append "deb http://archive.ubuntu.com/ubuntu/ feisty universe" to /etc/apt/sources.list temporarely and resync the repository (see [[Editing_Text]]).<br />
<pre>#get a console:<br />
sudo nano -w /etc/apt/sources.list<br />
#add the following:<br />
deb http://archive.ubuntu.com/ubuntu/ feisty universe<br />
#CTRL+X and Y to exit and save<br />
#update the repository<br />
sudo apt-get update<br />
#Remember to remove the line afterwards and do an update again</pre><br />
<br />
Then we need to install those 2 packets:<br />
<pre>#get a console:<br />
sudo apt-get install xbindkeys<br />
sudo apt-get install xautomation</pre><br />
<br />
<br />
== How it works ==<br />
We use '''xautomation (xte)''' to simulate the key-presses:<br />
If you want to send a keypress of F6 to the X-Server, the command "xte 'key F8'" will do the trick.<br />
If you only want to send that the key was pressed, call "xte 'keydown F8".<br />
additionally you can event move the mouse or do clicks with it. For more information have a look at "man xte".<br />
<br />
To catch the keypresses on the mouse, we use '''xbindkeys'''. The syntax of the config-file is:<br />
<pre>"xterm"<br />
control+shift + q</pre><br />
so within the "" is the command to call and below is the key to bind the command to.<br />
possible keys are control, shift, alt, ... and for mouse-buttons b:1, b:2, b:3, ...<br />
<br />
== Configuring it ==<br />
Combining those two, we derive the following configfile, which i saved at /etc/xbindkeysrc:<br />
<pre>#get a console<br />
sudo nano -w /etc/bindkeysrc<br />
#Add the following<br />
"xte 'keydown F6' &"<br />
b:8<br />
"xte 'keyup F6' &"<br />
b:8+release<br />
<br />
"xte 'keydown F7' &"<br />
b:2<br />
"xte 'keyup F7' &"<br />
b:2+release<br />
<br />
"xte 'keydown F8' &"<br />
b:9<br />
"xte 'keyup F8' &"<br />
b:9+release<br />
#Close it with CTRL+X and Save with Y</pre><br />
<br />
Then we still have to start xbindkeys within the X-Server... As I do not know LinuxMCE too well, I just looked for some good spot and /usr/pluto/bin/lmce_launch_manager.sh seemed to be one. Now it looks like this:<br />
<pre>#get a console<br />
sudo nano -w /usr/pluto/bin/lmce_launch_manager.sh<br />
#add the line with xbindkeysrc<br />
...<br />
xbindkeys -f /etc/xbindkeysrc #<--- the added stuff<br />
<br />
KDE_DEBUG=1<br />
LM_BINARY=/usr/pluto/bin/lmce_launch_manager<br />
LM_EXIT_CODE=-1<br />
...<br />
#CTRL+X to exit ans Y to save</pre><br />
<br />
== Result ==<br />
After a reboot, the mouse-buttons 8, 2 and 9 should act as F6, F7 and F9 even passing when a key is held pressed, which was the right setup for me.<br />
If you want something different, just change b:9 for b:6 for example.<br />
<br />
If you don't know the numbers of your mousebuttons, start the "application" xev. Click into the small black box and look at the console for the output "ButtonPress event, .... button X".<br />
<br />
== Troubleshooting ==<br />
<br />
In case you do not get all the buttons of your mouse, e.g. 8 and 9 report as being 1 and 2 (that was the case with my mouse), try replacing the following in /etc/X11/xorg.conf<br />
Option "Protocol" "ImPS/2"<br />
with<br />
Option "Protocol" "ExplorerPS/2"</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Rwilson131&diff=6690User talk:Rwilson1312007-10-15T08:41:32Z<p>Chewi: Minor changes</p>
<hr />
<div>Hi R Wilson,<br />
I've made a request for comment with regard to a debate we're having about categorization of articles. If you could take a look here [[LinuxMCE Wiki talk:Community Portal]] when you have time and perhaps leave a comment I'd be very grateful.<br />
<br />
Thanks. [[User:Lozzo|Lozzo]] 11:36, 8 October 2007 (MST)<br />
<br />
:Hi, thanks for your comments before. I've expanded a bit [[LinuxMCE Wiki talk:Community Portal|here]] on the differences between lists and categories, and why I think that a list article might be better. To clarify, I do believe that a big list of hardware is very useful - but that categories are not the best way to achieve this. I look forward to hearing your comments!<br />
<br />
:Many thanks! [[User:Lozzo|Lozzo]] 07:07, 9 October 2007 (MST)<br />
<br />
== Minor changes ==<br />
<br />
Thanks for all the work you do on the wiki... I really appreciate it as it gives the wiki a lot of structure...<br />
<br />
But let me make a suggestion... When you do minor changes like adding a cathegorie to a page, could you please mark them as a minor change ? I look at the recent changes quite frequently to stay up2date and it would be nice to see, when it's a minor change.<br />
<br />
By the way, you can also setup to have the minor-change-box be checked by default, if that helps...<br />
<br />
Best regards, --[[User:Chewi|Chewi]] 01:41, 15 October 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=What_hardware_I_will_need&diff=6634What hardware I will need2007-10-12T08:27:55Z<p>Chewi: typo</p>
<hr />
<div>[[Category: Hardware Lists]]<br />
<br />
= Hardware requirements =<br />
== Minimum == Standard Definition (SD) DVD and audio (MP3, OGG, etc) player.<br />
* The simple answer is a machine that can install and boot [http://www.ubuntu.com Ubuntu] (presently Feisty Fawn 7.04).<br />
<br />
== Standard == Standard Definition DVR + Audio/Video player<br />
From the [http://www.mythtv.org/docs/mythtv-HOWTO-3.html MythTV Hardware Requirements] page.<br />
=== CPU ===<br />
* A PIII/733MHz system can encode one video stream using the MPEG-4 codec using 480x480 capture resolution. This does not allow for live TV watching, but does allow for encoding video and then watching it later.<br />
* A developer states that his AMD1800+ system can almost encode two MPEG-4 video streams and watch one program simultaneously.<br />
* A PIII/800MHz system with 512MB RAM can encode one video stream using the RTjpeg codec with 480x480 capture resolution and play it back simultaneously, thereby allowing live TV watching.<br />
* A dual Celeron/450MHz is able to view a 480x480 MPEG-4/3300kbps file created on a different system with 30% CPU usage.<br />
* A P4 2.4GHz machine can encode two 3300Kbps 480x480 MPEG-4 files and simultaneously serve content to a remote frontend.<br />
<br />
=== Firewire (optional) ===<br />
<br />
You may use the [[Firewire]] output of the [[Motorola DCT6200]] or the [[Motorola SA3250|SA3250]]. <br />
<br />
=== A video capture card supported by Linux ===<br />
<br />
The Plextor ConvertX PVR devices are supported through Linux drivers available from http://www.plextor.com/english/support/LinuxSDK.htm. MythTV uses the Plextor to capture hardware encoded MPEG-4, so the host CPU requirements are low.<br />
<br />
[[Hauppauge]] [[WinTV-PVR-USB2]] (driver available at http://www.isely.net/pvrusb2/) emulates a PVR-x50 card.<br />
IP Recorder (RTSP, RTS, UDP)<br />
<br />
MPEG-2, MPEG-4 and H.264 internet TS stream recording is supported using the IPTV recorder in MythTV. This recorder expects the channels to be supplied as a m3u playlist. If your DSL/Fiber provider supplies television service, but does not provide a m3u playlist for the channels, you can construct one for your own use. You do not need to download it from the same server as the streams themselves, and can also read it from a file if this is more convenient.<br />
<br />
If your provider uses 5C encryption on a particular channel, you won't be able to get any content.<br />
DBoxII or other devices running Neutrino<br />
<br />
You may use the Ethernet port of an DBoxII or a similar device to capture MPEG2. Your set top box has to be running the Neutrino GUI.<br />
USB Capture Devices.<br />
<br />
=== Sound card ===<br />
<br />
The system needs a sound card or an on-board equivalent on the motherboard to play back and in most cases, to record sound. Any sound card that can be operated by the [[ALSA]] (Advanced Linux Sound Architecture) kernel modules will work with MythTV. However, some cards and drivers will provide better quality or compatibility than others. In particular, many audio devices included on motherboards can be problematic.<br />
<br />
The usual practice for capturing the audio associated with the video is to run a cable from an audio output on the video capture card to the Line input on a sound card. However, some video capture cards provide on-board audio capabilities that work with the kernel btaudio module instead, thereby eliminating the need for a cable. This is useful if you will be using multiple capture cards in a single chassis, since each capture card will not need its own sound card. Note that a separate sound card is still required for playback when using btaudio, and that often the audio recorded in this way will be mono only. See the btaudio section for more information.<br />
<br />
==== See Also ====<br />
[[Tested good hardware]], [[Tested bad hardware]], [[Suggested hardware]]<br />
<br />
== Forum Discussions ==<br />
* [http://forum.linuxmce.com/index.php?topic=1711.0 Building a New Rig]<br />
* [http://forum.linuxmce.com/index.php?topic=1353.msg8341#msg8341 For those wanting to roll your own box ...]</div>Chewihttp://wiki.linuxmce.org/index.php?title=What_hardware_I_will_need&diff=6633What hardware I will need2007-10-12T08:27:18Z<p>Chewi: Video capture is no CPU and winTV no firewire...</p>
<hr />
<div>[[Category: Hardware Lists]]<br />
<br />
= Hardware requirements =<br />
== Minimum == Standard Definition (SD) DVD and audio (MP3, OGG, etc) player.<br />
* The simple answer is a machine that can install and boot [http://www.ubuntu.com Ubuntu] (presently Feisty Fawn 7.04).<br />
<br />
== Standard == Standard Definition DVR + Audio/Video player<br />
From the [http://www.mythtv.org/docs/mythtv-HOWTO-3.html MythTV Hardware Requirements] page.<br />
=== CPU ===<br />
* A PIII/733MHz system can encode one video stream using the MPEG-4 codec using 480x480 capture resolution. This does not allow for live TV watching, but does allow for encoding video and then watching it later.<br />
* A developer states that his AMD1800+ system can almost encode two MPEG-4 video streams and watch one program simultaneously.<br />
* A PIII/800MHz system with 512MB RAM can encode one video stream using the RTjpeg codec with 480x480 capture resolution and play it back simultaneously, thereby allowing live TV watching.<br />
* A dual Celeron/450MHz is able to view a 480x480 MPEG-4/3300kbps file created on a different system with 30% CPU usage.<br />
* A P4 2.4GHz machine can encode two 3300Kbps 480x480 MPEG-4 files and simultaneously serve content to a remote frontend.<br />
<br />
=== Firewire (optional)<br />
<br />
You may use the [[Firewire]] output of the [[Motorola DCT6200]] or the [[Motorola SA3250|SA3250]]. <br />
<br />
=== A video capture card supported by Linux ===<br />
<br />
The Plextor ConvertX PVR devices are supported through Linux drivers available from http://www.plextor.com/english/support/LinuxSDK.htm. MythTV uses the Plextor to capture hardware encoded MPEG-4, so the host CPU requirements are low.<br />
<br />
[[Hauppauge]] [[WinTV-PVR-USB2]] (driver available at http://www.isely.net/pvrusb2/) emulates a PVR-x50 card.<br />
IP Recorder (RTSP, RTS, UDP)<br />
<br />
MPEG-2, MPEG-4 and H.264 internet TS stream recording is supported using the IPTV recorder in MythTV. This recorder expects the channels to be supplied as a m3u playlist. If your DSL/Fiber provider supplies television service, but does not provide a m3u playlist for the channels, you can construct one for your own use. You do not need to download it from the same server as the streams themselves, and can also read it from a file if this is more convenient.<br />
<br />
If your provider uses 5C encryption on a particular channel, you won't be able to get any content.<br />
DBoxII or other devices running Neutrino<br />
<br />
You may use the Ethernet port of an DBoxII or a similar device to capture MPEG2. Your set top box has to be running the Neutrino GUI.<br />
USB Capture Devices.<br />
<br />
=== Sound card ===<br />
<br />
The system needs a sound card or an on-board equivalent on the motherboard to play back and in most cases, to record sound. Any sound card that can be operated by the [[ALSA]] (Advanced Linux Sound Architecture) kernel modules will work with MythTV. However, some cards and drivers will provide better quality or compatibility than others. In particular, many audio devices included on motherboards can be problematic.<br />
<br />
The usual practice for capturing the audio associated with the video is to run a cable from an audio output on the video capture card to the Line input on a sound card. However, some video capture cards provide on-board audio capabilities that work with the kernel btaudio module instead, thereby eliminating the need for a cable. This is useful if you will be using multiple capture cards in a single chassis, since each capture card will not need its own sound card. Note that a separate sound card is still required for playback when using btaudio, and that often the audio recorded in this way will be mono only. See the btaudio section for more information.<br />
<br />
==== See Also ====<br />
[[Tested good hardware]], [[Tested bad hardware]], [[Suggested hardware]]<br />
<br />
== Forum Discussions ==<br />
* [http://forum.linuxmce.com/index.php?topic=1711.0 Building a New Rig]<br />
* [http://forum.linuxmce.com/index.php?topic=1353.msg8341#msg8341 For those wanting to roll your own box ...]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Asterisk&diff=6632Asterisk2007-10-12T07:51:42Z<p>Chewi: </p>
<hr />
<div>== How does it work? ==<br />
<br />
<p>On the LinuxMCE Admin page: Wizard/Devices/Core check the box for "Asterisk". This will install both the Asterisk pbx software, and also the LinuxMCE Asterisk DCE Device, which is just a thin wrapper that passes messages/events between LinuxMCE and Asterisk making the two appear seamlessly integrated.</p><br />
<p>When you check that box, it also adds a few more pages to the LinuxMCE Admin web site where you can configure your phone system, choose voicemail options and so on. Each of those pages has their own context-sensitive help. You will not need to touch Asterisk's configuration files--they are maintained automatically by the LinuxMCE Asterisk DCE Device.</p><br />
<p>The IP-based telephones that LinuxMCE supports are all plug-and-play, such as the Snom 200. Just plug the phone into any jack and all the Orbiters will display a message to let you know that your new phone has been detected.</p><br />
<p>To configure your phone you may use AMP (Asterisk Management Portal) which is included in LinuxMCE-admin site</p><br />
<br />
== I already know Asterisk ==<br />
<br />
<p>We use Ubuntu's package of asterisk with few addons and custom packaged AMP. If you already have your own Asterisk installation running, you should be able to run the LinuxMCE Asterisk DCE Device against it.</p><br />
<br />
== NAT and Dynamic IP ==<br />
<br />
If you do not use LinuxMCE as a firewall/router directly connected to the internet, but use a NAT-router inbetween (for example for security reasons or if you do not want your internet connection to rely on your home-automation-system), there are some errors that occure.<br />
<br />
The problem is, that in SIP communication the IP-Address to connect to as well as the port is being reportet by the asterisk server when registering with the sip-provider. But as the Asterisk server cannot know the external (internet) IP and the NAT router traverses the sender port, the address and port reported by Asterisk to the SIP provider are wrong. Some SIP providers compensate for this by recognizing diffences between the reported address and port within the sip packet and the sending address and port, and use the later.<br />
<br />
If your provider does not, you have to add a port-forwarding of the defined sip-port (by default 5060) from the external ip in the router to your asterisk server and add the following into a file /etc/asterisk/sip_nat.conf: <pre>externip=my.external.ip.address<br />
externhost=myhost.dyndns.org<br />
localnet=192.168.80.0/255.255.255.0</pre>The localnet is the network, where your ip-phones are, so asterisk knows where to use its own ip-address instead of the internet wide.<br />
<br />
<br />
If additionally you have an internet provider that does not assign you a static IP address and maybe even forces your internet connection to be canceled every 24 hours and assigns you a different dynamic IP address you should register with a dynamic-dns-provider, so everytime you reconnect, a dns-record is generated with your IP and you have to forward the sip-port as well and write to the file /etc/asterisk/sip_nat.conf something like this:<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
This way, the external host's ip-adress is refreshed and checked for changes every 5 minutes.<br />
<br />
== Additional Information ==<br />
<br />
[http://www.voip-info.org VoIP-Wiki and Forum]<br />
<br />
[http://www.asteriskdocs.org/ The Asterisk Documentation Project]<br />
<br />
[http://www.asteriskguru.com/ Asterisk-Guru]<br />
<br />
[http://www.ip-phone-forum.de IP-Phone-Forum] (German)<br />
<br />
[http://www.das-asterisk-buch.de Asterisk-Buch] (German)<br />
<br />
[[Category:Software components]]<br />
[[Category:Telecom]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Sipgate&diff=6631Sipgate2007-10-12T07:27:49Z<p>Chewi: </p>
<hr />
<div><table width="100%"> This should be a short How-To for integrating sipgate with LinuxMCE-Asterisk. It describes the steps what i have done and where the problems are.<br />
<br />
'''1. Step Install LinuxMCE Core/Hybrid'''<br />
<br />
<br />
'''2. Step Add a Media Director'''<br />
<br />
<br />
After the this i a running LinuxMCE system with one Media Director and one Windows XP Orbiter. <br />
<br />
'''3. Step Add Phone Lines'''<br />
<br />
In LinuxMCE Web Admin go to Devices -> Phone Lines. <br />
<br />
I don't make changes in the first box:<br />
<pre><br />
When dialing a local number, automatically prepend the area code<br />
Also prepend a digit (1 for US/Canada, 0 for Europe)<br />
Local Number Length<br />
</pre><br />
<br />
I choose my Provider (sipgate.at) and entered my Datas.<br />
<br />
<pre><br />
Type Data Password Username Host Phone number<br />
SIP sipgate XXXXXXX 9627932 sipgate.at 0720726742<br />
</pre><br />
<br />
''I don't know if i have to change the settings in the first box!?!?!?''<br />
<br />
'''4. Step Reload the router'''<br />
<br />
Don't know if the reload is important at this point, but i think it's better to do it.<br />
<br />
<br />
'''5. Step AMP Configuration'''<br />
<br />
In LinuxMCE Web Admin go to Advanced -> Configuration -> Phones Setup -> Setup. LinuxMCE has inserted everything to asterisk. But at this point i can't call my sipgate-number. So go to Trunks and choose my trunk ''Trunk SIP/sipgate''. On Sipgate.at i find a configuration file for asterisk, the main difference is that i need ''allow=alow&alaw&alaw&ulaw&g729&gsm&slinear'' this in the Incoming and Outgoing Settings. So i added it and it worked!<br />
Here are my configurations:<br />
<br />
Dial Rules:<br />
<pre><br />
112<br />
411<br />
911<br />
9|.<br />
</pre><br />
<br />
Outgoing Settings:<br />
<pre><br />
allow=alow&alaw&alaw&ulaw&g729&gsm&slinear<br />
auth=md5<br />
authuser=9627932<br />
callerid=9627932<br />
canreinvite=no<br />
context=from-internal<br />
disallow=all<br />
dtmfmode=inband<br />
fromdomain=sipgate.at<br />
fromuser=9627932<br />
host=sipgate.at<br />
insecure=very<br />
nat=yes<br />
qualify=no<br />
secret=XXXXXX<br />
type=peer<br />
user=9627932<br />
username=9627932<br />
</pre><br />
<br />
Incoming Settings<br />
<br />
<pre><br />
allow=alow&alaw&alaw&ulaw&g729&gsm&slinear<br />
auth=md5<br />
authuser=9627932<br />
callerid=9627932<br />
canreinvite=no<br />
context=from-internal<br />
disallow=all<br />
dtmfmode=inband<br />
fromdomain=sipgate.at<br />
fromuser=9627932<br />
host=sipgate.at<br />
insecure=very<br />
nat=yes<br />
qualify=no<br />
secret=XXXXX<br />
type=user<br />
user=9627932<br />
username=9627932<br />
</pre><br />
<br />
'''Problems'''<br />
<br />
I can call my sipgate number from my cell phone but i only here a female voice who tells me that all circuits are busy now. <br />
I can See in the report Panel of AMP that someone has called me and the call was answered but i don't get a Message on my orbiters.<br />
I even can't talk from one Orbiter (MD) to another (Hybrid).<br />
<br />
'''Solution for me is:'''<br />
replace context=from-internal with context=from-trunk<br />
Please try to confirm and if it works for you as well, make the final changes to this page...<br />
<br />
<br />
<br />
Here is the log file from asterisk when i make a call from my cell phone:<br />
<br />
<pre><br />
Connected to Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q currently running on dcero uter (pid = 16397)<br />
Verbosity is at least 3<br />
Core debug is at least 1<br />
-- Executing Macro("SIP/9627932-96e1", "dialout-trunk|2|627932|") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?3:2)") in new stack<br />
-- Goto (macro-dialout-trunk,s,3)<br />
-- Executing Macro("SIP/9627932-96e1", "user-callerid") in new stack<br />
-- Executing DBget("SIP/9627932-96e1", "AMPUSER=DEVICE/9627932/user") in new stack<br />
-- DBget: varname=AMPUSER, family=DEVICE, key=9627932/user<br />
-- DBget: Value not found in database.<br />
-- Executing DBget("SIP/9627932-96e1", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack<br />
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname<br />
-- DBget: Value not found in database.<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?5") in new stack<br />
-- Goto (macro-user-callerid,s,5)<br />
-- Executing NoOp("SIP/9627932-96e1", "Using CallerID "0699153xxxxx" <9627932>") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "record-enable|9627932|OUT") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "0 > 0?2:4") in new stack<br />
-- Goto (macro-record-enable,s,4)<br />
-- Executing AGI("SIP/9627932-96e1", "recordingcheck|20070106-123650|asterisk-16397-1168083410.0") in new stack<br />
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br />
recordingcheck|20070106-123650|asterisk-16397-1168083410.0: Outbound recording not enabled<br />
-- AGI Script recordingcheck completed, returning 0<br />
-- Executing NoOp("SIP/9627932-96e1", "No recording needed") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "outbound-callerid|2") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?3") in new stack<br />
-- Goto (macro-outbound-callerid,s,3)<br />
-- Executing DBget("SIP/9627932-96e1", "USEROUTCID=AMPUSER/9627932/outboundcid") in new stack<br />
-- DBget: varname=USEROUTCID, family=AMPUSER, key=9627932/outboundcid<br />
-- DBget: Value not found in database.<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?6") in new stack<br />
-- Goto (macro-outbound-callerid,s,6)<br />
-- Executing NoOp("SIP/9627932-96e1", "CallerID set to "0699153xxxxx" <9627932>") in new stack<br />
-- Executing SetGroup("SIP/9627932-96e1", "OUT_2") in new stack<br />
-- Executing CheckGroup("SIP/9627932-96e1", "") in new stack<br />
-- Executing SetVar("SIP/9627932-96e1", "DIAL_NUMBER=627932") in new stack<br />
-- Executing SetVar("SIP/9627932-96e1", "DIAL_TRUNK=2") in new stack<br />
-- Executing AGI("SIP/9627932-96e1", "fixlocalprefix") in new stack<br />
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br />
-- AGI Script fixlocalprefix completed, returning 0<br />
-- Executing SetVar("SIP/9627932-96e1", "OUTNUM=627932") in new stack<br />
-- Executing Cut("SIP/9627932-96e1", "custom=OUT_2|:|1") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "0?16") in new stack<br />
-- Executing Dial("SIP/9627932-96e1", "SIP/sipgate/627932") in new stack<br />
-- Called sipgate/627932<br />
-- SIP/sipgate-8e34 is circuit-busy<br />
== Everyone is busy/congested at this time (1:0/1/0)<br />
-- Executing Goto("SIP/9627932-96e1", "s-CONGESTION|1") in new stack<br />
-- Goto (macro-dialout-trunk,s-CONGESTION,1)<br />
-- Executing NoOp("SIP/9627932-96e1", "Dial failed due to CONGESTION") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "outisbusy") in new stack<br />
-- Executing Playback("SIP/9627932-96e1", "allison7/all-circuits-busy-now") in new stack<br />
-- Playing 'allison7/all-circuits-busy-now' (language 'en')<br />
-- Executing Playback("SIP/9627932-96e1", "allison7/pls-try-call-later") in new stack<br />
-- Playing 'allison7/pls-try-call-later' (language 'en')<br />
-- Executing Macro("SIP/9627932-96e1", "hangupcall") in new stack<br />
-- Executing ResetCDR("SIP/9627932-96e1", "w") in new stack<br />
-- Executing NoCDR("SIP/9627932-96e1", "") in new stack<br />
-- Executing Wait("SIP/9627932-96e1", "5") in new stack<br />
-- Executing Hangup("SIP/9627932-96e1", "") in new stack<br />
</pre><br />
<br />
<br />
<br />
This is the log (/etc/log/asterisk/full) when i call my sipgate number from my cell phone<br />
<br />
<pre><br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Allocating new SIP dialog for 203858ad3dfce9881ac7c7155bee5404@217.10.66.71 - INVITE (With RTP)<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Setting NAT on RTP to 524288<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Checking SIP call limits for device 9627932<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: build_route: Record-Route hop: <sip:217.116.119.252;lr=on><br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: build_route: Record-Route hop: <sip:217.10.79.8;ftag=as032821cf;lr=on><br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "dialout-trunk|2|627932|") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?3:2)") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-dialout-trunk,s,3)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "user-callerid") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "AMPUSER=DEVICE/9627932/user") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_db.c: This application has been deprecated, please use the ${DB(family/key)} function instead.<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=AMPUSER, family=DEVICE, key=9627932/user<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/user' in family 'DEVICE'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '/cidname' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?5") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-user-callerid,s,5)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "Using CallerID "069915324714" <9627932>") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "record-enable|9627932|OUT") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Function result is '0'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "0 > 0?2:4") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-record-enable,s,4)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'AGI'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing AGI("SIP/9627932-f491", "recordingcheck|20070107-154355|asterisk-14485-1168181035.0") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br />
Jan 7 15:43:55 DEBUG[15662] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/recording' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: recordingcheck|20070107-154355|asterisk-14485-1168181035.0: Outbound recording not enabled<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- AGI Script recordingcheck completed, returning 0<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "No recording needed") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "outbound-callerid|2") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?3") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-outbound-callerid,s,3)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "USEROUTCID=AMPUSER/9627932/outboundcid") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=USEROUTCID, family=AMPUSER, key=9627932/outboundcid<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/outboundcid' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?6") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-outbound-callerid,s,6)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "CallerID set to "069915324714" <9627932>") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetGroup'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetGroup("SIP/9627932-f491", "OUT_2") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: The SetGroup application has been deprecated, please use the GROUP() function.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'CheckGroup'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing CheckGroup("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: The CheckGroup application has been deprecated, please use a combination of the GotoIf application and the GROUP_COUNT() function.<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: CheckGroup requires an argument(max[@category][|options])<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "DIAL_NUMBER=627932") in new stack<br />
Jan 7 15:43:55 WARNING[15661] pbx.c: SetVar is deprecated, please use Set instead.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "DIAL_TRUNK=2") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'AGI'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing AGI("SIP/9627932-f491", "fixlocalprefix") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- AGI Script fixlocalprefix completed, returning 0<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "OUTNUM=627932") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Cut'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Cut("SIP/9627932-f491", "custom=OUT_2|:|1") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_cut.c: The application Cut is deprecated. Please use the CUT() function instead.<br />
Jan 7 15:43:55 WARNING[15661] ast_expr2.y: non-numeric argument<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '0'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "0?16") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Not taking any branch<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Dial'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Dial("SIP/9627932-f491", "SIP/sipgate/627932") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Allocating new SIP dialog for (No Call-ID) - INVITE (With RTP)<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Setting NAT on RTP to 524288<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-14.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_DEPTH.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-13.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable custom.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-12.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable OUTNUM.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-11.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-10.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DIAL_TRUNK.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-9.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DIAL_NUMBER.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-8.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-7.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable GROUP.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-6.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_PRIORITY.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_CONTEXT.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_EXTEN.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-6.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DBGETSTATUS.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG2.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-2.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-from-internal-9627932-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPCALLID.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPUSERAGENT.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPDOMAIN.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPURI.<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Outgoing Call for 627932<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Called sipgate/627932<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/sipgate-2324 to read format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to read format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/sipgate-2324 to write format alaw<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Acked pending invite 102<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Stopping retransmission on '5eadbba35f58de8346e2df7e4868c51d@sipgate.at' of Request 102: Match Found<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- SIP/sipgate-2324 is circuit-busy<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Hanging up channel 'SIP/sipgate-2324'<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Hangup call SIP/sipgate-2324, SIP callid 5eadbba35f58de8346e2df7e4868c51d@sipgate.at)<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: update_call_counter(627932) - decrement call limit counter<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: == Everyone is busy/congested at this time (1:0/1/0)<br />
Jan 7 15:43:55 DEBUG[15661] app_dial.c: Exiting with DIALSTATUS=CONGESTION.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Goto'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Goto("SIP/9627932-f491", "s-CONGESTION|1") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "Dial failed due to CONGESTION") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "outisbusy") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Playback'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Playback("SIP/9627932-f491", "allison7/all-circuits-busy-now") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: sip_answer(SIP/9627932-f491)<br />
Jan 7 15:43:55 DEBUG[15669] app_queue.c: Device 'SIP/sipgate' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15670] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format gsm<br />
Jan 7 15:43:55 DEBUG[15661] rtp.c: Ooh, format changed from unknown to alaw<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Playing 'allison7/all-circuits-busy-now' (language 'en')<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Stopping retransmission on '203858ad3dfce9881ac7c7155bee5404@217.10.66.71' of Response 102: Match Found<br />
Jan 7 15:43:57 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:57 DEBUG[15661] pbx.c: Launching 'Playback'<br />
Jan 7 15:43:57 VERBOSE[15661] logger.c: -- Executing Playback("SIP/9627932-f491", "allison7/pls-try-call-later") in new stack<br />
Jan 7 15:43:57 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format gsm<br />
Jan 7 15:43:57 VERBOSE[15661] logger.c: -- Playing 'allison7/pls-try-call-later' (language 'en')<br />
Jan 7 15:43:59 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "hangupcall") in new stack<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'ResetCDR'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing ResetCDR("SIP/9627932-f491", "w") in new stack<br />
Jan 7 15:43:59 DEBUG[15661] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.<br />
Jan 7 15:43:59 DEBUG[15661] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-01-07 15:43:55','\"069915324714\" <9627932>','9627932','9627932','from-internal', 'SIP/9627932-f491','SIP/sipgate-2324','ResetCDR','w',4,4,'ANSWERED',3,'')<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '"069915324714" <9627932>'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '9627932'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '9627932'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'from-internal'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'SIP/9627932-f491'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'SIP/sipgate-2324'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'ResetCDR'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'w'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:55'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:55'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:59'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '4'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '4'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'ANSWERED'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'DOCUMENTATION'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '(null)'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'asterisk-14485-1168181035.0'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '(null)'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'NoCDR'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing NoCDR("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:43:59 WARNING[15661] cdr.c: CDR on channel 'SIP/9627932-f491' not posted<br />
Jan 7 15:43:59 WARNING[15661] cdr.c: CDR on channel 'SIP/9627932-f491' lacks end<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'Wait'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing Wait("SIP/9627932-f491", "5") in new stack<br />
Jan 7 15:44:04 DEBUG[15661] pbx.c: Launching 'Hangup'<br />
Jan 7 15:44:04 VERBOSE[15661] logger.c: -- Executing Hangup("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:44:04 DEBUG[15661] app_macro.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491' in macro 'hangupcall'<br />
Jan 7 15:44:04 DEBUG[15661] app_macro.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491' in macro 'outisbusy'<br />
Jan 7 15:44:04 DEBUG[15661] pbx.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491'<br />
Jan 7 15:44:04 DEBUG[15661] channel.c: Hanging up channel 'SIP/9627932-f491'<br />
Jan 7 15:44:04 DEBUG[15661] chan_sip.c: Hangup call SIP/9627932-f491, SIP callid 203858ad3dfce9881ac7c7155bee5404@217.10.66.71)<br />
Jan 7 15:44:04 DEBUG[15661] chan_sip.c: update_call_counter(9627932) - decrement call limit counter<br />
Jan 7 15:44:04 DEBUG[15985] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:44:04 DEBUG[14531] chan_sip.c: Stopping retransmission on '203858ad3dfce9881ac7c7155bee5404@217.10.66.71' of Request 102: Match Found<br />
</pre><br />
[[Category: Tutorials]]<br />
[[Category: Telecom]]<br />
[[Category: Phone Lines]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Category:Phone_Lines&diff=6630Category:Phone Lines2007-10-12T07:26:36Z<p>Chewi: </p>
<hr />
<div>Phone Lines as defined within the pluto-admin...<br />
<br />
Refers to connections that go from the asterisk-PBX to the outside world. e.g. sip-provider, ...</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=6604User talk:Chewi2007-10-11T08:28:42Z<p>Chewi: /* The Audio Stuff */</p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
:''The playlists interface could probably use some polishing indeed, I haven't played with it that much but I have ran into the same problem, the web-admin has some options for that too but again I haven't put much time into that either.''<br />
:''I have hardly looked at thumbnails at all, for the few CDs I tried it did seem to put the covers up when you sort by album (iirc). And you should be able to select a different format (like mp3 or flac) for the ripped tracks in the webmin.''<br />
:''Streaming would probably be a nice feature, there are people looking into integrating video-streaming possibilies already, see the forum for the discussion.''<br />
:--[[User:Zaerc|Zaerc]] 07:09, 7 October 2007 (MST)<br />
<br />
Another interessting part would be, to have the lyriks somewhat similar to gmpc. as linuxmce is inteded to be always onscreen, that would be something to fill the screen with, besides artist-pic and cover-art...<br />
<br />
speeking of which, why is the coverart not displayed at all, when playing a song ?<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
:''You may want to try "from-pstn" instead of "from-trunk" (which could create a loop I think). And you can do a lot more setup from the integrated AMP website (web-admin: Advanced > Configuration > Phones setup) it has more options to setup call routing and a second line.'' <br />
:--[[User:Zaerc|Zaerc]] 09:09, 7 October 2007 (MST)<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.</div>Chewihttp://wiki.linuxmce.org/index.php?title=User_talk:Chewi&diff=6446User talk:Chewi2007-10-05T15:20:29Z<p>Chewi: </p>
<hr />
<div>Ok, this is my personal page, where I will put my own ideas, that come to my mind when playing around with LinuxMCE...<br />
<br />
Please don't tell me where to write what into what wiki-page. This is just my notespad, for you to enjoy if you want... ;)<br />
<br />
You are welcome to leave your comments, but please write then italic and sign them...<br />
<br />
<br />
== The MythTV-System ==<br />
Looks quite nice, but for some reason, the startup does not work properly...<br />
<br />
It seems to me, that the time it take to tune to LiveTV with my DVB-T-USB-Receiver is too long. If there is no other way to work without a timeout, maybe the timeout should be increased or set as a variable within pluto-admin, so users with issues can set it.<br />
<br />
<br />
== The Audio Stuff ==<br />
The Audio Stuff kind of sucks. The most essential thing about audio is playlists and feeding them. <br />
<br />
And feeding playlists does not really work, because LMCE always jumps to the newly added entry. I found out so far, that the xine.h only offers an open_media function, I'll have to check qxinewidget from the kaffeine-player to see, how they do things. So there would have to be additional work to be done to add the enqueue-button. Additionally i sometimes would like to enqueue a whole folder; that button would have to be created as well...<br />
<br />
next the thumbnails are bad. they have to be set for every single file. I want to be able to set them folder-(which in my case are albums)-wise...<br />
<br />
Next comes ripping of cds... i don't want to have oggs. My car-hifi doesn't play oggs... LMCE uses dvdcss2, it can as well use lame-mp3.<br />
<br />
So with all this to be done, i'm thinking if it might be a good idea to use music-player-deamon as a backend. it is very easy to interface with, it can be set remotely (e.g. web interface, as with mythweb), and it can issue a shoutcast-stream, so i could listen to my music from work, without installing anything on the computer there.<br />
The cover-art and even artist-art in gmpc as well as one of the web-interfaces is working very well. i would guess, that code could be borrowed.<br />
<br />
<br />
== Asterisk ==<br />
Well i allready put the problem with the from-internal to from-trunk change to the wiki<br />
<br />
additionally i had to set some stuff, to get asterisk going.<br />
<br />
i created a /etc/asterisk/sip_nat.conf with<br />
<pre>externip=myhost.dyndns.org<br />
externhost=myhost.dyndns.org<br />
externrefresh=5<br />
localnet=192.168.80.0/255.255.255.0</pre><br />
as well as set this stuff in /etc/asterisk/extensions.conf to receive direct calls to me<br />
<pre>[from-sip-external]<br />
;enable direct sip calls<br />
include => from-trunk</pre><br />
<br />
The call routing does not seem to be too intuitive as well, or buggy... I still can't seem to have it working the way i want...<br />
<br />
Additionally, it would be nice to be able to assign a certain number to a certain user as well as certain phones to certain users. <br />
<br />
Usecase: I live with my girlfriend and we would like to use different numbers, as you only pay for what you phone out on sipgate, so get a number for each of you. and if it rings 10 times on my number, people are asked to either leave me a message or call my girl. that would be nice routing...<br />
<br />
Usecase: I have a cellphone that is sip-ready. So on this cell there should only be calls coming in, intended for me, user_1, not for user_2.<br />
<br />
To really have the LMCE-Phone-System be compeditive, these things have to be addressed, i think.<br />
<br />
Why does pluto-admin only allow me to define one phone line ? see 1st usecase above...<br />
<br />
<br />
== Sources ==<br />
To be able to address these issues, i need the current sources... But I still haven't found out, where to get them. Maybe I'll just download the tar.gz.torrent and see where that leads. <br />
<br />
I might start a svn with my patches. But should i make it private or public ?<br />
<br />
But what is the thing about this sqlcvs ? how does it work ? does it really sychronize currently ? even webpaul didn't know...<br />
<br />
== Home Automation ==<br />
What should it be ? There is no ZWave in germany and it is too expensive. EIB is even more expensive, i'm a poor student.<br />
<br />
FS20 seems not to work correctly, according to another user...<br />
<br />
<br />
== Pictures ==<br />
Why are pictures recognized by LMCE at all ? It's useless. You cannot set them as Background-Slideshow. That's always Flickr...<br />
<br />
You cannot build custom slideshows. You cannot rotate pictures... No auto-mount and transfer from a camera... Not even a possibility to watch them fullscreen... it would've been so easy.<br />
<br />
Then there is tagging... It's always a pain in the ass, but esecially with pictures there needs to be a nice and easy way to tag e.g. the people visible. or give tags for quality and privacy. I don't want my beach-pictures to be shown at a party-slide-show. <br />
<br />
Predefinable Tags, like Cheackbuttons onscreen... If they are halfway transparent, they could be on top of the picture. Kind of a tagging-mode. And then have a tag-slide-show... Show everything in folder /public/pictures/2004/10 with the tag "nice landscape". That would be nice for parties.<br />
<br />
== Camera ==<br />
I want to have recordings from the camera whenever motion is detected. If someone breakes in, i want to give the police a picture and video of the intrudor. best to be streamed to a web-destination. uploaded on the fly in 1minute-files. and a continuous on the hard-disk.</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Nokia_770&diff=6219Talk:Nokia 7702007-10-01T08:41:37Z<p>Chewi: Not a phone</p>
<hr />
<div>== WIP Link ==<br />
There is an experimental package working for the N770<br />
<br />
(http://smart-home-blog.com/archives/751)<br />
<br />
I suggest to change the page to reflect the wip<br />
<br />
Sincerely,<br />
<br />
# cool<br />
<br />
== Not a phone ==<br />
<br />
I would say, that this article as well as the Building Nokia 770 and N800 are wrong in the Phones-Cathegorie as they are not phones and don't have any Phones-Capabilities. They are typically held in web-pads-cathegorie e.g. in amazon and ebay. --[[User:Chewi|Chewi]] 01:41, 1 October 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5846Talk:Serial Hack2007-09-27T16:48:54Z<p>Chewi: /* Comment about better solutions by AVJohn */</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]<br />
<br />
== Comment about better solutions by AVJohn ==<br />
<br />
I would suggest, that we leave the comment about finding better versions in there.<br />
The reason is that the article describes a hack and AVJohn says in his article that the new script is inferior to the original script.<br />
So the request for other/better solutions is an important notice to<br />
<br />
A) let people know it is only a hack<br />
<br />
B) remind others that have acomplished it a different way to add their version<br />
<br />
C) make other Developers make a "more undirty" workaround<br />
<br />
D) remind actual LMCE-Developers (no offence to AVJohn) to provide an improvement/update that makes the hack unnessasary.<br />
<br />
So I endorse to go back to the previous version for those reasons. Feel free to add your oppinions.<br />
<br />
Best regards, --[[User:Chewi|Chewi]] 07:00, 27 September 2007 (MST)<br />
<br />
<br />
The discussion belongs here IMO. Otherwise it grows out of control into a forum. Not that there's anything wrong with the discussion, but it just doesn't belong on the main page. Think about it from the point of view of someone who just wants to know the best way right now. They don't want to wade through a lot of discussion text to get the answer.<br />
<br />
A) they should know it's a hack by the title<br />
B) someone who's already accomplished it probably either 1) wants to edit the wiki with their knowledge 2) is just checking out how wiki recommends it. The mere fact that it's a wiki is enough encouragement IMO.<br />
C) okay, but they don't want to wade through a pile of blogs to see the best result. They only would want to see the best result (the wiki page) and compare it to what they have in mind.<br />
D) same as C)<br />
[[User:Trout|Trout]] 07:43, 27 September 2007 (MST)<br />
<br />
:''(Never said anything on the main-page ???)'' Basically, you're right with all of your points. But I still think that the extra-encouragement here would be a good thing, as a wiki-page without a comments-section feels like a final statement and feels like allowing editing only by "the inner circle", which is not the case here. This needs the extra-input. This is at least how I feel about wikis. Therefore, I stay with my recommendation. Regards--[[User:Chewi|Chewi]] 08:06, 27 September 2007 (MST)<br />
<br />
::''(I never said anything about main-page either.)'' I said "main page" e.g. There is a main page for every article (the link is labeled 'article') and there is a discussion for every article. That's what I was referring to. I will try to use 'article' now. You can have your opinion about "the inner circle" concept, but I don't feel that way. Also I believe that others know how to use a wiki and that the expectation is user participation. Also, you havn't said anything about the mess it'll make or how to prevent a flame war on the article instead of where it belongs (the discussion) [[User:Trout|Trout]] 08:23, 27 September 2007 (MST)<br />
<br />
:::Ok, that must have been a missunderstanding. Of course I think that discussions about the article itself belong here, just as we are having it now. And I don't want to move that part to the main page. Just for short annotations an area on the mail-article-page ;) is what I prefer. And an area for comments and annotations that does not serve as a forum or discussion-replacement, does not support flame wars. Those can happen everywhere, but I don't see why they should happen here in particular.<br />
<br />
:::I'm still not convinced, but it is not up to me. Let's see, if there are additional oppinions on this. Until then, lets leave it as it is right now, without comments. Best regards --[[User:Chewi|Chewi]] 09:48, 27 September 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5843Talk:Serial Hack2007-09-27T15:06:19Z<p>Chewi: /* Comment about better solutions by AVJohn */</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]<br />
<br />
== Comment about better solutions by AVJohn ==<br />
<br />
I would suggest, that we leave the comment about finding better versions in there.<br />
The reason is that the article describes a hack and AVJohn says in his article that the new script is inferior to the original script.<br />
So the request for other/better solutions is an important notice to<br />
<br />
A) let people know it is only a hack<br />
<br />
B) remind others that have acomplished it a different way to add their version<br />
<br />
C) make other Developers make a "more undirty" workaround<br />
<br />
D) remind actual LMCE-Developers (no offence to AVJohn) to provide an improvement/update that makes the hack unnessasary.<br />
<br />
So I endorse to go back to the previous version for those reasons. Feel free to add your oppinions.<br />
<br />
Best regards, --[[User:Chewi|Chewi]] 07:00, 27 September 2007 (MST)<br />
<br />
<br />
The discussion belongs here IMO. Otherwise it grows out of control into a forum. Not that there's anything wrong with the discussion, but it just doesn't belong on the main page. Think about it from the point of view of someone who just wants to know the best way right now. They don't want to wade through a lot of discussion text to get the answer.<br />
<br />
A) they should know it's a hack by the title<br />
B) someone who's already accomplished it probably either 1) wants to edit the wiki with their knowledge 2) is just checking out how wiki recommends it. The mere fact that it's a wiki is enough encouragement IMO.<br />
C) okay, but they don't want to wade through a pile of blogs to see the best result. They only would want to see the best result (the wiki page) and compare it to what they have in mind.<br />
D) same as C)<br />
[[User:Trout|Trout]] 07:43, 27 September 2007 (MST)<br />
<br />
:''(Never said anything on the main-page ???)'' Basically, you're right with all of your points. But I still think that the extra-encouragement here would be a good thing, as a wiki-page without a comments-section feels like a final statement and feels like allowing editing only by "the inner circle", which is not the case here. This needs the extra-input. This is at least how I feel about wikis. Therefore, I stay with my recommendation. Regards--[[User:Chewi|Chewi]] 08:06, 27 September 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Display_Drivers&diff=5842Display Drivers2007-09-27T14:57:13Z<p>Chewi: /* Troubleshooting */</p>
<hr />
<div>An incomplete HowTo on updating LinuxMCE to the latest display drivers and configuring them manually. It could use your help, so if something is different in your situation, please add it.<br />
<br />
'''Note that this should normally not be necessary unless you have specific wishes or trouble getting your display to work properly.''' <br />
<br />
== Installation ==<br />
<br />
=== ATI Chipsets ===<br />
The two main ways to install the ATI drivers are described in the [http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide Ubuntu Feisty Installation Guide].<br />
<br />
For more information see also the [http://wiki.cchtml.com/index.php/Main_Page Unofficial ATI Linux Driver Wiki] and you might want to have a look at [http://www.mythtv.org/wiki/index.php/AtiProprietaryDriver AtiProprietaryDriver] in the MythTV wiki as well since LinuxMCE depends on it for viewing TV. MythTV in turn relies heavily on the support of certain features by the graphics drivers. The ATI drivers turn out to be a bit "challenged" in this area to say the least.<br />
<br />
=== NVidia Chipsets ===<br />
There are several ways to install NVidia drivers, the way described here is meant as a guide to install the very latest drivers from the NVidia website. Note that this way will bypass the LinuxMCE (Kubuntu) packaging system, possibly removing and/or overwriting some of it's files.<br />
<br />
1. Go to a console (text) terminal by holding [CTRL]-[ALT] and pressing the [F1] key simultaneously, log in with the user account you have created during the Kubuntu install and become root, if you haven't done so already. <br />
'''<you>@dcerouter:~$''' sudo -s<br />
2. Download the latest [http://www.nvidia.com/object/unix.html linux drivers from NVidia] (depending [http://www.nvidia.com/object/IO_32667.html on your hardware], one of versions: 100.14.11, 1.0-9639 or 1.0-7185 currently), if you haven't done so already.<br />
'''root@dcerouter:~#''' wget <nowiki>http://us.download.nvidia.com/XFree86/Linux-x86/100.14.11/NVIDIA-Linux-x86-</nowiki>''<version>''<nowiki>-pkg1.run</nowiki><br />
3. Go to runlevel 1 to stop the currently running X-server.<br />
'''root@dcerouter:~#''' telinit 1<br />
4. Execute the installer and follow instructions. Ignore the warning about runlevel 1 and don't bother looking for precompiled drivers.<br />
'''root@dcerouter:~#''' sh NVIDIA-Linux-x86-''<version>''-pkg1.run<br />
5. Now it needs to be configured. The recommended and most convenient way is to use the [[AVWizard]]. For more advanced setup, or if the AVWizard for some reason is unable to set your up your screens to your liking, you can configure the ''X-server'' manually by editing the ''xorg.conf'' file directly.<br />
<br />
=== Intel Chipsets ===<br />
There is a renewed interest in the Intel graphics chipsets since Intel released the drivers under the GPL. However, they're still not at the same level as nVidia's and can't do alpha blending.<br />
<br />
=== Via Chipsets ===<br />
Use the Openchrome or Via Unichrome drivers. The Via Unichrome drivers can be downloaded from http://www.viaarena.com/default.aspx?PageID=2&OSID=45&CatID=3220<br />
<br />
=== Other Chipsets ===<br />
Please help out by adding more if you can.<br />
<br />
== Configuration ==<br />
The recommended and most convenient way is to use the [[AVWizard]]. For more advanced setup, or if the X-server (and thus also the AVWizard) is unable to start, you can configure the ''X-server'' manually by editing the ''xorg.conf'' file directly.<br />
<br />
=== Getting started ===<br />
Start by making a backup copy of the ''/etc/X11/xorg.conf'' file (even if it doesn't work it might contain settings you could need). In this example we will start from scratch and edit the configuration file step by step to get the main display setup. <br />
<br />
Some of these steps require that there will be no X-server active on the system, the easiest way to achieve this is to boot in ''rescue-mode'', just hit [Esc] when [[Grub]] tells you to during the startup of your machine and select the right line from the menu. Another way is to go to a text-mode console (aka. terminal) with [CTRL]-[ALT]-[F1], log in, become root and issue the command:<br />
telinit 1<br />
This wil stop the running X-server and drop you into rescue mode as well. <br />
<br />
One of the advantages is that now you can start and stop the X-server by hand with an alternative configuration file and without having to reboot or even start an entire desktop environment.<br />
<br />
=== Generating a template ===<br />
These instructions were originally written for ATI chipsets, so they might need to be adjusted and updated a bit. Not all of the specific options may be relevant for your chipset. <br />
<br />
'''While there is no (other) X-server running''' you can create a template configuration file by running:<br />
X -configure<br />
This will create a file called xorg.conf.new in your ''home'' directory, test it with the following command and hit [CTRL]-[ALT]-[Backspace] when done:<br />
X -config ~/xorg.conf.new<br />
Within a few seconds a gray bitpattern should show up with an 'X' shaped mouse cursor. If the screen is distorted or reports the refresh rate to be out of range then you will either have to specify the proper refreshrate limitations for your screen or insert "modelines" for the resolution(s) you want to use (see below). <br />
<br />
When you're satisfied you can overwrite ''/etc/X11/xorg.conf'' with this file to make it the default (you did make a backup didn't you?), once you have done that you can use "startx" to test and have the use of your desktop as well. This should at least be enough to allow the use of a graphic configuration tool (like the [[AVWizard]] for instance) to set up your display further. More advanced manual configuration options can be found below.<br />
<br />
Here is an example of such a generated file:<br />
<br />
Section "ServerLayout"<br />
Identifier "X.org Configured"<br />
Screen 0 "Screen0" 0 0<br />
InputDevice "Mouse0" "CorePointer"<br />
InputDevice "Keyboard0" "CoreKeyboard"<br />
EndSection<br />
<br />
Section "Files"<br />
RgbPath "/etc/X11/rgb"<br />
ModulePath "/usr/lib/xorg/modules"<br />
FontPath "/usr/share/fonts/X11/misc"<br />
FontPath "/usr/X11R6/lib/X11/fonts/misc"<br />
FontPath "/usr/share/fonts/X11/cyrillic"<br />
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"<br />
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"<br />
FontPath "/usr/share/fonts/X11/Type1"<br />
FontPath "/usr/X11R6/lib/X11/fonts/Type1"<br />
FontPath "/usr/share/fonts/X11/100dpi"<br />
FontPath "/usr/share/fonts/X11/75dpi"<br />
FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"<br />
EndSection<br />
<br />
Section "Module"<br />
Load "extmod"<br />
Load "record"<br />
Load "xtrap"<br />
Load "dri"<br />
Load "glx"<br />
Load "dbe"<br />
Load "GLcore"<br />
Load "type1"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Keyboard0"<br />
Driver "kbd"<br />
EndSection<br />
<br />
Section "InputDevice"<br />
Identifier "Mouse0"<br />
Driver "mouse"<br />
Option "Protocol" "auto"<br />
Option "Device" "/dev/input/mice"<br />
Option "ZAxisMapping" "4 5 6 7"<br />
EndSection<br />
<br />
Section "Monitor"<br />
Identifier "Monitor0"<br />
VendorName "Monitor Vendor"<br />
ModelName "Monitor Model"<br />
EndSection<br />
<br />
Section "Device"<br />
### Available Driver options are:-<br />
### Values: &lt;i&gt;: integer, <f>: float, <bool>: "True"/"False",<br />
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"<br />
### [arg]: arg optional<br />
#Option "ShadowFB" # [<bool>]<br />
#Option "DefaultRefresh" # [<bool>]<br />
#Option "ModeSetClearScreen" # [<bool>]<br />
Identifier "Card0"<br />
Driver "vesa"<br />
''VendorName "ATI Technologies Inc"''<br />
''BoardName "ATI Radeon Xpress 1200 Series"''<br />
''BusID '''"PCI:1:5:0"'''''<br />
EndSection<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 1<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 4<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 8<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 15<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 16<br />
EndSubSection<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
EndSubSection<br />
EndSection<br />
<br />
Note that the only thing really specific to my setup in this config file is ''BusID'', if you only have one graphics adapter in your system this value can be omitted, otherwise the value(s) can be found with:<br />
X -scanpci<br />
Where each card will need it's own Device Section in the config file. The "VendorName" and "BoardName" settings are just labels and serve no real purpose other then being able to identify this particular device, which is usefull if you have more then one.<br />
<br />
We'll be using this sample configuration as a starting point in the other examples below, the comments (lines starting with ''#'' can be safely removed as well as the ''"Display"'' subsections for the colordepths we don't plan on using.<br />
<br />
=== Refresh rate / ModeLine ===<br />
The easiest way to sort this problem is to let the X-server figure this out by not specifying the limits of your screen. However this often fails, leaving you with an unusable display. Simply look up '''your screen''''s refresh rates in the documentation and add them like this:<br />
<br />
Section "Monitor"<br />
Identifier "Monitor0"<br />
VendorName "Monitor Vendor"<br />
ModelName "Monitor Model"<br />
''HorizSync '''27-102''' # kHz''<br />
''VertRefresh '''50-160''' # Hz''<br />
EndSection<br />
<br />
Alternatively you could specify a "ModeLine" for each resolution you want to use. By using ModeLines you have much finer controll over the timings of the output signal generated by your videocard. The drawback is that the timing values can be hard to get right. <br />
<br />
Search the web for a "modeline generator", and many of these will include instructions on how to add the modeline, but briefly, you just add it to the "Monitor" section. Read the [http://en.wikipedia.org/wiki/Modeline wikipedia entry] to learn how to use modelines. <br />
* http://koala.ilog.fr/cgi-bin/nph-colas-modelines<br />
* http://xtiming.sourceforge.net/cgi-bin/xtiming.pl<br />
* http://www.bohne-lang.de/spec/linux/modeline/<br />
* http://amlc.berlios.de/<br />
If one modeline doesn't work perfectly, try another, perhaps from another generator, because they can vary so much.<br />
<br />
Using the wrong timings could in some (nowadays rare) occasions damage the hardware of your screen, so if it looks garbeled don't leave it like that for hours on end but hit [Ctrl]-[Alt]-[&larr;Backspace] and readjust your settings. Most modern screens however simply report that the signal is out of range if this happens.<br />
<br />
=== Colordepth and resolution ===<br />
Specify the colordepth and resolution(s) you would like to use, like this:<br />
<br />
Section "Screen"<br />
Identifier "Screen0"<br />
Device "Card0"<br />
Monitor "Monitor0"<br />
''DefaultDepth '''24'''''<br />
SubSection "Display"<br />
Viewport 0 0<br />
Depth 24<br />
''Virtual '''1600 1200'''''<br />
''Modes '''"1600x1200" "1280x1024" "1024x768" "800x600" "640x480" "512x384" "400x300" "320x240"'''''<br />
EndSubSection<br />
EndSection<br />
<br />
As most people will only be using 24 bits anyway, I have removed the other redundant subsections. "Virtual" is the size of your desktop and "Modes" are physical resolutions, you can flip through these by holding [CTRL]-[ALT] and pressing the plus or minus on the numeric keypad. These are just examples, most people will only want to specify the resolution they actually use.<br />
<br />
=== DRI device permissions ===<br />
This section is needed to have the X-server set the proper permissions on the DRI device during startup. Simply add it to the end of the /etx/X11.xorg file if it isn't there already.<br />
<br />
Section "DRI"<br />
Mode 0666<br />
EndSection<br />
<br />
=== Chipset driver ===<br />
Change "'''vesa'''" to "'''fglrx'''" (or "'''ati'''", depending on which drivers you installed earlier), as shown below, the old line is left as a comment in this example for clarity, but it's better to remove it as some scripts seem to find it confusing. For Nvidia chipsets use '''nvidia''' or '''nv''' as the driver names (instead of '''fglrx''').<br />
<br />
Section "Device"<br />
Identifier "Card0"<br />
''# Driver "'''vesa'''"''<br />
''Driver "'''fglrx'''"''<br />
VendorName "ATI Technologies Inc"<br />
BoardName "ATI Radeon Xpress 1200 Series"<br />
BusID "PCI:1:5:0"<br />
EndSection<br />
<br />
If your X-server was running you will have to restart it completely for the changes to take effect, the easiest and most thorough way to do this is to reboot.<br />
<br />
=== Physical display size ===<br />
Like specifying the refresh rate his is optional but sometimes necessary, most of the time it is either detected or some sane defaults are used but sometimes it isn't, which can result in unreadable font sizes.<br />
<br />
Section "Monitor"<br />
...<br />
DisplaySize '''155 95'''<br />
EndSection<br />
<br />
Where you have to replace the numbers with the physical '''width''' and '''height''' of your screen in millimeters (1" = 25mm), feel free to try mine, however these are for a small touchscreen.<br />
<br />
=== Disable composite ===<br />
Aparently the ATI '''fglrx''' driver does not ''yet'' support composite with DRI. So if you are using the fglrx driver, disable it by adding this to the end of the /etx/X11.xorg file if it isn't there already.<br />
<br />
Section "Extensions"<br />
Option "Composite" "Disable"<br />
EndSection<br />
<br />
=== Additional options ===<br />
To be continued, I don't think this is enough to get UI2 completely (either mode) going yet. Feel free to jump in anytime... <br />
<br />
<br />
Things still to sort out amongst others (i.e. what is it, do we need it and what are the settings if any):<br />
<br />
Section "Module"<br />
Load "i2c"<br />
Load "bitmap"<br />
Load "ddc"<br />
Load "freetype"<br />
Load "int10"<br />
Load "vbe"<br />
Load "speedo"<br />
Load "type1"<br />
Load "dbe"<br />
Load "glx"<br />
Load "v4l"<br />
EndSection<br />
<br />
Section "ServerFlags"<br />
Option "AIXGL" "off"<br />
EndSection<br />
<br />
Section "Extensions"<br />
Option "Composite" "Disable"<br />
# Option "RENDER" "true"<br />
EndSection<br />
<br />
Option "PseudoColorVisuals" "off"<br />
Option "OpenGLOverlay" "off"<br />
Option "VideoOverlay" "off"<br />
Option "DesktopSetup" "clone"<br />
<br />
TV-out options, 2nd display, etc.<br />
<br />
<br />
== Troubleshooting ==<br />
<br />
=== X-windows won't start for AVWizard ===<br />
<br />
One problem on nvidia-cards could be that it does not detect the right monitor.<br />
<br />
Go to Console 1 ([Ctrl]+[Alt]+1) and edit /etc/X11/xorg.conf (nano -w /etc/X11/xorg.conf). Find the section Device with the driver nvidia add the line <pre>Option "ConnectedMonitor" "XXX"<br />
where XXX is CRT, CRT-0, CRT-1, DVI-0, DVI-1, ...</pre><br />
Save and exit (nano: Ctrl+x) and restart the computer. In my case it was "CRT-1".<br />
<br />
=== X-windows won't start ===<br />
<br />
Reboot into rescue-mode if needed (hit [Esc] when [[Grub]] tells you to), and restore a working copy of your /etc/X11/xorg.conf, or edit it by hand to fix the problem. Test it with the command "X" and press [Ctrl]-[Alt]-[&larr;Backspace] simultaneous to quit (alternative: use "startx" and get the full desktop, if any), then reboot when it works and you're done.<br />
<br />
=== Signal out of range ===<br />
<br />
See ''[http://wiki.linuxmce.com/index.php/Display_Drivers#Refresh_rate Refresh rate]'' above.<br />
<br />
=== Microscopic fonts in KDE ===<br />
<br />
See ''[http://wiki.linuxmce.com/index.php/Display_Drivers#Physical_display_size Physical display size]'' above.<br />
<br />
== See also ==<br />
* [http://www.mythtv.org/wiki/index.php/Main_Page MythTV wiki] <br />
* MythTV Experience [http://brentlagesse.net/~brent/mythtv.php]<br />
* [[X_Configuration_Scripts]]<br />
<br />
<br />
[[Category: Tutorials]]<br />
[[Category: Hardware]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5840Talk:Serial Hack2007-09-27T14:00:59Z<p>Chewi: /* Comment about better solutions by AVJohn */</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]<br />
<br />
== Comment about better solutions by AVJohn ==<br />
<br />
I would suggest, that we leave the comment about finding better versions in there.<br />
The reason is that the article describes a hack and AVJohn says in his article that the new script is inferior to the original script.<br />
So the request for other/better solutions is an important notice to<br />
<br />
A) let people know it is only a hack<br />
<br />
B) remind others that have acomplished it a different way to add their version<br />
<br />
C) make other Developers make a "more undirty" workaround<br />
<br />
D) remind actual LMCE-Developers (no offence to AVJohn) to provide an improvement/update that makes the hack unnessasary.<br />
<br />
So I endorse to go back to the previous version for those reasons. Feel free to add your oppinions.<br />
<br />
Best regards, --[[User:Chewi|Chewi]] 07:00, 27 September 2007 (MST)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5839Talk:Serial Hack2007-09-27T14:00:38Z<p>Chewi: Comment about better solutions by AVJohn</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]<br />
<br />
== Comment about better solutions by AVJohn ==<br />
<br />
I would suggest, that we leave the comment about finding better versions in there.<br />
The reason is that the article describes a hack and AVJohn says in his article that the new script is inferior to the original script.<br />
So the request for other/better solutions is an important notice to<br />
<br />
A) let people know it is only a hack<br />
<br />
B) remind others that have acomplished it a different way to add their version<br />
<br />
C) make other Developers make a "more undirty" workaround<br />
<br />
D) remind actual LMCE-Developers (no offence to AVJohn) to provide an improvement/update that makes the hack unnessasary.<br />
<br />
So I endorse to go back to the previous version for those reasons. Feel free to add your oppinions.<br />
<br />
Best regards, Chewi</div>Chewihttp://wiki.linuxmce.org/index.php?title=LinuxMCE:Community_Portal:Category_Proposal&diff=5837LinuxMCE:Community Portal:Category Proposal2007-09-27T12:50:27Z<p>Chewi: </p>
<hr />
<div>I've created this page to make a proposal of how to setup the categories for the wiki. Feel free to add/edit/comment.<br />
<br />
*Computer Hardware<br />
**Motherboards <br />
**Graphic Cards<br />
**Sound Cards<br />
**TV-cards <br />
**Keyboards<br />
**Mice<br />
**Remotes<br />
**Bluetooth Devices<br />
**Laptops <br />
<br />
*PDAs and other Portable Devices except cell phones<br />
**Webpads<br />
<br />
*Software<br />
**Third party software<br />
<br />
*Audio Sources<br />
**Recievers<br />
<br />
*Video Sources<br />
**Set-top boxes<br />
***Satellite boxes<br />
***Cable boxes<br />
***Digital terrestrial boxes<br />
***PVR boxes<br />
**VCR<br />
**DVD <br />
**Blu-ray <br />
**HD-Dvd <br />
**Cameras<br />
**TV-cards (also in computer hardware)<br />
<br />
*Video Displays<br />
**LCD <br />
**Plasma <br />
**Projectors<br />
<br />
*Multimedia<br />
<br />
*Networking<br />
<br />
*Home Automation<br />
**Lighting <br />
**Climate <br />
**Security (Maybe this should be it's own main category?)<br />
<br />
*Telecom<br />
**Cellullar phones (Mobile phones?)<br />
**IP-phones<br />
**Phone-Providers (or less obvious "Phone-Lines" as in the pluto-admin)<br />
<br />
*Development<br />
<br />
==Suggestion==<br />
One thing I think is important is that articles must not appear once in a category and then again in a more general category. For example, Sony Amplifier should not appear once in 'audio hardware' and then again in 'hardware'. This is consistent with the [http://meta.wikimedia.org/wiki/MediaWiki_User%27s_Guide:_Using_Categories#Category_considerations guidelines for Wikimedia projects], which are very well thought through. [[User:Lozzo|Lozzo]] 13:33, 26 September 2007 (MST)<br />
<br />
[[Category:Categories| ]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=User:Chewi&diff=5836User:Chewi2007-09-27T12:39:43Z<p>Chewi: </p>
<hr />
<div>I'm new to LinuxMCE and everything...<br />
<br />
But I hope to have finally found the perfect system to build my home of the 3rd millenium... ;)<br />
<br />
== Guestbook ==<br />
Feel free to leave greeting or whatever:</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5835Talk:Serial Hack2007-09-27T12:33:05Z<p>Chewi: /* End the madness... */</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Serial_Hack&diff=5834Talk:Serial Hack2007-09-27T12:30:46Z<p>Chewi: End the madness...</p>
<hr />
<div>When you figure out a better way, edit the article. Until then this is just discussion. [[User:Trout|Trout]] 08:06, 21 September 2007 (MST)<br />
<br />
:When you have something usefull to add for a change, edit the article. Otherwise, quit pestering the people that do --[[User:Zaerc|Zaerc]] 12:59, 21 September 2007 (MST)<br />
<br />
I am at a loss to understand this battle. The original commit was another way to accomplish the same thing. There are a lot pages on this site that have very similar issues. What is the harm in giving people more than one option even if that option is one in the same. If nothing else it offers all of us an opportunity to learn something different. The second option (perl) is another example. Personally I feel both should be left on the page and just remove the editorial commitments as these are truly the things that belong in discussions. <br />
<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Good_practice Good Wiki Practices]<br />
*[http://en.wikipedia.org/wiki/Wikipedia:Talk_page_guidelines#Behavior_that_is_unacceptable Behavior that is unacceptable]<br />
--[[User:Rwilson131|Rwilson131]] 09:27, 23 September 2007 (MST)<br />
<br />
I'm sure AVJohn is very happy with you pissing all over his page just to prove a point Trout. And how nice of you to make it personal. So thanks for the lessons on properly maintaining a wiki, you're a real champ. --[[User:Zaerc|Zaerc]] 02:50, 24 September 2007 (MST)<br />
<br />
:Keep the articles clean and use the discussion-pages for...ahh, discussions! And when you reply, please indent, it's so much easier to follow a discussion that way. --[[User:Samme|Samme]] 02:58, 24 September 2007 (MST)<br />
<br />
:Zaerc, you keep making it more clear that you don't understand how a wiki works. First of all, I tried to be nice by just moving the discussion piece of the page to the discussion area. This was not acceptable to you, and you moved it back with a nasty comment. I tried again with the same result, and a worse comment from you. So, IMO you are the one who made it personal. Second, when you sait "... all over <strong>his</strong> page", you are completely wrong about page ownership. The page belongs to the wiki and it's not personally AVJohns, this misunderstanding of yours is exactly what caused you to be upset to see "your text" moved to the discussion page. Having the discussion moved to it's correct place is not something to take personally. BTW: you're welcome for the wiki lessons. [[User:Trout|Trout]] 04:50, 24 September 2007 (MST)<br />
<br />
::So I'm the one putting a personal rant aimed at you on that page? Have some respect for the people who actually contribute, because it seems more like all the pages here belong to you. --[[User:Zaerc|Zaerc]] 07:40, 24 September 2007 (MST)<br />
<br />
:::Yes, this is an insult to me "please don't edit pages unless you actually have something to add". I feel that I am adding clarity when I move your comments to the discussion page. You are personally attacking me when you imply I am not adding anything. "go find something usefull to do, instead of pestering people that actually add information" Again another insult, implying that I have nothing better to do than mess with your addition for no purpose. Also discounting my contributions as though they are somehow less important than yours. I don't think that all the pages belong to me and I have stated so. I am sorry if you perceived that, it was not my intent. <br />
:::I really think that the page is better served without different options of editing a file. The page is about detecting serial ports, not how to create a text file. It should be enough to say "create a file like this ..." IMO this would serve the users best. [[User:Trout|Trout]] 09:07, 24 September 2007 (MST)<br />
<br />
::'''Hey hey hey!''' No you have to stop, both of you, we're in this together, work with each other, not against each other, now we end this discussion and continue the work with the wiki - '''and''' from now on discussions goes on to the pages that are designated for discussions so we can stick to the facts in the articles. Do we have a agreement? --[[User:Samme|Samme]] 09:49, 24 September 2007 (MST)<br />
<br />
:::Samme, Of course I'm in agreement, this was my point from the beginning. [[User:Trout|Trout]] 10:57, 24 September 2007 (MST)<br />
<br />
::::You guys make me sick with all your hypocritical bullshit. And then that pathetic excuse that this is to "serve" the users, seems pretty obvious this is '''not''' done in ''their'' best interest. But I guess coming forward to say what it is really about would actually take a pair. --[[User:Zaerc|Zaerc]] 11:56, 25 September 2007 (MST)<br />
<br />
== End the madness... ==<br />
<br />
Hi, i took the liberty to add a new page to the wiki [[Editing_Text]] where I put the tricks the two of you offered.<br />
<br />
And I linked to the new page from the appropriate passage within the article...<br />
<br />
I hope, this will end the fight... And I hope I will read a lot from both of you on this wiki in the future.<br />
<br />
Best Regards, [[User:Chewi|Chewi]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Serial_Hack&diff=5833Serial Hack2007-09-27T12:28:04Z<p>Chewi: </p>
<hr />
<div>== Serial List Hack ==<br />
In some situations, (which, I might add are becoming more and more common now) a core or core/hybrid may not have enough, or indeed, any serial ports for automation kit such as the [[X10]] modules to jack into.<br />
<br />
In these cases a [[USB-to-Serial converter]] may be used, but LinuxMCE does not list these correctly in its admin pages. This is due to the script "/usr/pluto/bin/ListSerialPorts.sh" which creates the list of serial ports, not giving the correct path (usually /dev/ttyUSB#, where # is a number).<br />
<br />
A simple replacement, which, while inferior to the current script in that it does not detect the ports in use, does correctly list all serial ports, both USB and normal serial. However, it requires the 'tree' command, so:<br />
<br />
<br />
<pre>sudo apt-get install tree</pre><br />
<br />
<br />
Once that has completed, tree will have been installed, and we can use its '-fi' mode to produce full paths, then it is just a simple matter of removing the origional ListSerialPorts.sh file and writing our own, I use [[vim]] for this, but any other terminal or graphical text editor will do the job (see [[Editing_Text]]):<br />
<br />
<br />
<pre><br />
sudo rm /usr/pluto/bin/ListSerialPorts.sh<br />
sudo vim /usr/pluto/bin/ListSerialPorts.sh<br />
</pre><br />
<br />
<br />
Now that [[vim]] is open, enter the following:<br />
<br />
<br />
<pre><br />
#!/bin/bash<br />
<br />
tree -fi /dev | grep ttyS<br />
tree -fi /dev | grep ttyUSB<br />
</pre><br />
<br />
==Comments==<br />
<br />
If someone out there has a better way of doing this, please post it here! -AVJohn<br />
<br />
<br />
[[Category: GSD]]<br />
[[Category: LinuxMCE_Devices]]<br />
[[Category: Programmer's Guide]]</div>Chewihttp://wiki.linuxmce.org/index.php?title=User:Chewi&diff=5832User:Chewi2007-09-27T12:26:06Z<p>Chewi: </p>
<hr />
<div>I'm new to LinuxMCE and everything...<br />
<br />
But I hope to have finally found the perfect system to build my home of the 3rd millenium... ;)</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Editing_Text&diff=5831Talk:Editing Text2007-09-27T12:24:44Z<p>Chewi: </p>
<hr />
<div>Feel free to add any additional ways you know to edit files... --[[User:Chewi|Chewi]] 09/27/2007</div>Chewihttp://wiki.linuxmce.org/index.php?title=Talk:Editing_Text&diff=5830Talk:Editing Text2007-09-27T12:23:27Z<p>Chewi: </p>
<hr />
<div>Feel free to add any additional ways you know to edit files...</div>Chewihttp://wiki.linuxmce.org/index.php?title=Editing_Text&diff=5829Editing Text2007-09-27T12:22:25Z<p>Chewi: /* The cat-way */</p>
<hr />
<div>== The [[vim]]-way ==<br />
<pre>vim /path/to/file</pre><br />
<br />
Make the changes with [[vim]]:<br />
i: insert mode<br />
:w! write file<br />
:x! exit vim and save<br />
:q! exit vim without saving<br />
<br />
<br />
== The nano-way ==<br />
<pre>nano /path/to/file</pre> or<br />
<pre>nano -w /path/to/file</pre> (this will disable automated line-breakes)<br />
<br />
<br />
<br />
Make the changes with nano:<br />
<br />
CTRL+O: Write file<br />
<br />
CTRL+X: Exit the program (you will be asked if you want to save changes)<br />
<br />
CTRL+W: Search for a string<br />
<br />
<br />
== The cat-way ==<br />
<pre>cat > /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF</pre><br />
Writes everything betwen the cat and the EOF to the given file.<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>cat >> /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF</pre><br />
Appends everything betwen the cat and the EOF to the given file without overwriting it.<br />
<br />
== The echo-way ==<br />
<pre>echo "contents" > /path/to/file</pre><br />
Writes everything betwen " " to the given file (no linefeeds possible).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>echo "contents >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it.<br />
<br />
== The perl-way ==<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' > /path/to/file</pre><br />
Writes everything betwen " " to the given file (\n represents linefeeds).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it (\n represents linefeeds).</div>Chewihttp://wiki.linuxmce.org/index.php?title=Editing_Text&diff=5828Editing Text2007-09-27T12:22:09Z<p>Chewi: /* The echo-way */</p>
<hr />
<div>== The [[vim]]-way ==<br />
<pre>vim /path/to/file</pre><br />
<br />
Make the changes with [[vim]]:<br />
i: insert mode<br />
:w! write file<br />
:x! exit vim and save<br />
:q! exit vim without saving<br />
<br />
<br />
== The nano-way ==<br />
<pre>nano /path/to/file</pre> or<br />
<pre>nano -w /path/to/file</pre> (this will disable automated line-breakes)<br />
<br />
<br />
<br />
Make the changes with nano:<br />
<br />
CTRL+O: Write file<br />
<br />
CTRL+X: Exit the program (you will be asked if you want to save changes)<br />
<br />
CTRL+W: Search for a string<br />
<br />
<br />
== The cat-way ==<br />
<pre>cat > /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF<pre><br />
Writes everything betwen the cat and the EOF to the given file.<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>cat >> /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF</pre><br />
Appends everything betwen the cat and the EOF to the given file without overwriting it.<br />
<br />
<br />
<br />
== The echo-way ==<br />
<pre>echo "contents" > /path/to/file</pre><br />
Writes everything betwen " " to the given file (no linefeeds possible).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>echo "contents >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it.<br />
<br />
== The perl-way ==<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' > /path/to/file</pre><br />
Writes everything betwen " " to the given file (\n represents linefeeds).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it (\n represents linefeeds).</div>Chewihttp://wiki.linuxmce.org/index.php?title=Editing_Text&diff=5827Editing Text2007-09-27T12:21:44Z<p>Chewi: /* The cat-way */</p>
<hr />
<div>== The [[vim]]-way ==<br />
<pre>vim /path/to/file</pre><br />
<br />
Make the changes with [[vim]]:<br />
i: insert mode<br />
:w! write file<br />
:x! exit vim and save<br />
:q! exit vim without saving<br />
<br />
<br />
== The nano-way ==<br />
<pre>nano /path/to/file</pre> or<br />
<pre>nano -w /path/to/file</pre> (this will disable automated line-breakes)<br />
<br />
<br />
<br />
Make the changes with nano:<br />
<br />
CTRL+O: Write file<br />
<br />
CTRL+X: Exit the program (you will be asked if you want to save changes)<br />
<br />
CTRL+W: Search for a string<br />
<br />
<br />
== The cat-way ==<br />
<pre>cat > /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF<pre><br />
Writes everything betwen the cat and the EOF to the given file.<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>cat >> /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF</pre><br />
Appends everything betwen the cat and the EOF to the given file without overwriting it.<br />
<br />
<br />
<br />
== The echo-way ==<br />
<pre>echo "contents" > /path/to/file<pre><br />
Writes everything betwen " " to the given file (no linefeeds possible).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>echo "contents >> /path/to/file<pre><br />
Appends everything betwen " " to the given file without overwriting it.<br />
<br />
== The perl-way ==<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' > /path/to/file</pre><br />
Writes everything betwen " " to the given file (\n represents linefeeds).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it (\n represents linefeeds).</div>Chewihttp://wiki.linuxmce.org/index.php?title=Editing_Text&diff=5826Editing Text2007-09-27T12:21:22Z<p>Chewi: Tips&Tricks to edit text</p>
<hr />
<div>== The [[vim]]-way ==<br />
<pre>vim /path/to/file</pre><br />
<br />
Make the changes with [[vim]]:<br />
i: insert mode<br />
:w! write file<br />
:x! exit vim and save<br />
:q! exit vim without saving<br />
<br />
<br />
== The nano-way ==<br />
<pre>nano /path/to/file</pre> or<br />
<pre>nano -w /path/to/file</pre> (this will disable automated line-breakes)<br />
<br />
<br />
<br />
Make the changes with nano:<br />
<br />
CTRL+O: Write file<br />
<br />
CTRL+X: Exit the program (you will be asked if you want to save changes)<br />
<br />
CTRL+W: Search for a string<br />
<br />
<br />
== The cat-way ==<br />
<pre>cat > /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF<pre><br />
Writes everything betwen the cat and the EOF to the given file.<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>cat >> /path/to/file << "EOF"<br />
Content of the<br />
file with linefeeds.<br />
EOF<pre><br />
Appends everything betwen the cat and the EOF to the given file without overwriting it.<br />
<br />
<br />
<br />
== The echo-way ==<br />
<pre>echo "contents" > /path/to/file<pre><br />
Writes everything betwen " " to the given file (no linefeeds possible).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>echo "contents >> /path/to/file<pre><br />
Appends everything betwen " " to the given file without overwriting it.<br />
<br />
== The perl-way ==<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' > /path/to/file</pre><br />
Writes everything betwen " " to the given file (\n represents linefeeds).<br />
<br />
Attention: The file is being overwritten.<br />
<br />
<pre>perl -e 'print "Content of the\nfile with linefeeds"' >> /path/to/file</pre><br />
Appends everything betwen " " to the given file without overwriting it (\n represents linefeeds).</div>Chewihttp://wiki.linuxmce.org/index.php?title=LinuxMCE:Community_Portal&diff=5686LinuxMCE:Community Portal2007-09-25T08:35:50Z<p>Chewi: /* To do */</p>
<hr />
<div>__NOTOC__<br />
<div style="padding:40px 25px 40px 25px; border:1px solid; border-color:#C0C0C0;"><br />
<div align="center"><br />
<h1>'''[http://linuxmce.org LinuxMCE]''' community portal</h1><br />
</div><br />
<br />
<br />
==News==<br />
<br />
*'''24/9-07''' - New template added, [[:Template:Delete]], add this to pages that you propose for deletion, these pages will also be added to the category [[:Category:Delete Page|Delete Page]]. --[[User:Samme|Samme]] 06:09, 24 September 2007 (MST)<br />
*'''24/9-07''' - I have now blocked the known spammers, another thing I've done is that I've added the category [[:Category: NeedsToBeFixed|NeedsToBeFixed]], look at the page for further information. --[[User:Samme|Samme]] 02:48, 24 September 2007 (MST)<br />
*'''22/9-07''' - Is there somebody out there who knows how to make templates? If so we need you're help!!!<br />
*'''15/9-07''' - [[User:Trout|Trout]] has now also volunteered as admin.<br />
*'''14/9-07''' - I, [[User:Samme|Samme]] is now administrator of the wiki, after a discussion with Paul, other interested in helping, mail me, you'll find my adress under the [[Contacts|contact page]].<br />
<br />
==To do==<br />
#<strike>Spam prevention</strike><br />
#Recruit a second admin and also volunteers, up for the task? Contact me!<br />
#Delete garbage pages all can be found in the category [[:Category:Delete Page|Delete Page]]<br />
#Set up rules & guidelines for the wiki<br />
#<strike>New first page</strike><br />
#Fix hardware pages<br />
#[[LinuxMCE Wiki:Community Portal:Category Proposal|Categories, proposal]], very important<br />
#Various guides maybe replace FAQ?<br />
#Dictionary?<br />
#Join associated pages by unision or cross-referencing (if they are definately in different cathegories) exampe: [[Nokia_770]], [[Nokia_770_Orbiter]], [[Building_Orbiter_for_the_Nokia_770]]<br />
<br />
Feel free to add things to do, after all it is a wiki :o)<br />
<br />
==Some useful links==<br />
<br />
*[http://LinuxMCE.com LinuxMCE homepage]<br />
*[http://forum.linuxmce.com LinuxMCE Forums]<br />
*[http://ubuntuforums.org/ Ubuntu Forums]</div>Chewihttp://wiki.linuxmce.org/index.php?title=Sipgate&diff=5527Sipgate2007-09-19T10:34:57Z<p>Chewi: </p>
<hr />
<div><table width="100%"> This should be a short How-To for integrating sipgate with LinuxMCE-Asterisk. It describes the steps what i have done and where the problems are.<br />
<br />
'''1. Step Install LinuxMCE Core/Hybrid'''<br />
<br />
<br />
'''2. Step Add a Media Director'''<br />
<br />
<br />
After the this i a running LinuxMCE system with one Media Director and one Windows XP Orbiter. <br />
<br />
'''3. Step Add Phone Lines'''<br />
<br />
In LinuxMCE Web Admin go to Devices -> Phone Lines. <br />
<br />
I don't make changes in the first box:<br />
<pre><br />
When dialing a local number, automatically prepend the area code<br />
Also prepend a digit (1 for US/Canada, 0 for Europe)<br />
Local Number Length<br />
</pre><br />
<br />
I choose my Provider (sipgate.at) and entered my Datas.<br />
<br />
<pre><br />
Type Data Password Username Host Phone number<br />
SIP sipgate XXXXXXX 9627932 sipgate.at 0720726742<br />
</pre><br />
<br />
''I don't know if i have to change the settings in the first box!?!?!?''<br />
<br />
'''4. Step Reload the router'''<br />
<br />
Don't know if the reload is important at this point, but i think it's better to do it.<br />
<br />
<br />
'''5. Step AMP Configuration'''<br />
<br />
In LinuxMCE Web Admin go to Advanced -> Configuration -> Phones Setup -> Setup. LinuxMCE has inserted everything to asterisk. But at this point i can't call my sipgate-number. So go to Trunks and choose my trunk ''Trunk SIP/sipgate''. On Sipgate.at i find a configuration file for asterisk, the main difference is that i need ''allow=alow&alaw&alaw&ulaw&g729&gsm&slinear'' this in the Incoming and Outgoing Settings. So i added it and it worked!<br />
Here are my configurations:<br />
<br />
Dial Rules:<br />
<pre><br />
112<br />
411<br />
911<br />
9|.<br />
</pre><br />
<br />
Outgoing Settings:<br />
<pre><br />
allow=alow&alaw&alaw&ulaw&g729&gsm&slinear<br />
auth=md5<br />
authuser=9627932<br />
callerid=9627932<br />
canreinvite=no<br />
context=from-internal<br />
disallow=all<br />
dtmfmode=inband<br />
fromdomain=sipgate.at<br />
fromuser=9627932<br />
host=sipgate.at<br />
insecure=very<br />
nat=yes<br />
qualify=no<br />
secret=XXXXXX<br />
type=peer<br />
user=9627932<br />
username=9627932<br />
</pre><br />
<br />
Incoming Settings<br />
<br />
<pre><br />
allow=alow&alaw&alaw&ulaw&g729&gsm&slinear<br />
auth=md5<br />
authuser=9627932<br />
callerid=9627932<br />
canreinvite=no<br />
context=from-internal<br />
disallow=all<br />
dtmfmode=inband<br />
fromdomain=sipgate.at<br />
fromuser=9627932<br />
host=sipgate.at<br />
insecure=very<br />
nat=yes<br />
qualify=no<br />
secret=XXXXX<br />
type=user<br />
user=9627932<br />
username=9627932<br />
</pre><br />
<br />
'''Problems'''<br />
<br />
I can call my sipgate number from my cell phone but i only here a female voice who tells me that all circuits are busy now. <br />
I can See in the report Panel of AMP that someone has called me and the call was answered but i don't get a Message on my orbiters.<br />
I even can't talk from one Orbiter (MD) to another (Hybrid).<br />
<br />
'''Solution for me is:'''<br />
replace context=from-internal with context=from-trunk<br />
Please try to confirm and if it works for you as well, make the final changes to this page...<br />
<br />
<br />
<br />
Here is the log file from asterisk when i make a call from my cell phone:<br />
<br />
<pre><br />
Connected to Asterisk 1.2.9.1-BRIstuffed-0.3.0-PRE-1q currently running on dcero uter (pid = 16397)<br />
Verbosity is at least 3<br />
Core debug is at least 1<br />
-- Executing Macro("SIP/9627932-96e1", "dialout-trunk|2|627932|") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?3:2)") in new stack<br />
-- Goto (macro-dialout-trunk,s,3)<br />
-- Executing Macro("SIP/9627932-96e1", "user-callerid") in new stack<br />
-- Executing DBget("SIP/9627932-96e1", "AMPUSER=DEVICE/9627932/user") in new stack<br />
-- DBget: varname=AMPUSER, family=DEVICE, key=9627932/user<br />
-- DBget: Value not found in database.<br />
-- Executing DBget("SIP/9627932-96e1", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack<br />
-- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname<br />
-- DBget: Value not found in database.<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?5") in new stack<br />
-- Goto (macro-user-callerid,s,5)<br />
-- Executing NoOp("SIP/9627932-96e1", "Using CallerID "0699153xxxxx" <9627932>") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "record-enable|9627932|OUT") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "0 > 0?2:4") in new stack<br />
-- Goto (macro-record-enable,s,4)<br />
-- Executing AGI("SIP/9627932-96e1", "recordingcheck|20070106-123650|asterisk-16397-1168083410.0") in new stack<br />
-- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br />
recordingcheck|20070106-123650|asterisk-16397-1168083410.0: Outbound recording not enabled<br />
-- AGI Script recordingcheck completed, returning 0<br />
-- Executing NoOp("SIP/9627932-96e1", "No recording needed") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "outbound-callerid|2") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?3") in new stack<br />
-- Goto (macro-outbound-callerid,s,3)<br />
-- Executing DBget("SIP/9627932-96e1", "USEROUTCID=AMPUSER/9627932/outboundcid") in new stack<br />
-- DBget: varname=USEROUTCID, family=AMPUSER, key=9627932/outboundcid<br />
-- DBget: Value not found in database.<br />
-- Executing GotoIf("SIP/9627932-96e1", "1?6") in new stack<br />
-- Goto (macro-outbound-callerid,s,6)<br />
-- Executing NoOp("SIP/9627932-96e1", "CallerID set to "0699153xxxxx" <9627932>") in new stack<br />
-- Executing SetGroup("SIP/9627932-96e1", "OUT_2") in new stack<br />
-- Executing CheckGroup("SIP/9627932-96e1", "") in new stack<br />
-- Executing SetVar("SIP/9627932-96e1", "DIAL_NUMBER=627932") in new stack<br />
-- Executing SetVar("SIP/9627932-96e1", "DIAL_TRUNK=2") in new stack<br />
-- Executing AGI("SIP/9627932-96e1", "fixlocalprefix") in new stack<br />
-- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br />
-- AGI Script fixlocalprefix completed, returning 0<br />
-- Executing SetVar("SIP/9627932-96e1", "OUTNUM=627932") in new stack<br />
-- Executing Cut("SIP/9627932-96e1", "custom=OUT_2|:|1") in new stack<br />
-- Executing GotoIf("SIP/9627932-96e1", "0?16") in new stack<br />
-- Executing Dial("SIP/9627932-96e1", "SIP/sipgate/627932") in new stack<br />
-- Called sipgate/627932<br />
-- SIP/sipgate-8e34 is circuit-busy<br />
== Everyone is busy/congested at this time (1:0/1/0)<br />
-- Executing Goto("SIP/9627932-96e1", "s-CONGESTION|1") in new stack<br />
-- Goto (macro-dialout-trunk,s-CONGESTION,1)<br />
-- Executing NoOp("SIP/9627932-96e1", "Dial failed due to CONGESTION") in new stack<br />
-- Executing Macro("SIP/9627932-96e1", "outisbusy") in new stack<br />
-- Executing Playback("SIP/9627932-96e1", "allison7/all-circuits-busy-now") in new stack<br />
-- Playing 'allison7/all-circuits-busy-now' (language 'en')<br />
-- Executing Playback("SIP/9627932-96e1", "allison7/pls-try-call-later") in new stack<br />
-- Playing 'allison7/pls-try-call-later' (language 'en')<br />
-- Executing Macro("SIP/9627932-96e1", "hangupcall") in new stack<br />
-- Executing ResetCDR("SIP/9627932-96e1", "w") in new stack<br />
-- Executing NoCDR("SIP/9627932-96e1", "") in new stack<br />
-- Executing Wait("SIP/9627932-96e1", "5") in new stack<br />
-- Executing Hangup("SIP/9627932-96e1", "") in new stack<br />
</pre><br />
<br />
<br />
<br />
This is the log (/etc/log/asterisk/full) when i call my sipgate number from my cell phone<br />
<br />
<pre><br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Allocating new SIP dialog for 203858ad3dfce9881ac7c7155bee5404@217.10.66.71 - INVITE (With RTP)<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Setting NAT on RTP to 524288<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Checking SIP call limits for device 9627932<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: build_route: Record-Route hop: <sip:217.116.119.252;lr=on><br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: build_route: Record-Route hop: <sip:217.10.79.8;ftag=as032821cf;lr=on><br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "dialout-trunk|2|627932|") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?3:2)") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-dialout-trunk,s,3)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "user-callerid") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "AMPUSER=DEVICE/9627932/user") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_db.c: This application has been deprecated, please use the ${DB(family/key)} function instead.<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=AMPUSER, family=DEVICE, key=9627932/user<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/user' in family 'DEVICE'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "AMPUSERCIDNAME=AMPUSER//cidname") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=AMPUSERCIDNAME, family=AMPUSER, key=/cidname<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '/cidname' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?5") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-user-callerid,s,5)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "Using CallerID "069915324714" <9627932>") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "record-enable|9627932|OUT") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Function result is '0'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "0 > 0?2:4") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-record-enable,s,4)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'AGI'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing AGI("SIP/9627932-f491", "recordingcheck|20070107-154355|asterisk-14485-1168181035.0") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/recordingcheck<br />
Jan 7 15:43:55 DEBUG[15662] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/recording' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: recordingcheck|20070107-154355|asterisk-14485-1168181035.0: Outbound recording not enabled<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- AGI Script recordingcheck completed, returning 0<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "No recording needed") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "outbound-callerid|2") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?3") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-outbound-callerid,s,3)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'DBget'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing DBget("SIP/9627932-f491", "USEROUTCID=AMPUSER/9627932/outboundcid") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: varname=USEROUTCID, family=AMPUSER, key=9627932/outboundcid<br />
Jan 7 15:43:55 DEBUG[15661] db.c: Unable to find key '9627932/outboundcid' in family 'AMPUSER'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- DBget: Value not found in database.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '1'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "1?6") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-outbound-callerid,s,6)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "CallerID set to "069915324714" <9627932>") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetGroup'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetGroup("SIP/9627932-f491", "OUT_2") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: The SetGroup application has been deprecated, please use the GROUP() function.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'CheckGroup'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing CheckGroup("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: The CheckGroup application has been deprecated, please use a combination of the GotoIf application and the GROUP_COUNT() function.<br />
Jan 7 15:43:55 WARNING[15661] app_groupcount.c: CheckGroup requires an argument(max[@category][|options])<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "DIAL_NUMBER=627932") in new stack<br />
Jan 7 15:43:55 WARNING[15661] pbx.c: SetVar is deprecated, please use Set instead.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "DIAL_TRUNK=2") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'AGI'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing AGI("SIP/9627932-f491", "fixlocalprefix") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Launched AGI Script /var/lib/asterisk/agi-bin/fixlocalprefix<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- AGI Script fixlocalprefix completed, returning 0<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'SetVar'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing SetVar("SIP/9627932-f491", "OUTNUM=627932") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Cut'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Cut("SIP/9627932-f491", "custom=OUT_2|:|1") in new stack<br />
Jan 7 15:43:55 WARNING[15661] app_cut.c: The application Cut is deprecated. Please use the CUT() function instead.<br />
Jan 7 15:43:55 WARNING[15661] ast_expr2.y: non-numeric argument<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Expression result is '0'<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'GotoIf'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing GotoIf("SIP/9627932-f491", "0?16") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Not taking any branch<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Dial'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Dial("SIP/9627932-f491", "SIP/sipgate/627932") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Allocating new SIP dialog for (No Call-ID) - INVITE (With RTP)<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Setting NAT on RTP to 524288<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-14.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_DEPTH.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-13.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable custom.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-12.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable OUTNUM.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-11.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-10.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DIAL_TRUNK.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-9.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DIAL_NUMBER.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-8.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-7.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable GROUP.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-6.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_PRIORITY.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_CONTEXT.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable MACRO_EXTEN.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-6.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable DBGETSTATUS.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-outbound-callerid-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG2.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-record-enable-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-4.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-5.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-2.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-user-callerid-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-macro-dialout-trunk-s-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable ARG3.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable STACK-from-internal-9627932-1.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPCALLID.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPUSERAGENT.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPDOMAIN.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Not copying variable SIPURI.<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Outgoing Call for 627932<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Called sipgate/627932<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/sipgate-2324 to read format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to read format alaw<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/sipgate-2324 to write format alaw<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Acked pending invite 102<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Stopping retransmission on '5eadbba35f58de8346e2df7e4868c51d@sipgate.at' of Request 102: Match Found<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- SIP/sipgate-2324 is circuit-busy<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Hanging up channel 'SIP/sipgate-2324'<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: Hangup call SIP/sipgate-2324, SIP callid 5eadbba35f58de8346e2df7e4868c51d@sipgate.at)<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: update_call_counter(627932) - decrement call limit counter<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: == Everyone is busy/congested at this time (1:0/1/0)<br />
Jan 7 15:43:55 DEBUG[15661] app_dial.c: Exiting with DIALSTATUS=CONGESTION.<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Goto'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Goto("SIP/9627932-f491", "s-CONGESTION|1") in new stack<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Goto (macro-dialout-trunk,s-CONGESTION,1)<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'NoOp'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing NoOp("SIP/9627932-f491", "Dial failed due to CONGESTION") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "outisbusy") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] pbx.c: Launching 'Playback'<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Executing Playback("SIP/9627932-f491", "allison7/all-circuits-busy-now") in new stack<br />
Jan 7 15:43:55 DEBUG[15661] chan_sip.c: sip_answer(SIP/9627932-f491)<br />
Jan 7 15:43:55 DEBUG[15669] app_queue.c: Device 'SIP/sipgate' changed to state '1' (Not in use) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15670] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:43:55 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format gsm<br />
Jan 7 15:43:55 DEBUG[15661] rtp.c: Ooh, format changed from unknown to alaw<br />
Jan 7 15:43:55 VERBOSE[15661] logger.c: -- Playing 'allison7/all-circuits-busy-now' (language 'en')<br />
Jan 7 15:43:55 DEBUG[14531] chan_sip.c: Stopping retransmission on '203858ad3dfce9881ac7c7155bee5404@217.10.66.71' of Response 102: Match Found<br />
Jan 7 15:43:57 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:57 DEBUG[15661] pbx.c: Launching 'Playback'<br />
Jan 7 15:43:57 VERBOSE[15661] logger.c: -- Executing Playback("SIP/9627932-f491", "allison7/pls-try-call-later") in new stack<br />
Jan 7 15:43:57 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format gsm<br />
Jan 7 15:43:57 VERBOSE[15661] logger.c: -- Playing 'allison7/pls-try-call-later' (language 'en')<br />
Jan 7 15:43:59 DEBUG[15661] channel.c: Set channel SIP/9627932-f491 to write format alaw<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'Macro'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing Macro("SIP/9627932-f491", "hangupcall") in new stack<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'ResetCDR'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing ResetCDR("SIP/9627932-f491", "w") in new stack<br />
Jan 7 15:43:59 DEBUG[15661] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record.<br />
Jan 7 15:43:59 DEBUG[15661] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dcontext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode) VALUES ('2007-01-07 15:43:55','\"069915324714\" <9627932>','9627932','9627932','from-internal', 'SIP/9627932-f491','SIP/sipgate-2324','ResetCDR','w',4,4,'ANSWERED',3,'')<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '"069915324714" <9627932>'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '9627932'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '9627932'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'from-internal'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'SIP/9627932-f491'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'SIP/sipgate-2324'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'ResetCDR'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'w'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:55'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:55'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '2007-01-07 15:43:59'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '4'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '4'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'ANSWERED'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'DOCUMENTATION'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '(null)'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is 'asterisk-14485-1168181035.0'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Function result is '(null)'<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'NoCDR'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing NoCDR("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:43:59 WARNING[15661] cdr.c: CDR on channel 'SIP/9627932-f491' not posted<br />
Jan 7 15:43:59 WARNING[15661] cdr.c: CDR on channel 'SIP/9627932-f491' lacks end<br />
Jan 7 15:43:59 DEBUG[15661] pbx.c: Launching 'Wait'<br />
Jan 7 15:43:59 VERBOSE[15661] logger.c: -- Executing Wait("SIP/9627932-f491", "5") in new stack<br />
Jan 7 15:44:04 DEBUG[15661] pbx.c: Launching 'Hangup'<br />
Jan 7 15:44:04 VERBOSE[15661] logger.c: -- Executing Hangup("SIP/9627932-f491", "") in new stack<br />
Jan 7 15:44:04 DEBUG[15661] app_macro.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491' in macro 'hangupcall'<br />
Jan 7 15:44:04 DEBUG[15661] app_macro.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491' in macro 'outisbusy'<br />
Jan 7 15:44:04 DEBUG[15661] pbx.c: Spawn extension (macro-hangupcall,s,4) exited non-zero on 'SIP/9627932-f491'<br />
Jan 7 15:44:04 DEBUG[15661] channel.c: Hanging up channel 'SIP/9627932-f491'<br />
Jan 7 15:44:04 DEBUG[15661] chan_sip.c: Hangup call SIP/9627932-f491, SIP callid 203858ad3dfce9881ac7c7155bee5404@217.10.66.71)<br />
Jan 7 15:44:04 DEBUG[15661] chan_sip.c: update_call_counter(9627932) - decrement call limit counter<br />
Jan 7 15:44:04 DEBUG[15985] app_queue.c: Device 'SIP/9627932' changed to state '4' (Invalid) but we don't care because they're not a member of any queue.<br />
Jan 7 15:44:04 DEBUG[14531] chan_sip.c: Stopping retransmission on '203858ad3dfce9881ac7c7155bee5404@217.10.66.71' of Request 102: Match Found<br />
</pre><br />
[[Category: Tutorials]]</div>Chewi