[Kamailio-Users] DNS lookup for requests within dialog

Daniel-Constantin Mierla miconda at gmail.com
Sat Sep 26 21:55:07 CEST 2009



On 26.09.2009 21:48 Uhr, Iñaki Baz Castillo wrote:
> El Sábado, 26 de Septiembre de 2009, Daniel-Constantin Mierla escribió:
>   
>> it was about possibility to consider "register" as dialog and try to 
>> route next registrations without doing dns.
>>     
>
> Ok. Then she would do better by doing fixed routing of REGISTER requests 
> (based on From for example). She could use LCR module to add failover (if the 
> "primary" Asterisk-registrar is down, next REGISTER's are routed to the 
> "secondary" one.
>   
the problem was that the registrars are owned by someone else. The 
routing is done by DNS and the owner of registrars does dns load 
balancing, so returns different ip for DNS queries. So, using hash table 
to cache the relation user-ip came as proposal later in the discussion.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* Kamailio SIP Masterclass, Nov 9-13, 2009, Berlin
* http://www.asipto.com/index.php/sip-router-masterclass/




More information about the Users mailing list