Hi Aditya,
There are 2 options to achieve this:
Option-1 use below param in auth_db module and while doing authentication
change table name to your table
user_column (string)
<https://www.kamailio.org/docs/modules/devel/modules/auth_db.html#auth_db.p.user_column>
domain_column (string)
<https://www.kamailio.org/docs/modules/devel/modules/auth_db.html#auth_db.p.domain_column>
password_column (string)
<https://www.kamailio.org/docs/modules/devel/modules/auth_db.html#auth_db.p.password_column>
Option-2 create a new http service that will connect to kamailio via evapi
and will be responsible for authentication and location service.
On Wed, 26 Jan 2022 at 16:31, <sr-users-request(a)lists.kamailio.org> wrote:
Send sr-users mailing list submissions to
sr-users(a)lists.kamailio.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
or, via email, send a message with subject or body 'help' to
sr-users-request(a)lists.kamailio.org
You can reach the person managing the list at
sr-users-owner(a)lists.kamailio.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of sr-users digest..."
Today's Topics:
1. Kamailio as a SIP registrar (Aditya Uppuluri)
----------------------------------------------------------------------
Message: 1
Date: Wed, 26 Jan 2022 16:21:33 +0530
From: Aditya Uppuluri <uppuluriaditya(a)gmail.com>
To: sr-users(a)lists.kamailio.org
Subject: [SR-Users] Kamailio as a SIP registrar
Message-ID:
<CAKWpYb=
9EABvpmbPhvCyt-roQaOkiJnZSh17vVu6Wk26PiBbeg(a)mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Hello Team,
Thank you for the amazing product. I am a newbie to kamailio and currently
trying to use kamailio as a SIP Registrar (for a multidomain). Here is the
requirement
1. We already have a mysql database (name: VOIP) with a table named
VoipSubscribers which contains the userid, password and domain information
of all the users.
2. We want the ability in kamailio to use the same VoipSubscribers table
for user registrations and also store the location information in the same
database (VOIP)
May I know how to achieve this without altering the table schema?
Thank you in advance.
Regards,
Aditya Uppuluri