On Mon, 26 Jan 2009, [email protected] wrote:

>   That's a really good idea, however, I am having problems getting it to 
> work. I tried the following:
>
> echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - 
> /var/run/asterisk/asterisk.ctl
>
> and
>
> echo -n "asterisk -rx \"database put FOO BAR 1\" " | socat - UNIX-CONNECT: 
> /var/run/asterisk/asterisk.ctl

echo -n "show channels"\
        | sudo socat STDIO UNIX-CONNECT:/var/run/asterisk.ctl

and

echo -n "show channels"\
        | sudo socat STDIO /var/run/asterisk.ctl

work for me.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      [email protected]      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to