Discussion:
[Freeswitch-users] SIP Registration Failing
David Wafula
2010-10-11 14:12:19 UTC
Permalink
Somehow, am unable to register a softphone, no matter what i do. I decided
to run wireshark from the machine running the softphone, and so i get the
following:
14485 3007.314022 146.141.76.164 146.141.76.153 ICMP Destination unreachable
(Port unreachable)

146.141.76.164 is the softphone machine, 146.141.76.153 is the server. This
certainly tells me problem, the port, right? But how could it be?

when i run sofia status on the server, it shows me , among many things:

SIP-IP: 146.141.76.153
URL: sip:mod_sofia at 146.141.76.153:5060
BIND-URL: sip:mod_sofia at 146.141.76.153:5060

I assume this port 5060 is the problematic one? And, am running these in a
LAN, all ports are as open as ever.
Thanks again for your help.
--
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101011/76419757/attachment.html
David Wafula
2010-10-11 14:20:55 UTC
Permalink
Post by David Wafula
Somehow, am unable to register a softphone, no matter what i do. I decided
to run wireshark from the machine running the softphone, and so i get the
Just to clarify, the softphone logs the following registration request:

2010-10-11 16:16:59,213 SENT to 146.141.76.153/5060 [Transaction timer]

REGISTER sip:146.141.76.153 SIP/2.0
Via: SIP/2.0/UDP 146.141.76.164:5060;branch=z9hG4bKl6f2ot4Un
Max-Forwards: 70
To: <sip:1000 at 146.141.76.153 <sip%3A1000 at 146.141.76.153>>
From: <sip:1000 at 146.141.76.153 <sip%3A1000 at 146.141.76.153>>;tag=eCje4MAR
Call-ID: Dh8fgLjS-1286806587644 at pc164.seg76.wits.ac.za
CSeq: 0 REGISTER
Contact: <sip:1000 at 146.141.76.164:5060;transport=UDP>


But for the life of me, cant just figure why the registration fails ..
--
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101011/d41c35ef/attachment-0001.html
Jeffrey Leung
2010-10-11 16:13:19 UTC
Permalink
Local clients actually register at port 5080 for the internal context.
You can change that under sofia's sip profile configuration.
Post by David Wafula
Post by David Wafula
Somehow, am unable to register a softphone, no matter what i do. I decided
to run wireshark from the machine running the softphone, and so i get the
2010-10-11 16:16:59,213 SENT to 146.141.76.153/5060 [Transaction timer]
REGISTER sip:146.141.76.153 SIP/2.0
Via: SIP/2.0/UDP 146.141.76.164:5060;branch=z9hG4bKl6f2ot4Un
Max-Forwards: 70
To: <sip:1000 at 146.141.76.153>
From: <sip:1000 at 146.141.76.153>;tag=eCje4MAR
Call-ID: Dh8fgLjS-1286806587644 at pc164.seg76.wits.ac.za
CSeq: 0 REGISTER
Contact: <sip:1000 at 146.141.76.164:5060;transport=UDP>
But for the life of me, cant just figure why the registration fails ..
--
David Wafula
_______________________________________________
FreeSWITCH-users mailing list
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
Brian West
2010-10-11 17:38:57 UTC
Permalink
The default has 5060 for phones to register to... 5080 is where outbound register requests go from to say providers. Never assume because something is done a certain way in the defaults that its the ONLY way you can do things. I could make the defaults so complex that nobody would ever understand them. I am going to do another config setup that is a bit more planned out... the defaults now do not show off a lot of stuff FreeSWITCH is capable of.

/b
Post by Jeffrey Leung
Local clients actually register at port 5080 for the internal context.
You can change that under sofia's sip profile configuration.
David Ponzone
2010-10-11 18:15:43 UTC
Permalink
David,

that wireshark trace says that your FS sent a packet to your softphone
on a specific UDP port, and the TCP/IP stack of the machine where the
softphone runs is replying that the port is not opened with a ICMP
port unreachable.
That's odd.

Can you trace the whole sequence of registration ?

David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34

Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com

Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis
? l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autoris?e est interdite. Tout message ?lectronique est
susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre
de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes
pas destinataire de ce message, merci de le d?truire imm?diatement et
d'avertir l'exp?diteur.
Post by David Wafula
Somehow, am unable to register a softphone, no matter what i do. I
decided to run wireshark from the machine running the softphone, and
14485 3007.314022 146.141.76.164 146.141.76.153 ICMP Destination
unreachable (Port unreachable)
146.141.76.164 is the softphone machine, 146.141.76.153 is the
server. This certainly tells me problem, the port, right? But how
could it be?
SIP-IP: 146.141.76.153
URL: sip:mod_sofia at 146.141.76.153:5060
BIND-URL: sip:mod_sofia at 146.141.76.153:5060
I assume this port 5060 is the problematic one? And, am running
these in a LAN, all ports are as open as ever.
Thanks again for your help.
--
David Wafula
_______________________________________________
FreeSWITCH-users mailing list
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/20101011/97f3a407/attachment.html
David Wafula
2010-10-11 19:49:28 UTC
Permalink
Post by David Ponzone
David,
that wireshark trace says that your FS sent a packet to your softphone on a
specific UDP port, and the TCP/IP stack of the machine where the softphone
runs is replying that the port is not opened with a ICMP port unreachable.
That's odd.
Can you trace the whole sequence of registration ?
i shall certainly post it here as soon as i get back into the network. So it
is possible the problem could be with my network configuration ..
--
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101011/0c3d0608/attachment.html
David Wafula
2010-10-14 14:51:13 UTC
Permalink
Post by David Wafula
i shall certainly post it here as soon as i get back into the network. So
it is possible the problem could be with my network configuration .
Just to confirm that now i got the java softphone (
http://sourceforge.net/projects/peers/) working nicely with Freeswitch,on my
LAN. Next, going to try to make calls from outside the LAN and see how it
goes. The problems i was experiencing had all to do my network
configurations (laptop is both wired and on wireless, the softphone had
issues deciding which of the IPs to use, so i switched off wireless).
--
David Wafula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20101014/8154e063/attachment.html
David Ponzone
2010-10-11 18:15:43 UTC
Permalink
David,

that wireshark trace says that your FS sent a packet to your softphone
on a specific UDP port, and the TCP/IP stack of the machine where the
softphone runs is replying that the port is not opened with a ICMP
port unreachable.
That's odd.

Can you trace the whole sequence of registration ?

David Ponzone Direction Technique
email: david.ponzone at ipeva.fr
tel: 01 74 03 18 97
gsm: 06 66 98 76 34

Service Client IPeva
tel: 0811 46 26 26
www.ipeva.fr - www.ipeva-studio.com

Ce message et toutes les pi?ces jointes sont confidentiels et ?tablis
? l'intention exclusive de ses destinataires. Toute utilisation ou
diffusion non autoris?e est interdite. Tout message ?lectronique est
susceptible d'alt?ration. IPeva d?cline toute responsabilit? au titre
de ce message s'il a ?t? alt?r?, d?form? ou falsifi?. Si vous n'?tes
pas destinataire de ce message, merci de le d?truire imm?diatement et
d'avertir l'exp?diteur.
Post by David Wafula
Somehow, am unable to register a softphone, no matter what i do. I
decided to run wireshark from the machine running the softphone, and
14485 3007.314022 146.141.76.164 146.141.76.153 ICMP Destination
unreachable (Port unreachable)
146.141.76.164 is the softphone machine, 146.141.76.153 is the
server. This certainly tells me problem, the port, right? But how
could it be?
SIP-IP: 146.141.76.153
URL: sip:mod_sofia at 146.141.76.153:5060
BIND-URL: sip:mod_sofia at 146.141.76.153:5060
I assume this port 5060 is the problematic one? And, am running
these in a LAN, all ports are as open as ever.
Thanks again for your help.
--
David Wafula
_______________________________________________
FreeSWITCH-users mailing list
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/20101011/97f3a407/attachment-0003.html
Loading...