<div class="gmail_quote">On Sun, Oct 17, 2010 at 6:55 AM, <span dir="ltr"><<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Do you have freepbx anywhere it always tries to connect -- via a socket<br>
I think and it usually uses the manager, so if you disable the manager<br>
it will break things. Also take the port stanza off of the tcpdump and<br>
you will soon see what is connecting. You will get other stuff, but<br>
this will tell you.<br>
<div class="im"><br>
Dan Journo <<a href="mailto:dan@keshercommunications.com">dan@keshercommunications.com</a>> wrote:<br>
<br>
</div><div><div></div><div class="h5">> > Some service is definitely connecting to your asterisk using AMI. Such services use username/password described in manager.conf. Usually its is some monitoring service. Although the message says 'remote UNIX connection' but it can be very well something from localhost. I would suggest to use tcpdump to find out the IP of this service. AMI uses TCP port 5038.<br>
><br>
> I ran the following command and waited for the cli to show the "remote unix connection" message a few times.<br>
><br>
> [root@sip2 ~]# tcpdump port 5038 -w tcpdump.log -s0<br>
><br>
> tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes<br>
><br>
> The result was....<br>
><br>
> 0 packets captured<br>
><br>
> 0 packets received by filter<br>
><br>
> 0 packets dropped by kernel<br>
><br>
> Therefore, it seems like nothing is connecting to the AMI?<br>
><br>
> Also, in manager.conf.... enabled=no<br>
><br>
> Any other ideas? Is this a bug?<br>
><br>
> Thanks<br>
><br>
> Dan<br>
><br>
</div></div>> ----------------------------------------------------<br>
> Alternatives:<br>
><br>
> ----------------------------------------------------<br>
> --<br>
<div class="im">> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
> New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
><br>
> asterisk-users mailing list<br>
> To UNSUBSCRIBE or update options visit:<br>
> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div>--<br>
Your life is like a penny. You're going to lose it. The question is:<br>
How do<br>
you spend it?<br>
<br>
John Covici<br>
<a href="mailto:covici@ccs.covici.com">covici@ccs.covici.com</a><br>
<font color="#888888"><br>
--<br>
</font><div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br>Sounds like either FreePBX or some other script using astmanproxy or just the AMI in general. Another possible cause is a script (or terminal) constantly accessing "asterisk -r" or "rasterisk" (+ any other arguments) to either run an Asterisk CLI command, or to just "watch' the console output.<br>