[asterisk-users] Asterisk ports

Gary Kuznitz docfxit at theoffice.la
Thu Dec 2 15:22:17 CST 2010



On 2 Dec 2010 at 15:11, Danny (Danny Nicholas <danny at debsinc.com>) commented 
about RE: [asterisk-users] Asterisk ports:

> -----Original Message-----
> From: asterisk-users-bounces at lists.digium.com
> [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Gary Kuznitz 
> Sent: Thursday, December 02, 2010 3:06 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: [asterisk-users] Asterisk ports
> 
> Shouldn't Asterisk be listening on UDP port 5060?
> 
> I'm working with an Asterisk installation running in Ubuntu.  Asterisk is
> running but 
> non of the phone are connecting. I ran netstat -a and I didn't see 5060.  Am
> I 
> supposed to see something listening?
> 
> Thank you,
> 
> Gary
> 
> Try netstat -anp|grep ast
> 
> This will show you all of the ports and addresses asterisk is using (if it
> is running).
 Thank you for the reply.

Does this look correct?  I don't know what port the sip phones are supposed to be 
communicating on.

tcp        0      0 0.0.0.0:5038            0.0.0.0:*               LISTEN     5382/asterisk       
tcp        0      0 0.0.0.0:2000            0.0.0.0:*               LISTEN     5382/asterisk       
tcp        0      0 0.0.0.0:8088            0.0.0.0:*               LISTEN     5382/asterisk       
udp        0      0 0.0.0.0:2727            0.0.0.0:*                          5382/asterisk       
udp        0      0 0.0.0.0:4520            0.0.0.0:*                          5382/asterisk       
udp        0      0 0.0.0.0:4569            0.0.0.0:*                          5382/asterisk       
unix  2      [ ACC ]     STREAM     LISTENING     18059    5382/asterisk       
/var/run/asterisk.ctl
unix  2      [ ACC ]     STREAM     LISTENING     20522    5768/fast-user-swit 
/tmp/orbit-docfxit/linc-1688-0-54225d8adde37
unix  2      [ ]         DGRAM                    32588    5382/asterisk       
unix  3      [ ]         STREAM     CONNECTED     20729    5768/fast-user-swit 
unix  3      [ ]         STREAM     CONNECTED     20728    5768/fast-user-swit 
unix  3      [ ]         STREAM     CONNECTED     20727    5768/fast-user-swit 
/tmp/orbit-docfxit/linc-1688-0-54225d8adde37
unix  3      [ ]         STREAM     CONNECTED     20539    5768/fast-user-swit 
/tmp/orbit-docfxit/linc-1688-0-54225d8adde37
unix  3      [ ]         STREAM     CONNECTED     20526    5768/fast-user-swit 
unix  3      [ ]         STREAM     CONNECTED     20525    5768/fast-user-swit 
/tmp/orbit-docfxit/linc-1688-0-54225d8adde37
unix  3      [ ]         STREAM     CONNECTED     20520    5768/fast-user-swit 
unix  3      [ ]         STREAM     CONNECTED     20508    5768/fast-user-swit 

Thank you,

Gary





More information about the asterisk-users mailing list