Tuesday, November 27, 2007

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@lists.digium.com [mailto:asterisk-users-bounces@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

 

 

 

No comments: