Subscribe to IndaWok

Asterisk Bash ami script.

I have been trying to get appconference/appkonference to work on video with my cisco call manager and have miserably failed time and again, on audio appconference is a dream, but i just cant figure how to get vad ( Voice activity detection, [atleast that's what i think it is]) , anyways looking here and there somehow i landed on to the asterisk manager interface, figured might as well learn something from this. so here is a little bash script, which reloads asterisk, checks out your dialplan and then logs off.It might be useful for those trying to connect to the ami using bash and /dev/tcp — remember, bash has to be compiled using –enable-net-redirections for this script to work. also notice the difference in /r’s and the /n’s , if any bash guru could help me figure out , why it only works in this manner, it would be of great help.

#!/bin/bash
exec 3<>/dev/tcp/localhost/5038;
echo -e “Action: Login\r”>&3;
echo -e “Username: mark\r”>&3;
echo -e “Secret: mysecret\r\n\r\n”>&3;
echo -e “Events: on\r”>&3
echo -e “Action: command\r”>&3
echo -e “Command: module reload\r\n\r”>&3
echo -e “Action: command\r”>&3
echo -e “Command: show dialplan\r\n\r”>&3
echo -e “Action: Logoff\r\n\r”>&3
cat <&3

joomla live cd

i had a done a slitaz based joomla live cd around 6-8 months back, but never mentioned it here, so if anyone wants to download it, the link is here Joomla live cd

On other works, i have got cacti running perfectly fine on slitaz and soon intend to make a live cd of that too, even flow  viewer setup ( i think), i really need to learn a lot about netflow. but the live cd will come after i complete the nagios integration along with cacti.

common sense is scarce

i totally agree with this blog post

http://tales-of-an-it-director.blogspot.com/2008/06/i-quit-my-job-today.html

bachke raho (beware )

I haven’t laughed this much in years , actually i think only indians will get this, but try and listen to it and read the description, im not embedding the video , its better you go to the page read the description too.

http://www.youtube.com/watch?v=5z9bIW1u8to&feature=related

One more cool reason to try Slitaz

slitaz based on gimp

I f you are a budding artist on the move, you should definitely try out the Slitaz/gimp live cd, made by spork who is an active member on the slitaz forums, the link to the post mentioning the new cd is here http://forum.slitaz.org/viewtopic.php?id=2013

GNUMP3D in Zenwalk

Hello Internet.

It has been an long time i had written anything for GET-IT-DONE-FAST. but its time to cut the glass , from past few days i was working on Ubuntu 8.04 /8.10
And i have came across GNUMP3D  an live music  streaming interface for your music directory,
Which can be eventually shared on Internet and you will be able to listen to your music wherever your if you have an Internet connection.

Now i will stop bugging and explaining what GNUMP3D  can do because  you will know that for your self  soon.
Here we begin the process of
GNUMP3D  installation

1.   Creating a directory inside your usr/src location with the name gnump3d “mkdir /usr/srcgnump3d” Note:don’t forget to become root before doing this
2.   Then move to the created directory “cd /usr/src/gnump3
3.    Downloading the
GNUMP3D from “wget http://savannah.gnu.org/download/gnump3d/gnump3d-3.0.tar.gz” This commend will get a file for you with the extension ‘tar.gz’
4.   Now extracting it “tzr xvzf gnump3d-3.0.tar.gz” once you run this commend you will get a directory by name ‘gnump3d-3.0/’
5.   Now go to the directory which has been created while you extracted your ‘
gnump3d-3.0.tar.gz’ file via “cd gnump3d-3.0
6.   Once your are in the directory then just execute “make install“  and poof you are done installing the
GNUMP3D
7.   Now we need to edit an file “nano /etc/gnump3d/gnump3d.conf“  once you are inside this file there are two values you must change and the rest depends on your requirement.
a.    Search for   the line ‘port = 8888′ and you can change the port here if you wish
b.   Search for the line ‘user = gnump3d’ and make it as “user = root
c.   Search for the line ‘root = /var/music/’ or similar to this and change it and point it to your music directory like i did “root = /home/khairulla/windows2/KHAIRULLA-DATA/EXTRA/MUSIC/”
8.   You are done configuring the file now you can save and exit the file by “Ctrl+O” to save and “Ctrl+X” to exit
9.   Once you exit from the file
“nano /etc/gnump3d/gnump3d.confnow its time to start your GNUMP3D server by “/usr/bin/gnump3d start &” and your will get some log and finally the log will say that the server is running on http://localhost:8888

You know this is the end now just open your browser and enjoy the music from your browser only moreover if you are listening music in Zenwalk itself then you can even use Mplayer or Mplayer plugin for your ‘Iceweasel’
and enjoy the music.

On the Nighttrain

Though i love buckethead, its only slash who makes GNR complete, do you rememeber the final lead?

Openmeeting is awesome

OpenMeetings is just too awesome, you have to seriously check it out if you use conferencing in any way.I know i should be getting out a live cd immediately for this as there is none yet. but  cant help trying to poke in all the parts of openmeetings and finding out exactly what all it can do, i have even downloaded the source code compiled and tried it, which is a first for me as i have never really worked on Java related programs before.

Just the possibilities are mind-boggling, vad based video switching, integration with asterisk, induction of direct vnc. I aint turning back on openmeetings till all these things are done and im going to try myself somehow or the other,

the community is a nice one, specially sebastian ( the project owner ) and smoeker, who has immense patience with newbies like me.

check it out here http://code.google.com/p/openmeetings

The real cisco story

Kind of strange, i had heard the other story and always kind of believed it, coz it somehow showed a cute way of cisco starting up.
for the real story check it out here.
http://www.pbs.org/cringely/pulpit/1998/pulpit_19981210_000593.html

Two really cool buckethead clip’s

the first one is really beautiful.