They don't need to be the same. If they differ, then the REGISTER is
for a 3rd party registration. From RFC3261 Section 10.2:
To: The To header field contains the address of record whose
registration is to be created, queried, or modified. The To
header field and the Request-URI field typically differ, as
the former contains a user name. This address-of-record MUST
be a SIP URI or SIPS URI.
From: The From header field contains the address-of-record of the
person responsible for the registration. The value is the
same as the To header field unless the request is a third-
party registration.
Regards,
Michael Procter
> -----Original Message-----
> From: [EMAIL PROTECTED]
[mailto:sip-implementors-
> [EMAIL PROTECTED] On Behalf Of Thirumal Margabandhu
> Sent: 21 February 2007 05:49
> To: [email protected]
> Subject: [Sip-implementors] SIP registrar info - why from and to
fileds
> aresame
>
> Hi,
>
> While SIP registrar to register that time the From and To user name
> filed will be same. What could be a reason for that. Anyone can answer
for
> this..
>
>
>
> Thanks & Regards,
> Thirumal Margabandhu
>
> ARICENT,
> Off: +91(44)- 24330550 - Extn: 341
> Nandanam, Chennai.
>
> *********************** Aricent-Unclassified
***********************
> "DISCLAIMER: This message is proprietary to Aricent and is intended
solely
> for the use of
> the individual to whom it is addressed. It may contain privileged or
> confidential information and should not be
> circulated or used for any purpose other than for what it is intended.
If
> you have received this message in error,
> please notify the originator immediately. If you are not the intended
> recipient, you are notified that you are strictly
> prohibited from using, copying, altering, or disclosing the contents
of
> this message. Aricent accepts no responsibility for
> loss or damage arising from the use of the information transmitted by
this
> email including damage from virus."
> _______________________________________________
> Sip-implementors mailing list
> [email protected]
> https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors
_______________________________________________
Sip-implementors mailing list
[email protected]
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors