[SIPForum-discussion] Clarification with respect to "To" and "From" headers

Abhishek Gupta gupta.kumar.abhishek at gmail.com
Mon May 30 15:46:38 UTC 2011


Hi Forum,


I have a simple scenario as mentioned below -


EP1-------------------->SBC-------------------->EP2


As we all know that an SBC is a B2BUA device and its main function is
Topology Hiding that is achieved through header manipulation.

Now, for EP1, SBC acts as a UAS and for EP2 it acts as a UAC.

I have configured two endpoints EP1 with IP1 and EP2 with IP2 that access
the SBC through AP1 and AP2 respectively (Pls read AP as Access Point).  An
Access Point is nothing but an IP through which EP1 and EP2 communicate.

Say, EP1 sends INVITE to SBC containing as follows -


INVITE sip:5555 at AP1 SIP/2.0
Via: SIP/2.0/UDP IP1;branch=z9hG4bK776asdhds
Max-Forwards: 70
To: <sip:5555 at AP1>
From: <sip:1111 at IP1>;tag=1928301774
Call-ID: a84b4c76e66710 at IP1
CSeq: 1 INVITE
Contact: <sip:1111 at IP1>
Content-Type: application/sdp

(SDP not shown)


Upon receiving INVITE, SBC forms a request and forwards to the EP2 as
follows -

INVITE sip:5555 at IP2 SIP/2.0
Via: SIP/2.0/UDP AP2;branch=z9hG4bKhoiasdb
Max-Forwards: 69
To: <sip:5555 at AP2>
From: <sip:1111 at AP2>;tag=98765479
Call-ID: ufs8doi8afjnfd67asdfhu
CSeq: 1 INVITE
Contact: <sip:1111 at AP2>
Content-Type: application/sdp

(SDP not shown)



Although the call was successful after responses from EP2, I would kindly
like to know from your side how correct is "To" and "From" header values
with respect to leg2 as highlighted ??  Though there is no impact due of
this behavior.

If it is correct, no issues !
If it is incorrect what should be the correct behavior ?



Thanks & Regards,

Abhishek Kumar Gupta
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sipforum.org/pipermail/discussion/attachments/20110530/97cf9ce8/attachment-0002.html>


More information about the discussion mailing list