Discussion:
Clarification with respect to "To" and "From" headers
Abhishek Gupta
2011-05-30 15:46:38 UTC
Permalink
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:***@AP1 SIP/2.0
Via: SIP/2.0/UDP IP1;branch=z9hG4bK776asdhds
Max-Forwards: 70
To: <sip:***@AP1>
From: <sip:***@IP1>;tag=1928301774
Call-ID: ***@IP1
CSeq: 1 INVITE
Contact: <sip:***@IP1>
Content-Type: application/sdp

(SDP not shown)


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

INVITE sip:***@IP2 SIP/2.0
Via: SIP/2.0/UDP AP2;branch=z9hG4bKhoiasdb
Max-Forwards: 69
To: <sip:***@AP2>
From: <sip:***@AP2>;tag=98765479
Call-ID: ufs8doi8afjnfd67asdfhu
CSeq: 1 INVITE
Contact: <sip:***@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
Iñaki Baz Castillo
2011-05-30 16:06:21 UTC
Permalink
Post by Abhishek Gupta
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 ?
Hi Abhishek. First of all, I strongly think this kind of questions
should take place in sip-implementors maillist rather than here (this
maillist is to discuss about SIP related specifications).

Replying your question (but please, next one ask in sip-implementors)
a B2BUA can behave as it wants, so if it desires it can change From/To
or whatever. From the point of view of pure SIP, EP1 just cares about
signalling with B2BUA (UAS) and EP2 just cares about signalling with
B2BUA (UAC).
--
Iñaki Baz Castillo
<***@aliax.net>
_______________________________________________
Sip mailing list https://www.ietf.org/mailman/listinfo/sip
This list is essentially closed and only used for finishing old business.
Use sip-***@cs.columbia.edu for questions on how to develop a SIP implementation.
Use ***@ietf.org for new developments on the application of sip.
Use ***@ietf.org for issues related t
Loading...