[sr-dev] Registrar lookup function - check for local socket before path

Daniel-Constantin Mierla miconda at gmail.com
Sat Sep 14 21:31:33 CEST 2013


On 9/14/13 9:29 PM, Juha Heinanen wrote:
> Daniel-Constantin Mierla writes:
>
>>   From what I understood, all records in location will have a Path
>> header, added with the local IP of the server that handled the REGISTER.
>> So load_contacts() priority on non-path records doesn't help.
> my point was that if you have two registrars each having its own
> location table, then it makes sense to include path only when
> registration is forwarded from the other registrar.
ok, I overlooked that part. I thought is shared db.

Cheers,
Daniel

>    and if it is done
> like that, load_contacts() always favors contact w/o path.
>
> this was just a discussion.  it is ok with me to add whatever to any
> module that i'm myself not responsible for.
>
> -- juha

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
   - more details about Kamailio trainings at http://www.asipto.com -




More information about the sr-dev mailing list