[Freeswitch-users] FreeSWITCH and Amazon EC2 port problem

Diego Viola diego.viola at gmail.com
Fri Jul 11 23:30:18 PDT 2008


Output of "sofia status":

freeswitch at Etch> sofia status
API CALL [sofia(status)] output:
                     Name          Type
Data      State
=================================================================================================
                 external       profile
sip:mod_sofia at 67.202.9.134:5080      RUNNING (0)
                      nat       profile
sip:mod_sofia at 67.202.9.134:5070      RUNNING (0)
                  default         alias
internal      ALIASED
                 internal       profile
sip:mod_sofia at 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 at 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 at Etch> sofia status
> API CALL [sofia(status)] output:
>                     Name          Type
> Data      State
> =================================================================================================
>                 external       profile
> sip:mod_sofia at 67.202.9.134:5080      RUNNING (0)
>                      nat       profile
> sip:mod_sofia at 67.202.9.134:5070      RUNNING (0)
>                  default         alias
> internal      ALIASED
>                 internal       profile
> sip:mod_sofia at 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
>




More information about the FreeSWITCH-users mailing list