Daniel-Constantin Mierla writes:
Just came in my mind, it sets other fields, including Route headers built out of Path. Wonder if would be conflicts if first hop is not the registrar/location server and for the call will be other Route set.
i don't know about path, but i call lookup() on in-dialog requests containing gruu in ruri only if $du is empty after loose_route().
Regarding the docs, lookup sets all the attributes that are specific for a branch: uri, dst_uri, local socket, branch flags (struct branch in dset.h).
yes, and nothing about that is mentioned in description of lookup() function.
-- juha