The URI you use in the Contact for requests and responses can be 
anything that works for you. It need not have any relationship to the 
contact you registered. However, if you receive a request that was 
addressed to your AOR and routed to you via your registered contact, 
then the contact you supply in the response ought to be something that 
is guaranteed to reach your same UA. Some possibilities are:
- the URI you supplied as Contact to REGISTER
- one of the GRUUs returned by the registrar (if there were some)
- the AOR you registered.

The URI you registered is the frequent choice. It will usually work for 
the duration of a dialog established by the initial request to you. But 
it is often not globally routable, and so it may not work if the other 
UA uses that address to initiate another out-of-dialog request to you.

The GRUUs are intended to solve that problem. If you can get the GRUU 
then it is probably a better choice. It will help ensure that features 
like transfer work properly.

If you don't have a GRUU, and your contact isn't globally routable, then 
you can try your AOR. The problem is that in general there is no 
guarantee that requests sent to it will reach your same UA. There might 
be other UAs also registered for the same AOR and a request may reach 
one of them instead. So this is not a good choice in most cases.

        Good Luck,
        Paul

On 11/11/2010 1:12 PM, meena singla wrote:
>
>
> what about the Sip-URI with which user has registered?
>
> whether the contact header contains SIP-URI plus gruu or it will contain only 
> gruu?
> ----- Original Message -----
> From: "Iñaki Baz Castillo"<i...@aliax.net>
> To: "meena singla"<meena.sin...@rancoretech.com>
> Cc: sip-implementors@lists.cs.columbia.edu
> Sent: Wednesday, November 10, 2010 8:05:52 PM GMT +05:30 Chennai, Kolkata, 
> Mumbai, New Delhi
> Subject: Re: [Sip-implementors] regarding gruu
>
> 2010/11/10 meena singla<meena.sin...@rancoretech.com>:
>> 1) what will be the content of contact header?
>> 2) contact header field can contain only gruu ?
>> 4) contact header can contain temp-gruu only?
>
> Contact header can contain public and/or private/temp gruu.
>
>
>
_______________________________________________
Sip-implementors mailing list
Sip-implementors@lists.cs.columbia.edu
https://lists.cs.columbia.edu/cucslists/listinfo/sip-implementors

Reply via email to