On 4/19/12 10:08 AM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
yes, $du is set like for a normal location
lookup.
good. by the way, lookup() function documentation in registrar/README
does not say anything about setting of $du.
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.
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).
Cheers,
Daniel
--
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/