[Kamailio-Users] Local routing

Daniel-Constantin Mierla miconda at gmail.com
Thu Aug 6 10:23:00 CEST 2009



On 05.08.2009 12:22 Uhr, Stanis?aw Pitucha wrote:
> 2009/8/5 Martin Werne <martin.werne at googlemail.com>:
>   
>> - A total of appr. 2000 ATAs/IP Phones (today appr. 300).
>> - Routing to various providers/gateways via custom made OSP-server.
>> - Two Kamailio-servers on different geographic locations.
>> - Load-balancing/Failover of ATA's by use of DNS-SRV.
>>
>> The main "problem" I see, is how local calls between ATA's registered on each of the Kamailio-servers is routed.
>> How can Kamailio1 route a call to an ATA registered on Kamailio2?
>>
>> What is best in this scenario?
>>
>> 2. Let the Kamailio-servers share the same database (same location-table)?
>>     
>
> I'd go for that one. It worked really well for me. You can add a
> multi-master replication
i am using master-master (cross replication) which works fine but when 
synchronization screws up, becomes quite tricky. Alternative is one 
master (writer) per a db table and one or more readers on replicated 
nodes node.

Cheers,
Daniel

>  between mysql servers for example (to have a
> lower access time between the openser and db). But if you're using the
> standard registration time (3600s), it might be an overkill (only
> 0.555 registrations/s with 2000 clients).
>   
> If both proxies can reach any registered phone, you don't have to do
> anything else. If you have to route through the same proxy the phone
> is registered on, you can solve it with either path, or some simple
> custom logic.
>
> Watch out for ATAs and phones with broken SRV randomisation - many
> will select the first entry every time. If your dns server is normal
> and doesn't randomise the order, you may end up with every phone using
> the same proxy all the time, or some strange split (30/70 was fairly
> standard for me when using any random phones).
>
> _______________________________________________
> Kamailio (OpenSER) - Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>
>   

-- 
Daniel-Constantin Mierla
* SIP Router Bootcamp
* Kamailio (OpenSER) and Asterisk Training
* Berlin, Germany, Sep 1-4, 2009
* http://www.asipto.com/index.php/sip-router-bootcamp/





More information about the sr-users mailing list