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, <[email protected]> wrote: > Send sr-users mailing list submissions to > [email protected] > > 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 > [email protected] > > You can reach the person managing the list at > [email protected] > > 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 <[email protected]> > To: [email protected] > Subject: [SR-Users] Kamailio as a SIP registrar > Message-ID: > <CAKWpYb= > [email protected]> > 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 > [email protected] > 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
__________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions * [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
