[SR-Users] How To setup Provider SIP trunk with registration

Arsen Semenov arsperger at gmail.com
Mon May 31 06:43:44 CEST 2021


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 at 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 at lists.kamailio.org
> 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
>


-- 
Arsen Semenov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210531/1ff5f4db/attachment.htm>


More information about the sr-users mailing list