[SIPForum-discussion] Port Unreachable on SIP Register
Aizon, Stephen, VF-NZ
Stephen.Aizon at vodafone.com
Mon Nov 28 04:19:06 UTC 2011
Hello Paul,
The destination is unreachable and therefore the reason why there is no response as you can see the protocol used below is ICMP...
You need at least to reach that destination IP first via ICMP so that you can get a SIP response back with the desired Message for your Registration to be successful.
Cheers,
Stephen
From: Paul Blades [mailto:paulblades at tiscali.co.uk]
Sent: 28 November 2011 11:01 a.m.
To: discussion at sipforum.org
Cc: Aizon, Stephen, VF-NZ
Subject: Port Unreachable on SIP Register
Hi,
I'm looking for abit of SIP expertise on a problem with a SIP register with the sip2sip server. I have this working with
Xlite-4 but not with the open-source PJSIP pjsua application. A wire shark trace indicates that the register sent from pjsua
Is not targeting the correct port yet the register looks the same as that for the Xlite-4 except that the destination ip address
last three digits are different:-
Xlite-4:
81.23.228.150
Pjsua:
81.23.228.140
The same information was input into Pjsua as Xlite-4. So its seems odd that the destination address is different (I guess
the port number is not part of the IPv4 address so not sure what port number is being used).
Working Xlite-4 SIP call:-
No Time Source Destination Protocol Info
19 0.476562 <Src IP addr> 81.23.228.150 SIP 609 Request: REGISTER sip:sip2sip.info
20 0.546875 81.23.228.150 <Src IP addr> SIP 571 Status: 401 Unauthorized (0 bindings)
21 0.548828 <Src IP addr> 81.23.228.150 SIP 805 Request: REGISTER sip:sip2sip.info
22 0.656250 81.23.228.150 <Src IP addr> SIP 614 Status: 200 OK (1 bindings)
PJSIP pjsua application:-
No Time Source Destination Protocol Info
24 80.093750 <Src IP addr> 81.23.228.140 SIP 590 Request: REGISTER sip:sip2sip.info
25 80.156250 81.23.228.140 <Src IP addr> ICMP 590 Destination unreachable (Port unreachable)
The explaination for Port Unreachable is:-
"Unlike the Network Unreachable and Host Unreachable messages which come from routers,
the Port Unreachable message comes from a host. The protocol (TCP or UDP) tried to send the data
up to the destination port number (TCP or UDP port) and the port process didn't exist. The protocol handler
then reports Destination Unreachable - Port Unreachable."
-----------------------------------------------------------------------------------------------
Have you seen our website?.... http://www.vodafone.co.nz
Manage Your Account, check your Vodafone Mail and send web2TXT online: http://www.vodafone.co.nz/myvodafone
CAUTION: This correspondence is confidential and intended for the named recipient(s) only.
If you are not the named recipient and receive this correspondence in error, you must not copy,
distribute or take any action in reliance on it and you should delete it from your system and
notify the sender immediately. Thank you.
Unless otherwise stated, any views or opinions expressed are solely those of the author and do
not represent those of Vodafone New Zealand Limited.
Vodafone New Zealand Limited
20 Viaduct Harbour Avenue, Private Bag 92161, Auckland 1142
Telephone + 64 9 355 2000
Facsimile + 64 9 355 2001
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20111128/5cc924bb/attachment-0002.html>
More information about the discussion
mailing list