[SIPForum-discussion] rport and received parameter in Via header

Thomas Lentz LENTZ at de.ibm.com
Thu Sep 28 08:32:18 UTC 2017


Dear Gnana,
let me answer you inline...

What is the purpose of rport and received parameter in sip via header? 
The purpose of the rport parameter is to convey the fact that your SIP UAC 
(VoIP-Phone) isn't able to detect its external signalling port (e.g. 
because it is behind a Firewall or NAT/PAT) and consequently the port 
information in the Contact header mitght be wrong.
The received parameter is populated by the UAS (SIP Server / VoIP 
platform). The UAS puts in the received parameter the source port from the 
IP packet which was sent from the UAC, that carried your SIP message.

Will it be needed if sip client is behind NAT router? 
It is needed in cases where the VoIP phone isn't able to determine its 
communication parameters (IP/Port in Contact), normally it doesn't harm, 
when rport is sent although the Contact header carries correct 
information.

If so, how router can process this sip header as router only handle the IP 
header but cannot application layer header?
Your local router isn't responsible to populate the received parameter, 
since (as you already correctly stated) this is an application layer 
header. It is the responsibility of the SIP platfrom.

Ideally the  SIP UAC / VoIP phone learnse its external port and 
re-register and/or sends it subsequent SIP Messages with the updated 
external port.
If you didn't stumble across it yet:

https://www.ietf.org/rfc/rfc3581.txt

Greetings
 Thomas


Mit freundlichen Grüßen / Kind regards

Thomas Lentz

Senior IT Architect
Global Business Services
NGN Competence Center (www.ngn-factory.com)


Phone:
+49-69-90551-137
 IBM Deutschland

Mobile:
+49-175-2232071
 Wilhelm-Fay-Str. 30-34
E-Mail:
lentz at de.ibm.com
 65936 Frankfurt


 Germany


IBM Deutschland GmbH / Vorsitzender des Aufsichtsrats: Martin Jetter
Geschäftsführung: Martina Koederitz (Vorsitzende), Nicole Reimer, Norbert 
Janzen, Ivo Koerner, Stefan Lutz Sitz der Gesellschaft: Ehningen / 
Registergericht: Amtsgericht Stuttgart, HRB 14562 WEEE-Reg.-Nr. DE 
99369940 




From:   Gnana Guru Natarajan <gnanaguru3012 at gmail.com>
To:     discussion at sipforum.org
Date:   27.09.2017 18:41
Subject:        [SIPForum-discussion] rport and received parameter in Via 
header
Sent by:        discussion-bounces at sipforum.org



Hi,

       What is the purpose of rport and received parameter in sip via 
header? Will it be needed if sip client is behind NAT router? If so, how 
router can process this sip header as router only handle the IP header but 
cannot application layer header?

Thanks,
Gnana Guru N._______________________________________________
This is the SIP Forum discussion mailing list
TO UNSUBSCRIBE, or edit your delivery options, please visit 
http://mail.sipforum.org/mailman/listinfo/discussion
Post to the list at discussion at sipforum.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.sipforum.org/pipermail/discussion/attachments/20170928/b49c0d53/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1851 bytes
Desc: not available
URL: <http://mail.sipforum.org/pipermail/discussion/attachments/20170928/b49c0d53/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 9428 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.sipforum.org/pipermail/discussion/attachments/20170928/b49c0d53/attachment-0001.bin>


More information about the discussion mailing list