(This is to correct some details of my previous message, though I don't
think there's any misunderstanding of the facts now.)

On Tue, 2008-12-02 at 09:58 -0500, Arjun Nair wrote:
> > Summarizing this discussion, if a UA registers with a Path and is issued
> > a GRUU, the <reginfo> will look like this:
> > 
> > <?xml version="1.0"?>
> > <reginfo xmlns="urn:ietf:params:xml:ns:reginfo"
> >          xmlns:gr="urn:ietf:params:xml:ns:gruuinfo"
> >      version="1" state="partial">
> >   <registration aor="sip:[EMAIL PROTECTED]" id="a7" state="active">
> >     <contact id="76" state="active" event="registered"
> >          duration-registered="100">
> >        <uri>sip:[EMAIL PROTECTED]</uri>
> >        <unknown-param name=path>sip:my.path.com</unknown-param> 
> >        <gr:pub-gruu uri="sip:[EMAIL PROTECTED];gr=hha9s8d-999a"/>
> >     </contact>
> >   </registration>
> > </reginfo>
> > 
> 
> Did you leave out the <unknown-param name="+sip.instance"> element on 
> purpose? 

At the time I wrote the message you responded to, I had forgotten that
for the registrar to construct a GRUU, the phone must provide an
instance ID (although the phone does not need to support GRUU per se).
So I omitted the unknown-param element.  But as you point out, if
pub-gruu is present, then unknown-param/+sip.instance will be present.

> > The recipient of this document can access this UA via
> > "sip:[EMAIL PROTECTED];gr=hha9s8d-999a", or
> > "sip:[EMAIL PROTECTED]:my.path.com", or
> > "sip:[EMAIL PROTECTED]", depending on which components of reginfo it
> > understands.  The first is preferable to the second, and the third may
> > not work.
> > 
> 
> Now, I take it that in this case you mean the GRUU address is
> "hha9s8d-999a", and "[EMAIL PROTECTED]" is the"[EMAIL PROTECTED]"?

The usual terminology is that "sip:[EMAIL PROTECTED];gr=hha9s8d-999a" is
the GRUU (since a GRUU is always a URI).  "hha9s8d-999a" would be called
"the gr parameter value".

In principle, the registrar (or whatever) is allowed to construct GRUUs
pretty much however it wants, with the single restriction that the "gr"
URI parameter must be present (with or without a value).  The "gr"
parameter is what marks the URI as a GRUU.  But in our case, its
presence as the content of the pub-gruu element also ensures that it is
a GRUU.

Dale


_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev
Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev

Reply via email to