[Freeswitch-users] Ang.: FreeSWITCH doesn't get SIP registers.

Peter Olsson peter.olsson at visionutveckling.se
Wed Dec 14 20:43:14 MSK 2011


Check the firewall settings on the box, or deactivate the firewall, that's the most probable cause.

/Peter

----- Reply message -----
Från: "Henrik Aagaard Sørensen" <henrikaagaardsorensen at gmail.com>
Datum: ons, dec 14, 2011 18:26
Rubrik: [Freeswitch-users] FreeSWITCH doesn't get SIP registers.
Till: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>

I've installed FreeSWITCH on a clean CentOS 6 server. No errors etc.
It startup fine, again without any errors.

But when I try to connect a SIP client to the sample extension 1000 (or any other) I get a timeout.

When I run netstat -tnulp | grep "freeswitch" I get:
tcp        0      0 83.221.133.18:5080<http://83.221.133.18:5080>          0.0.0.0:*                   LISTEN      1167/freeswitch
tcp        0      0 83.221.133.18:5060<http://83.221.133.18:5060>          0.0.0.0:*                   LISTEN      1167/freeswitch
tcp        0      0 127.0.0.1:8021<http://127.0.0.1:8021>              0.0.0.0:*                   LISTEN      1167/freeswitch
tcp        0      0 2001:1448:246:9f47:216:5060 :::*                        LISTEN      1167/freeswitch
udp        0      0 83.221.133.18:5080<http://83.221.133.18:5080>          0.0.0.0:*                               1167/freeswitch
udp        0      0 83.221.133.18:5060<http://83.221.133.18:5060>          0.0.0.0:*                               1167/freeswitch
udp        0      0 2001:1448:246:9f47:5060     :::*                                    1167/freeswitch

In fs_cli, when I run sofia status profile external, I get:
Name             external
Domain Name       N/A
Auto-NAT         false
DBName           sofia_reg_external
Pres Hosts
Dialplan         XML
Context           public
Challenge Realm   auto_to
RTP-IP           83.221.133.18
SIP-IP           83.221.133.18
URL               sip:mod_sofia at 83.221.133.18:5080<http://sip:mod_sofia@83.221.133.18:5080>
BIND-URL         sip:mod_sofia at 83.221.133.18:5080<http://sip:mod_sofia@83.221.133.18:5080>
HOLD-MUSIC       local_stream://moh
OUTBOUND-PROXY   N/A
CODECS IN         G7221 at 32000h,G7221 at 16000h,G722,PCMU,PCMA,GSM
CODECS OUT       PCMU,PCMA,GSM
TEL-EVENT         101
DTMF-MODE         rfc2833
CNG               13
SESSION-TO       0
MAX-DIALOG       0
NOMEDIA           false
LATE-NEG         false
PROXY-MEDIA       false
AGGRESSIVENAT     false
STUN-ENABLED     true
STUN-AUTO-DISABLE false
CALLS-IN         0
FAILED-CALLS-IN   0
CALLS-OUT         0
FAILED-CALLS-OUT 0

When I try to connect and run tshark -f "port 5060" I get:
  0.000000 96.224.14.164 -> 83.221.133.18 SIP Request: REGISTER sip:83.221.133.18
  3.997431 96.224.14.164 -> 83.221.133.18 SIP Request: REGISTER sip:83.221.133.18
...

I've setup FreeSWITCH on other CentOS 6 distro's and Ubuntu, without any problem. This one I cannot figure out though.

Can anyone help?


!DSPAM:4ee8da2532761595686402!



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list