Hello Kamailio, VoIP and asterisk gurus,
I have the following really complicated scenario to solve.
I have CompanyA which has extensions 100-120 I have CompanyB which has extensions 100-115 I have CompanyC which has extensions 100-130
Now I want to have all those extensions on a single kamailio box, but I want to achieve the following. CompanyA calls 110 and this rings CompanyA 110 not CompanyB or CompanyC. What I want to achive is multitenancy.
I know how to make this in asterisk but I want to take advantage of Kamailio's load balancing and HA features.
Sammy from the mailing lists advised that I use multidomain and actually I saw that this module is indeed intended to do that, however I have no clue how to use it.
I mean do I have to setup a domain for all the companies ? For instance companya.itradebg.com, companyb.itradebg.com and then advise the customers to register to their respective domain or what ?
This concept is really a bit tough for me despite all the help from Sammy for which I am really greatful.
I would greatly appreciate any tutorials or links to some useful documentation apart from the module documentation.
Thank you in advance guys.
Best regards, Rumen http://itradebg.com
Hi Rumen,
Im sorry to have missed the chance to give you extended details earlier. As per my experience you've to do the following:
1. Load the domain.so module. Point the domain names (DNS URLs) to your kamailio IP adress and add those domain names into the domain table.
2. Set the Registrar, Auth-db, and Usrloc module to use domain. (I dont remember these modules correctly)
3. Create users in Kamailio with their new realm/domain. I.e kamctl add 101@companyA.com passw0rd Kamctl add 101@companyB.com secr3t
Tell customers to log in using these domain names as their registrar server.
These should get what you are looking for. Make sure that your asterisks detect the domains and send out the calls back to kamailio with correcy domain parts.
Please add anything I might've missed due to late night reply.
Best Regards, Sammy. On Jan 8, 2013 12:07 AM, "Rumen Mihailov" zealas1662@gmail.com wrote:
Hello Kamailio, VoIP and asterisk gurus,
I have the following really complicated scenario to solve.
I have CompanyA which has extensions 100-120 I have CompanyB which has extensions 100-115 I have CompanyC which has extensions 100-130
Now I want to have all those extensions on a single kamailio box, but I want to achieve the following. CompanyA calls 110 and this rings CompanyA 110 not CompanyB or CompanyC. What I want to achive is multitenancy.
I know how to make this in asterisk but I want to take advantage of Kamailio's load balancing and HA features.
Sammy from the mailing lists advised that I use multidomain and actually I saw that this module is indeed intended to do that, however I have no clue how to use it.
I mean do I have to setup a domain for all the companies ? For instance companya.itradebg.com, companyb.itradebg.com and then advise the customers to register to their respective domain or what ?
This concept is really a bit tough for me despite all the help from Sammy for which I am really greatful.
I would greatly appreciate any tutorials or links to some useful documentation apart from the module documentation.
Thank you in advance guys.
Best regards, Rumen http://itradebg.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Hello Sammy,
Almost all of the answer is clear however it is not possible to point the URLs to my Kamailio as those URLs are actually company URLs is it OK to use subdomains for the purpose ?
Best regards, Rumen http://itradebg.com
On 7 January 2013 21:22, SamyGo govoiper@gmail.com wrote:
Hi Rumen,
Im sorry to have missed the chance to give you extended details earlier. As per my experience you've to do the following:
- Load the domain.so module. Point the domain names (DNS URLs) to your
kamailio IP adress and add those domain names into the domain table.
- Set the Registrar, Auth-db, and Usrloc module to use domain. (I dont
remember these modules correctly)
- Create users in Kamailio with their new realm/domain. I.e
kamctl add 101@companyA.com passw0rd Kamctl add 101@companyB.com secr3t
Tell customers to log in using these domain names as their registrar server.
These should get what you are looking for. Make sure that your asterisks detect the domains and send out the calls back to kamailio with correcy domain parts.
Please add anything I might've missed due to late night reply.
Best Regards, Sammy.
On Jan 8, 2013 12:07 AM, "Rumen Mihailov" zealas1662@gmail.com wrote:
Hello Kamailio, VoIP and asterisk gurus,
I have the following really complicated scenario to solve.
I have CompanyA which has extensions 100-120 I have CompanyB which has extensions 100-115 I have CompanyC which has extensions 100-130
Now I want to have all those extensions on a single kamailio box, but I want to achieve the following. CompanyA calls 110 and this rings CompanyA 110 not CompanyB or CompanyC. What I want to achive is multitenancy.
I know how to make this in asterisk but I want to take advantage of Kamailio's load balancing and HA features.
Sammy from the mailing lists advised that I use multidomain and actually I saw that this module is indeed intended to do that, however I have no clue how to use it.
I mean do I have to setup a domain for all the companies ? For instance companya.itradebg.com, companyb.itradebg.com and then advise the customers to register to their respective domain or what ?
This concept is really a bit tough for me despite all the help from Sammy for which I am really greatful.
I would greatly appreciate any tutorials or links to some useful documentation apart from the module documentation.
Thank you in advance guys.
Best regards, Rumen http://itradebg.com
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users