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

Hector Geraldino Hector.Geraldino at ip-soft.net
Wed Dec 14 21:31:58 MSK 2011


A few tips:
First, is FS running?
Can you check if the port is in use by doing a lsof -i ?
Can you try to listen to this port, by using nc? (something like nc -v -l ipaddress portnumber). After doing that, try to connect to the machine/port using telnet, so we can discard a network issue.

Good luck!

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Henrik Aagaard Sørensen
Sent: Wednesday, December 14, 2011 1:19 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] FreeSWITCH doesn't get SIP registers.

I just get this:
service firewall stop
firewall: unrecognized service


On Wed, Dec 14, 2011 at 7:11 PM, Peter Olsson <peter.olsson at visionutveckling.se<mailto:peter.olsson at visionutveckling.se>> wrote:
CentOS enables it by default I think. Try 'service firewall stop' if it helps. Wireshark might detect packets even if they are filtered later on.

/Peter

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

But I'm able to see incoming SIP on port 5060 with wireshark. And I
haven't installed any firewall?

On 14/12/2011, at 12.47, Peter Olsson <peter.olsson at visionutveckling.se<mailto:peter.olsson at visionutveckling.se>> wrote:

> 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<mailto: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<mailto: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><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><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><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><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><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<tel:83.221.133.18>
> SIP-IP           83.221.133.18<tel:83.221.133.18>
> URL               sip:mod_sofia at 83.221.133.18:5080<http://sip:mod_sofia@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><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<tel:83.221.133.18> SIP Request: REGISTER sip:83.221.133.18<tel:83.221.133.18>
>  3.997431 96.224.14.164 -> 83.221.133.18<tel:83.221.133.18> SIP Request: REGISTER sip:83.221.133.18<tel: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?
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org<mailto:consulting at freeswitch.org>
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

!DSPAM:4ee8e13532768713110985!


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com




Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111214/3359face/attachment.html 


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