<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>&nbsp;-- Remote UNIX connection<br>&nbsp;-- Remote UNIX connection disconnected<br><br>But the database value did not update.<br>Thanks<br>FSD<br><br>&gt; Date: Mon, 26 Jan 2009 18:31:30 -0800<br>&gt; From: asterisk.org@sedwards.com<br>&gt; To: asterisk-users@lists.digium.com<br>&gt; Subject: Re: [asterisk-users] Reading/Writing the Astdb<br>&gt; <br>&gt; On Mon, 26 Jan 2009, cbbs70a@hotmail.com wrote:<br>&gt; <br>&gt; &gt;   That's a really good idea, however, I am having problems getting it to work. I tried the following:<br>&gt; &gt;<br>&gt; &gt; echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - /var/run/asterisk/asterisk.ctl<br>&gt; &gt;<br>&gt; &gt; and<br>&gt; &gt;<br>&gt; &gt; echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - UNIX-CONNECT: /var/run/asterisk/asterisk.ctl<br>&gt; <br>&gt; echo -n "show channels"\<br>&gt;          | sudo socat STDIO UNIX-CONNECT:/var/run/asterisk.ctl<br>&gt; <br>&gt; and<br>&gt; <br>&gt; echo -n "show channels"\<br>&gt;          | sudo socat STDIO /var/run/asterisk.ctl<br>&gt; <br>&gt; work for me.<br>&gt; <br>&gt; Thanks in advance,<br>&gt; ------------------------------------------------------------------------<br>&gt; Steve Edwards      sedwards@sedwards.com      Voice: +1-760-468-3867 PST<br>&gt; Newline                                             Fax: +1-760-731-3000<br>&gt; <br>&gt; _______________________________________________<br>&gt; -- Bandwidth and Colocation Provided by http://www.api-digital.com --<br>&gt; <br>&gt; asterisk-users mailing list<br>&gt; To UNSUBSCRIBE or update options visit:<br>&gt;    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>