[SR-Users] Multi tenant Kamailio
SamyGo
govoiper at gmail.com
Mon Jan 7 20:22:32 CET 2013
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 at companyA.com passw0rd
Kamctl add 101 at 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 at 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20130108/57786e5a/attachment.htm>
More information about the sr-users
mailing list