FreeSWITCH and Amazon EC2 port problem
Hi I have FreeSWITCH 1.0.0 installed on Amazon EC2, today was working very well... but after I re-installed FS I'm getting some problem with ports. I did followed this guide and opened the required ports: http://wiki.freeswitch.org/wiki/Amazon_ec2 The problem is when I run FS, I see that the normal ports are opened: freeswitch@Etch> sofia status API CALL [sofia(status)] output: Name Type Data State ================================================================================================= external profile sip:mod_sofia@67.202.9.134:5080 RUNNING (0) nat profile sip:mod_sofia@67.202.9.134:5070 RUNNING (0) default alias internal ALIASED internal profile sip:mod_sofia@10.251.203.143:5060 RUNNING (0) ec2-67-202-9-134.compute-1.amazonaws.com alias internal ALIASED outbound alias external ALIASED ================================================================================================= 3 profiles 3 aliases But when I do a netstat -a, I see that 5060 is not opened... there is a 5070 port opened though, but my softphone (X-Lite) doesn't register... what could be wrong? Thanks, Diego
Output of "sofia status": freeswitch@Etch> sofia status API CALL [sofia(status)] output: Name Type Data State ================================================================================================= external profile sip:mod_sofia@67.202.9.134:5080 RUNNING (0) nat profile sip:mod_sofia@67.202.9.134:5070 RUNNING (0) default alias internal ALIASED internal profile sip:mod_sofia@10.251.203.143:5060 RUNNING (0) ec2-67-202-9-134.compute-1.amazonaws.com alias internal ALIASED outbound alias external ALIASED ================================================================================================= 3 profiles 3 aliases Output of netstat -a: Etch:/usr/local/freeswitch# netstat -a Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 ip-10-251-203-143.e:sip *:* LISTEN tcp 0 0 ip-10-251-203-143.:5070 *:* LISTEN tcp 0 0 localhost:zope-ftp *:* LISTEN tcp 0 0 *:ssh *:* LISTEN tcp 0 0 ip-10-251-203-143.:5080 *:* LISTEN tcp 0 48 ip-10-251-203-143.e:ssh adsl-132-64.click:63370 ESTABLISHED udp 0 0 ip-10-251-203-143.e:sip *:* udp 0 0 *:bootpc *:* udp 0 0 ip-10-251-203-143.:5070 *:* udp 0 0 ip-10-251-203-143.:5080 *:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 4 [ ] DGRAM 1093 /dev/log unix 3 [ ] STREAM CONNECTED 167068 unix 3 [ ] STREAM CONNECTED 167067 unix 3 [ ] STREAM CONNECTED 167063 unix 3 [ ] STREAM CONNECTED 167062 unix 3 [ ] STREAM CONNECTED 167001 unix 3 [ ] STREAM CONNECTED 167000 unix 3 [ ] STREAM CONNECTED 166988 unix 3 [ ] STREAM CONNECTED 166987 unix 3 [ ] STREAM CONNECTED 166983 unix 3 [ ] STREAM CONNECTED 166982 unix 3 [ ] STREAM CONNECTED 166968 unix 3 [ ] STREAM CONNECTED 166967 unix 2 [ ] DGRAM 156291 unix 2 [ ] DGRAM 1108 Etch:/usr/local/freeswitch# FreeSWITCH says that port 5060 is open but netstat -a doesn't show it... and X-Lite wont register, what could be wrong? Diego On Sat, Jul 12, 2008 at 2:29 AM, Diego Viola <diego.viola@gmail.com> wrote:
Hi
I have FreeSWITCH 1.0.0 installed on Amazon EC2, today was working very well... but after I re-installed FS I'm getting some problem with ports.
I did followed this guide and opened the required ports: http://wiki.freeswitch.org/wiki/Amazon_ec2
The problem is when I run FS, I see that the normal ports are opened:
freeswitch@Etch> sofia status API CALL [sofia(status)] output: Name Type Data State ================================================================================================= external profile sip:mod_sofia@67.202.9.134:5080 RUNNING (0) nat profile sip:mod_sofia@67.202.9.134:5070 RUNNING (0) default alias internal ALIASED internal profile sip:mod_sofia@10.251.203.143:5060 RUNNING (0) ec2-67-202-9-134.compute-1.amazonaws.com alias internal ALIASED outbound alias external ALIASED ================================================================================================= 3 profiles 3 aliases
But when I do a netstat -a, I see that 5060 is not opened... there is a 5070 port opened though, but my softphone (X-Lite) doesn't register... what could be wrong?
Thanks,
Diego
I got it, thanks Brian. Etch:/usr/local/freeswitch# netstat -na Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 10.251.203.143:5060 0.0.0.0:* LISTEN tcp 0 0 10.251.203.143:5070 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:8021 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN tcp 0 0 10.251.203.143:5080 0.0.0.0:* LISTEN tcp 0 96 10.251.203.143:22 190.52.132.64:61347 ESTABLISHED udp 0 0 10.251.203.143:5060 0.0.0.0:* udp 0 0 0.0.0.0:68 0.0.0.0:* udp 0 0 10.251.203.143:5070 0.0.0.0:* udp 0 0 10.251.203.143:5080 0.0.0.0:* Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node Path unix 4 [ ] DGRAM 1093 /dev/log unix 3 [ ] STREAM CONNECTED 168159 unix 3 [ ] STREAM CONNECTED 168158 unix 3 [ ] STREAM CONNECTED 168153 unix 3 [ ] STREAM CONNECTED 168152 unix 3 [ ] STREAM CONNECTED 168147 unix 3 [ ] STREAM CONNECTED 168146 unix 3 [ ] STREAM CONNECTED 168142 unix 3 [ ] STREAM CONNECTED 168141 unix 3 [ ] STREAM CONNECTED 168132 unix 3 [ ] STREAM CONNECTED 168131 unix 3 [ ] STREAM CONNECTED 168127 unix 3 [ ] STREAM CONNECTED 168126 unix 2 [ ] DGRAM 156291 unix 2 [ ] DGRAM 1108 Etch:/usr/local/freeswitch# On Sat, Jul 12, 2008 at 9:13 AM, Brian West <brian@freeswitch.org> wrote:
you'll need to do netstat -na but this one is :sip which means :5060
/b
On Jul 12, 2008, at 1:30 AM, Diego Viola wrote:
tcp 0 0 ip-10-251-203-143.e:sip *:* LISTEN
_______________________________________________ Freeswitch-users mailing list Freeswitch-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
participants (2)
-
Brian West
-
Diego Viola