Hi ,
I am a newbie who started working on Kamailio only few days ago. I am trying to setup kamailio in such a way that kamailio acts as a load balancer for 2 or more asterisk systems. i have following queries.
1. As i understand , all the SIP registration will be done with Kamailio and the Media of the calls will be routed to Asterisks in a round robin fashion. In such a case , is it required that all the extension numbers to be used are to be configured in all the asterisk systems included in the setup ? 2. If extension 1000 is in asterisk1 and extension 1001 is in asterisk2 , then is it possible to make internal calls between these extensions ? 3. Is it possible to have TLS based registrations to Kamailio 4. My plan is to build a system which can handle 10000s of extensions . So the system is supposed to be scaled up by adding more asterisk servers in order to accommodate more and more extensions as required .
THanks and Regards Abdul Rasheed
Hello,
On 11.06.20 20:16, Abdul Rasheed wrote:
Hi ,
I am a newbie who started working on Kamailio only few days ago. I am trying to setup kamailio in such a way that kamailio acts as a load balancer for 2 or more asterisk systems. i have following queries.
1. As i understand , all the SIP registration will be done with Kamailio and the Media of the calls will be routed to Asterisks in a round robin fashion.
it is up to the selected dispatcher algorithm how the traffic is distributed. Round robin is one of the algorithms, but there are more than 10 to select from.
In such a case , is it required that all the extension numbers to be used are to be configured in all the asterisk systems included in the setup ? 2. If extension 1000 is in asterisk1 and extension 1001 is in asterisk2 , then is it possible to make internal calls between these extensions ?
It is depending on how asterisk do the routing between them.
3. Is it possible to have TLS based registrations to Kamailio
Kamailio can handle TLS.
Cheers, Daniel
- My plan is to build a system which can handle 10000s of extensions
- . So the system is supposed to be scaled up by adding more asterisk
servers in order to accommodate more and more extensions as required .
Hi Daniel,
THanks for your response. Is there any sample configuration available , for routing the internal calls between 2 extensions being registered in different Asterisk machines using Kamailio scripts ?
THanks Abdul Rasheed
On Fri, Jun 12, 2020 at 6:57 PM Daniel-Constantin Mierla miconda@gmail.com wrote:
Hello,
On 11.06.20 20:16, Abdul Rasheed wrote:
Hi ,
I am a newbie who started working on Kamailio only few days ago. I am trying to setup kamailio in such a way that kamailio acts as a load balancer for 2 or more asterisk systems. i have following queries.
- As i understand , all the SIP registration will be done with
Kamailio and the Media of the calls will be routed to Asterisks in a round robin fashion.
it is up to the selected dispatcher algorithm how the traffic is distributed. Round robin is one of the algorithms, but there are more than 10 to select from.
In such a case , is it required that all the extension numbers to be used are to be configured in all the asterisk systems included in the setup ? 2. If extension 1000 is in asterisk1 and extension 1001 is in asterisk2 , then is it possible to make internal calls between these extensions ?
It is depending on how asterisk do the routing between them.
- Is it possible to have TLS based registrations to Kamailio
Kamailio can handle TLS.
Cheers, Daniel
- My plan is to build a system which can handle 10000s of extensions
- . So the system is supposed to be scaled up by adding more asterisk
servers in order to accommodate more and more extensions as required .
-- Daniel-Constantin Mierla -- www.asipto.com www.twitter.com/miconda -- www.linkedin.com/in/miconda Funding: https://www.paypal.me/dcmierla