<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
Thanks for the feedback, but unfortunately, there is still no joy. If I do this:<br><br>echo -n "database put FOO BAR 1" | socat STDIO UNIX-CONNECT:/var/run/asterisk/asterisk.ctl<br><br>I get the following output on the command line:<br><br>pbx-75/2395/1.4.20.1<br><br>pbx-75 is the hostname, 2395 is the PID of the asterisk process, and 1.4.20.1 is the version of asterisk I am running. I also see this in the asterisk CLI:<br><br> -- Remote UNIX connection<br> -- Remote UNIX connection disconnected<br><br>But the database value did not update.<br>Thanks<br>FSD<br><br>> Date: Mon, 26 Jan 2009 18:31:30 -0800<br>> From: asterisk.org@sedwards.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Reading/Writing the Astdb<br>> <br>> On Mon, 26 Jan 2009, cbbs70a@hotmail.com wrote:<br>> <br>> > That's a really good idea, however, I am having problems getting it to work. I tried the following:<br>> ><br>> > echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - /var/run/asterisk/asterisk.ctl<br>> ><br>> > and<br>> ><br>> > echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - UNIX-CONNECT: /var/run/asterisk/asterisk.ctl<br>> <br>> echo -n "show channels"\<br>>         | sudo socat STDIO UNIX-CONNECT:/var/run/asterisk.ctl<br>> <br>> and<br>> <br>> echo -n "show channels"\<br>>         | sudo socat STDIO /var/run/asterisk.ctl<br>> <br>> work for me.<br>> <br>> Thanks in advance,<br>> ------------------------------------------------------------------------<br>> Steve Edwards sedwards@sedwards.com Voice: +1-760-468-3867 PST<br>> Newline Fax: +1-760-731-3000<br>> <br>> _______________________________________________<br>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>> <br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> http://lists.digium.com/mailman/listinfo/asterisk-users<br><br /><hr />Windows Live™: E-mail. Chat. Share. Get more ways to connect. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t2_allup_explore_012009' target='_new'>Check it out.</a></body>
</html>