Hi,
I know I can you uacreg to register a SIP trunk as a SIP client with username/password. But how can I set up a SIP trunk as a provider and get the other end (SIP client) to register with username/password.
Regards, Zak.
Hello,
Kamailio default configuration file provides samples on how to configure a simple VoIP provider.
regarding SIP trunking it has examples for: user authentication and IP authorization.
In order to enable user authentication you need to define:
#!define WITH_MYSQL #!define WITH_AUTH
This will enable MySQL DB back-end support and auth and auth_db modules. You should have MySQL server configured with a database required by kamailio and create subscribers with username, passwords.
After that you can register a SIP client with username/password previously created.
https://kamailio.org/docs/modules/5.5.x/modules/auth.html https://kamailio.org/docs/modules/5.5.x/modules/auth_db.html
On Mon, May 31, 2021 at 3:12 AM zak ast zakast123@gmail.com wrote:
Hi,
I know I can you uacreg to register a SIP trunk as a SIP client with username/password. But how can I set up a SIP trunk as a provider and get the other end (SIP client) to register with username/password.
Regards, Zak. __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions
- sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: