Zaheer K. Master
2007-Nov-27 14:20 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Hi all, I have *NOW beta 6 (asterisk 1.4.5) and I've configured it with a SIP trunk line. I can make outgoing calls, but I cannot receive any incoming calls. A port scan of my * server shows that port 5060 is closed. How do I open this port? In my users.conf, I have set [trunk_1] to hassip=yes and port=5060. Also, in the global SIP.conf file bindport=5060 bindaddr=0.0.0.0 allowexternaldomains=no allowexternalinvites=no Do I have to set allowexternalinvites or allowexternaldomains to yes to accept INVITEs from my ITSP? I've already configured the system to allow traffic from their IP address. Thanks for the help! Regards, Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071127/8d12a5fc/attachment.htm
Adrian Marsh
2007-Nov-27 15:23 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Zaheer, If a "netstat -an|grep -I LISTENING" shows that a LISTENING port for 5060 is there, then the problem isn't Asterisk, but some firewall system on the server is blocking access from outside. If its not there, then come back to the group.. Adrian Marsh ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zaheer K. Master Sent: 27 November 2007 14:21 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] SIP port 5060 closed - how do I open it? Hi all, I have *NOW beta 6 (asterisk 1.4.5) and I've configured it with a SIP trunk line. I can make outgoing calls, but I cannot receive any incoming calls. A port scan of my * server shows that port 5060 is closed. How do I open this port? In my users.conf, I have set [trunk_1] to hassip=yes and port=5060. Also, in the global SIP.conf file bindport=5060 bindaddr=0.0.0.0 allowexternaldomains=no allowexternalinvites=no Do I have to set allowexternalinvites or allowexternaldomains to yes to accept INVITEs from my ITSP? I've already configured the system to allow traffic from their IP address. Thanks for the help! Regards, Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071127/da5bc28c/attachment.htm
Adrian Marsh
2007-Nov-27 15:26 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Correction: netstat -an|grep 5060 udp 0 0 0.0.0.0:5060 0.0.0.0:* Adrian Marsh ________________________________ From: Adrian Marsh Sent: 27 November 2007 15:24 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: RE: [asterisk-users] SIP port 5060 closed - how do I open it? Zaheer, If a "netstat -an|grep -I LISTENING" shows that a LISTENING port for 5060 is there, then the problem isn't Asterisk, but some firewall system on the server is blocking access from outside. If its not there, then come back to the group.. Adrian Marsh ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Zaheer K. Master Sent: 27 November 2007 14:21 To: 'Asterisk Users Mailing List - Non-Commercial Discussion' Subject: [asterisk-users] SIP port 5060 closed - how do I open it? Hi all, I have *NOW beta 6 (asterisk 1.4.5) and I've configured it with a SIP trunk line. I can make outgoing calls, but I cannot receive any incoming calls. A port scan of my * server shows that port 5060 is closed. How do I open this port? In my users.conf, I have set [trunk_1] to hassip=yes and port=5060. Also, in the global SIP.conf file bindport=5060 bindaddr=0.0.0.0 allowexternaldomains=no allowexternalinvites=no Do I have to set allowexternalinvites or allowexternaldomains to yes to accept INVITEs from my ITSP? I've already configured the system to allow traffic from their IP address. Thanks for the help! Regards, Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071127/4ec62ce3/attachment.htm
Zaheer K. Master
2007-Nov-27 15:57 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Hi Adrian here is what I got when I ran the command you suggested: netstat -an|grep 5060 udp 0 0 0.0.0.0:5060 0.0.0.0:* I also ran netstat -l and got the following: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:4000 *:* LISTEN tcp 0 0 *:nfs *:* LISTEN tcp 0 0 *:8003 *:* LISTEN tcp 0 0 *:8004 *:* LISTEN tcp 0 0 *:1001 *:* LISTEN tcp 0 0 *:mysql *:* LISTEN tcp 0 0 *:43724 *:* LISTEN tcp 0 0 *:5038 *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:sieve *:* LISTEN tcp 0 0 *:http *:* LISTEN tcp 0 0 *:ftp *:* LISTEN tcp 0 0 *:h323hostcall *:* LISTEN tcp 0 0 *:8088 *:* LISTEN tcp 0 0 *:smtp *:* LISTEN tcp 0 0 *:https *:* LISTEN tcp 0 0 *:46302 *:* LISTEN tcp 0 0 *:ssh *:* LISTEN udp 0 0 *:32768 *:* udp 0 0 *:nfs *:* udp 0 0 *:32770 *:* udp 0 0 *:2727 *:* udp 0 0 *:4520 *:* udp 0 0 *:5060 *:* udp 0 0 *:715 *:* udp 0 0 *:4569 *:* udp 0 0 *:998 *:* udp 0 0 *:sunrpc *:* udp 0 0 192.168.1.55:ntp *:* udp 0 0 localhost.localdoma:ntp *:* udp 0 0 *:ntp *:* udp 0 0 *:ntp *:* So does this mean that port 5060 is not listening for traffic? Thanks again, Zaheer
Zaheer K. Master
2007-Nov-27 16:19 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Hi Adrian here is what I got when I ran the command you suggested: netstat -an|grep 5060 udp 0 0 0.0.0.0:5060 0.0.0.0:* I also ran netstat -l and got the following: Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 *:4000 *:* LISTEN tcp 0 0 *:nfs *:* LISTEN tcp 0 0 *:8003 *:* LISTEN tcp 0 0 *:8004 *:* LISTEN tcp 0 0 *:1001 *:* LISTEN tcp 0 0 *:mysql *:* LISTEN tcp 0 0 *:43724 *:* LISTEN tcp 0 0 *:5038 *:* LISTEN tcp 0 0 *:sunrpc *:* LISTEN tcp 0 0 *:sieve *:* LISTEN tcp 0 0 *:http *:* LISTEN tcp 0 0 *:ftp *:* LISTEN tcp 0 0 *:h323hostcall *:* LISTEN tcp 0 0 *:8088 *:* LISTEN tcp 0 0 *:smtp *:* LISTEN tcp 0 0 *:https *:* LISTEN tcp 0 0 *:46302 *:* LISTEN tcp 0 0 *:ssh *:* LISTEN udp 0 0 *:32768 *:* udp 0 0 *:nfs *:* udp 0 0 *:32770 *:* udp 0 0 *:2727 *:* udp 0 0 *:4520 *:* udp 0 0 *:5060 *:* udp 0 0 *:715 *:* udp 0 0 *:4569 *:* udp 0 0 *:998 *:* udp 0 0 *:sunrpc *:* udp 0 0 192.168.1.55:ntp *:* udp 0 0 localhost.localdoma:ntp *:* udp 0 0 *:ntp *:* udp 0 0 *:ntp *:* So does this mean that port 5060 is not listening for traffic? Thanks again, Zaheer -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071127/c7ac6861/attachment-0001.htm
Zaheer K. Master
2007-Nov-28 13:21 UTC
[asterisk-users] SIP port 5060 closed - how do I open it?
Command> module show like sip Module Description Use Count app_adsiprog.so Asterisk ADSI Programming Application 0 chan_sip.so Session Initiation Protocol (SIP) 0 2 modules loaded -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Nick Brown Sent: Tuesday, November 27, 2007 7:27 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] SIP port 5060 closed - how do I open it? Zaheer, On 28/11/07 9:28 AM, "Zaheer K. Master" <lists at adamantsecurity.com> wrote:> Yes I have a sip.conf, contents as follows: