[sr-dev] gruu lookup question

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 19 10:19:53 CEST 2012



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/




More information about the sr-dev mailing list