[sr-dev] gruu lookup question

Daniel-Constantin Mierla miconda at gmail.com
Thu Apr 19 11:02:00 CEST 2012



On 4/19/12 10:33 AM, Juha Heinanen wrote:
> 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
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-dev mailing list