Hello,
On Wed, 8 Sep 2004 12:54:50 +0100 (BST), Mark Turner <mark@kram.org>
wrote:> I'm trying to set up xinetd to run an asterisk console on a tcp port.
>
> So far I've added a file in /etc/xinetd.d/ like:
>
<snip>> After adding actl to /etc/services and restarting xinetd it reports
> one new service. When connecting to port 1234 on 127.0.0.1 (iptables
> preventing remote hosts from accessing this service) I see the CLI prompt
> repeating over and over with no line breaks.
>
> Any idea how to prevent the looping please?
>
> p.s. Why am I doing this? We have an application that already knows
> how to talk to other things via TCP sockets and we'd like to make it
> talk to Asterisk too. The network between the two servers is trusted
> so sending stuff clear-text isn't a problem.
Did you try asterisk manager? You can execute all of the cli commands
and much more. Just enable it in /etc/asterisk/manager.conf and read
manager.txt in the asterisk docs directory.
--
Nicol?s Gudi?o
Buenos Aires - Argentina