while testing tryit client, i started to wonder how lookup is done when
request uri of an in-dialog request contains a public gruu such as in
this:
BYE sip:bar@test.fi;gr=urn:uuid:38056f74-308b-42c9-b16d-0fa61b6ff1a1 SIP/2.0
registrar/lookup.c has:
if(puri.gr.s==NULL || puri.gr_val.len>0)
{
/* aor or pub-gruu lookup */
ul.lock_udomain(_d, &aor);
res = ul.get_urecord(_d, &aor, &r);
...
why is lookup done based on aor bar(a)test.fi instead of gruu
urn:uuid:38056f74-308b-42c9-b16d-0fa61b6ff1a1 found in location/instance
field?
-- juha