Try "nmap -sU -p 5060 host.server.com" (has to be run as root to scan
udp port).
Moises Silva wrote:
i want to make script in bash to determine whether or not a server is
up and running with asterisk, so i tought i could use someting like
# nmap -p 5060 host.server.com
but it does not matter if asterisk is down or up, it keeps saying
PORT STATE SERVICE
5060/tcp closed unknown
why does it says closed? any other ideas?
_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users