My way:
from original kamailio.cfg in global parameters:
/*#!define WITH_MYSQL*//*
*//*#!define WITH_USRLOCDB*//*
*//*#!define WITH_AUTH*/
then:
/*auto_aliases=no*/
one entry for each domain/subdomain, example:
/*alias="sip1.kamailio.org"
alias="sip2.kamailio.org"*/
add the user using IP, example:
*kamctl add 100(a)1.2.3.4 password*
Regards
---
I'm SoCIaL, MayBe
El 10/05/2022 a las 1:02 p. m., Raúl Alexis Betancor Santana escribió:
As allways, there are 1 thousand ways of skinning a
cat
You have 3 options:
1) Create the 100 user in all the domains with the same password.
2) Disable domain in auth_check
3) On the routing logic, when you detect your 100 user, do an auth without domain chekin
(kind of option 2 but only for specific users)
----- Original Message -----
From: "Social Boh"<social(a)bohboh.info>
To: "Kamailio"<sr-users(a)lists.kamailio.org>kamailio.org>, "Alex
Balashov"<abalashov(a)evaristesys.com>
Sent: Tuesday, May 10, 2022 6:45:20 PM
Subject: Re: [SR-Users] Accept IP/Domain Register
I think my question not is clear.
I'd like create/configure, for example, user 100 and this user can
register with kamailio using Kamailio IP or Kamailio associated Domains;
this using digest authentication.
Regards
---
I'm SoCIaL, MayBe
El 10/05/2022 a las 12:26 p. m., Alex Balashov escribió:
Yes. There is no rule that you have to issue a
digest authentication challenge in response to registrations.
You can handle them like any other request, including validating the source IP against an
IP ACL (e.g. allow_trusted(), or hard-coded like if(src_ip == 1.2.3.4)).
— Alex
—
Sent from mobile, with due apologies for brevity and errors.
On May 10, 2022, at 12:49 PM, Social
Boh<social(a)bohboh.info> wrote:
Hello,
maybe is a very basic question; How Kamailio can accept any kind of register, over IP or
domains.
Example, accept authenticate REGISTER from ip 1.2.3.4 or
sip.domain.org or
sip1.domain.org, domains associated with ip 1.2.3.4
Thank you in advance.
Regards
--
---
I'm SoCIaL, MayBe
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
*sr-users(a)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
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
*sr-users(a)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
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
*sr-users(a)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
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
*sr-users(a)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