Discussion:
[SR-Users] How To setup Provider SIP trunk with registration
zak ast
2021-05-30 22:11:26 UTC
Permalink
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.
Arsen Semenov
2021-05-31 04:43:44 UTC
Permalink
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
Post by zak ast
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
Important: keep the mailing list in the recipients, do not reply only to
the sender!
* https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Arsen Semenov
Loading...