24 Ağustos 2012 Cuma


I don't know, if I am alive or not..

Maybe you are looking for an answer or a reason to continue breathing..

Trust me it is not that easy to find out. You can not reach it with some stupid clicks..

If you feel like the oxygen you breathe is a waste than dont stop..

But you know that you have the right to live as you wish, like any other creature on this planet..

But the pain inside your chest...

I know..

It will be ok.

Believe me, it will be ok.

You just need, some time and some sunsets to watch..

Just, breathe the earth.

You know that you will survive, dont you...

Take your time..

4 Ağustos 2012 Cumartesi

Asterisk and AMI

ERROR[5534]: utils.c:1211 ast_careful_fwrite: fwrite() returned error: Broken pipe

When ever i used the php script to send commands to asterisk, i got this error..

"The Big Problem"!! was the timeout value i used;


This line;
$this->socket = @fsockopen("","5038", $errno, $errstr, 1);
is changed into this;
$this->socket = @fsockopen("","5038", $errno, $errstr, 30);

Problem solved..

3 Ağustos 2012 Cuma

Centos 6 and Asterisk


No DAHDI found. Unable to open /dev/dahdi/ctl: No such file or directory

DAHDI Tools Version -
Notice: Configuration file is /etc/dahdi/system.conf
line 0: Unable to open master device '/dev/dahdi/ctl'

Try using Atrpms by doing

wget http://packages.atrpms.net/RPM-GPG-KEY.atrpms
rpm --import RPM-GPG-KEY.atrpms

After that;
yum install dahdi-linux