Friday, July 24, 2009

Asterisk MusicOnHold File Priority

Yay!.. I dont know if it is a bug, or there is other setting for this.
musiconhold.conf

[class001]
mode=files
directory=/var/lib/asterisk/moh_custom/
sort=alpha


The config above does work alright although sorted reverse. Say you have a file a.mp3, b.mp3, c.mp3, d.mp3... The first one to be play is d.mp3 and last is a.mp3... Ok that can be handled, and this work ok for me as of I can manage my file on which one would be first and last. UNTILL if you have more than 4 files on that directory, the playlist become random in order, yet still following a pattern. Because if you remove sort=alpha and place random=true, the playback is in random and should be, but with other flaw, The files will be random played after each files finished playback. It means that a.mp3 can be plays every turn and c.mpe could not be play during the playback duration... Hmmmm... Well this bug exist on Asterisk 1.4.22-4 RPM by vc-rpms@voipconsulting.nl on my test machine...

I hope this save time for somebody out there, and make my wasted time go into used and not bother trying to arrange your playlist if you have more than 4 files in a directory.

DO NOT PUT MORE THAN 4 FILES IN MOH that is if you want to preserve your playlist in order..

Tuesday, July 14, 2009

Songbird Rocks

I just installed again Songbird. I forgot the last version I used but it look like a black browser than a music player. Fond if it because of its lightness. I change my desktop PC to Notebook PC, and I just forgot all about Songbird just today I download it and install it. Got amazed by the new look, and note it support most of the Firefox plugin. including this plugin I used for blogging. ScribeFire, download it here http://www.scribefire.com/. I think I am back to my blogs again. I wish...

Got Hook on 7 Things

Very busy lately and just stop to note that I like the song 7 Things by Milley Cyrus. I mark it 5 stars on my songbird player.

Sunday, February 15, 2009

I learned Linux on the old fashion way.

I remember the first time I lay my hand on a keyboard with Linux on board about 6years ago. I can still remember the excitement looking at the monitor with different looks.

Like all the version of Windows I have tried 95,98,Me and XP, each level upgrade really excite me just only by looking how it install and reading the new features it says while installing. Its the same feeling just add nervous. I am at my first work and it is Fedora Core, not sure about the version. Though I did not work long enough to learn more because of project shift.

The next time I encounter Linux as a direct user and administrator was less than 3years ago. I am working on Asterisk on a console mode on one of the computer and a Windows XP on the other. I have no books about it, I have dial-up internet connection from home which I use for searching about everything about Linux and download those files and update with it.

With a limited resource, I learned to install almost everything from a console, reading documents such as README for installing instructions. I learn how to untar (unzip/extract) files. And the first one I learn is how to extract and compile PHP from source, though I find it hard back then enabling the right extension to include, it really pays the experience as some more application was required to install later which I find much more like they are using same steps as a generic step for installing software, and It is the standard which I have confirm.

This gives me a hard time finding the applications dependencies, I google on finding the source for each dependencies compiling them and even much harder was the conflict of versions. I walk on this path long enough, enough for me to learn from the base before I was introduce to YUM.

It was CentOS server. I desperately watch yum install the application I needed, doing everything automatically including finding all dependencies and updating everything as needed. That time, I said, its like working on a square wheel and to find out that there is already a circle wheel that is being used by everybody else, wow WTF. Its a good memory after all.

Someone will find Linux a very not intuitive OS, specially if they will be looking and working on a console and if the person is born and learn from MS Windows environment to mention a resource for learning and training is limited.

My path on learning Linux maybe rough, but now I know that I walked on the right path after all.

Tuesday, January 20, 2009

Free tools and software for IT student

Ok this will be my first attempt to list the free tools I commonly used. I hope I could list them all, I personaly use these software. In each category, I will be arranging them from favorite down to all other known. If you want to know about these tools, just google them, I will not provide here their sites and download page.

Editor:
- Notepad++ (multi language editor i.e C++, PHP, ASP, SH, PY, Assembly, Java, Javascript, Pascal, Perl, etc). This also install perfect on Linux using wine.
- PHP Designer (Personal is free for none commercial, neat color scheme)
- Eclipse (Multi Language install on Windows and Linux, its java based), though I find this one resource eater.

Operating System
- Linux CentOS
- Linux Kubuntu (Ubuntu)

Database:
- MySQL Server
- Mysql GUI/IDE's made by Mysql

Http Server:
- Apache

Scripting interpreter:
- PHP
- Java

Compiler:
- GCC

Browser:
- Chrome (good debugging features)
- Firefox (install firebug for debugging features, wide extensions to choose from)

Email Client:
- Thunder Bird

Others:
- Xampp/Lampp: This is one of the easiest installer the could install apache, php, tomcat and perl just by few clicks. Xampp for windows and Lampp for linux.
- Skype: Best quality in terms of voice and video from the rest if IM client
- Google Desktop: Multi usage (find the gadget you like), it surpases the default sidebar of Vista.
- FlashGet: Download manager (best to have this first before downloading the other tools).


I think that are enough to create a good system. I will followup this Free Tools and Software soon, but the next one is for all users and not limited to IT student.

Friday, January 9, 2009

A trial of MS Vista.

I am a Software Engineer, my career requires computer OS testing for deffining limitations and compatibility. Besides from linux distro, I my self at home has a Windows XP installed up to present. 
I have no plans on upgrading to Vista or Win7 untill one of my friend said that I should try Vista and give it a shot. So I borrowed his Vista OEM and make my self have a partition for it to install. Hey!!! somebody might react that I borrowed a software, Yah and its an OEM license, means I cant activate it. 
I only need to try Vista if it is worth upgrading from my WindowsXP, so I will have a 30 days to try it before it locks. By then I have to decide if I should upgrade from WindowsXP since it reached its life span according to MS, or just stick to it since It is too cool and already comportable with it.  This post might me too late for review of Vista so I will not put any details of its features. 

I just thought that I just need to know. Untill my trial end, before, If I will be, purchasing license for Vista, I will post an enough reason for this opening. Untill then, this post is not close. 

Cheers

Tuesday, January 6, 2009

Start a new beggining?

Its 2009, my first day at the office. Also i have my first leave yesterday. I will try to be active this year on this blog. And what more someone can read these year is much more about;
  • Moving from MS Windows to Linux
  • All about software
  • Linux how to for newbie
  • Why staying my toe on MS Windows
And I will continue expressing thoughts more often.

Happy New Year!!!