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)
domain_column (string)
password_column (string)

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@lists.kamailio.org> wrote:
Send sr-users mailing list submissions to
        sr-users@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@lists.kamailio.org

You can reach the person managing the list at
        sr-users-owner@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@gmail.com>
To: sr-users@lists.kamailio.org
Subject: [SR-Users] Kamailio as a SIP registrar
Message-ID:
        <CAKWpYb=9EABvpmbPhvCyt-roQaOkiJnZSh17vVu6Wk26PiBbeg@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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220126/01e1b32e/attachment-0001.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
sr-users mailing list
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


------------------------------

End of sr-users Digest, Vol 200, Issue 25
*****************************************


--
With Regards,
Surendra Tiwari
Solution Architect,
+91-9967609476