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.
just add what you find missing. It is one of the oldest functions in the
application, most if its behavior in relation with the config is there
for long time...
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany