Hi Abhishek,
Moving discussion to Sip-Implementors.
For B2BUA this are two calls (caller side and callee side).
Refer to Call-ID of incoming INVITE request and outgoing INVITE request.
Both are different means two dialogs/session will be established if call is
successful.
Because both INVITE request belong to two dialogs/session so can
have different From, To header. B2BUA keeps mapping between this two
dialogs.
Regards,
Ravi Kumar
****************************************************************************
****************************
This e-mail and attachments contain confidential information from HUAWEI,
which is intended only for the person or entity whose address is listed
above. Any use of the information contained herein in any way (including,
but not limited to, total or partial disclosure, reproduction, or
dissemination) by persons other than the intended recipient's) is
prohibited. If you receive this e-mail in error, please notify the sender by
phone or email immediately and delete it
_____
From: [email protected] [mailto:[email protected]] On Behalf Of
Abhishek Gupta
Sent: Monday, May 30, 2011 9:17 PM
To: [email protected]; [email protected]
Subject: [Sip] Clarification with respect to "To" and "From" headers
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@AP1 SIP/2.0
Via: SIP/2.0/UDP IP1;branch=z9hG4bK776asdhds
Max-Forwards: 70
To: <sip:5555@AP1>
From: <sip:1111@IP1>;tag=1928301774
Call-ID: a84b4c76e66710@IP1
CSeq: 1 INVITE
Contact: <sip:1111@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@IP2 SIP/2.0
Via: SIP/2.0/UDP AP2;branch=z9hG4bKhoiasdb
Max-Forwards: 69
To: <sip:5555@AP2>
From: <sip:1111@AP2>;tag=98765479
Call-ID: ufs8doi8afjnfd67asdfhu
CSeq: 1 INVITE
Contact: <sip:1111@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
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors