Hi there,
we are using kamailio as Registrar and Dispatcher.
Running modparam("auth_db", "use_domain", MULTIDOMAIN) //with MULTIDOMAIN = 1

In our route[AUTH]

I call if (!auth_check("$fd", "subscriber", "1")) {

to filter unwanted Guests and and brute-force attacks to the blacklist.

strangely auth_check fails under the following conditions:
1 UserAgent(Phone) with 2 SipAccounts with the same user-name but different realm

The first account can REGISTER without a problem.
for the second Account REGISTER fails with -2.
If I disable the first one the second one Registered.

Could it be that auth_check is not multidomain-safe in one user-agent thread?

Hope to here from you...

PS: I like kamailio =).


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub