Hi Chandra,
Well I am not aware of Asterisk, but few quick pointers.
Make sure that you have some daemon listening on port 5060 by using "netstat -an|grep 5060". If there isn't then you may need to check the installation or settings and may need to restart the service. If the iptables are blocking then you shall need to allow that port in the firewall using the following commands:
For TCP:
iptables -A INPUT -p tcp -m tcp --dport 5060 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 5060 -j ACCEPT
For UDP:
iptables -A INPUT -p udp -m udp --dport 5060 -j ACCEPT
iptables -A OUTPUT -p udp -m udp --dport 5060 -j ACCEPT
The you need to give the command "service iptables save" to save these rules permanently.
Hope this helps.
Regards
Arminder S Girgla
Moderator
----- Original Message -----From: Crazy BoySent: Thursday, July 20, 2006 7:54 PMSubject: [linux_chandigarh] How to open my 5060 port through command line in SuSe Linux 9.3?Hi Friends,
I am using "Asterisk" with SuSe Linux 9.3. When I see the port status in my PC with "nmap" command like:
# nmap -p5060 192.168.91.100
The above command showing, that my 5060 port was blocked. Why? I didn't closed this port. But, in someway, my 5060 port closed.
My doubt is How to open my 5060 port through command line?
Thanks & Regards,
Chandra.
Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.