Hello,
first be sure you enable use_domain parameter to relevant modules (e.g.,
usrloc, auth_db, ...) -- in this way you ensure that x@domain1 is
different that x@domain2.
Then testing if the domain of the callee is the same as the domain of
the caller can be done with:
if($rd!=$fd) {
send_r
i have configered kamailio with two domains sscc1.tk and sscc2.tk. it listen
on both domains. each domain has users registered with it. user in domain
sscc1 1 can call to user in domain sscc2. i want to allow call in between
users of same domai. and block call between user of domain sscc1 to domain
No all clients from PBX are trusted to make call out though.
From: 568...@gmail.com
Date: Mon, 31 Aug 2015 23:04:10 +0300
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] authorize a client in bulk registration
If it is OK to trust all clients from PBX - just add a check in route[AUTH] i
If it is OK to trust all clients from PBX - just add a check in route[AUTH]
if traffic comes from PBX and execute return; if TRUE
Else, you may create a list of allowed users in db/config and perform
checks based on $au
2015-08-31 20:49 GMT+03:00 Al S :
> My PBX registered in bulk to Kamailio suc
My PBX registered in bulk to Kamailio successfully.PBX --> Register -->
kamailioPBX <-- 401 with nonce value <-- kamailioPBX --> Register with nonce
and md5 response values --> kamailioBOX <-- 200ok <-- kamailioHowever, when one
of the PBX client sends an invite out, kamailio AUTH module does no
Hello Daniel,
When I run with debug=3, I don't see message with "reply forward to".
That are received logs (without dialog part) in replay 183:
Aug 31 19:47:21 KAMnet-JAF-TST-01 /usr/local/sbin/kamailio[9487]: DEBUG: tm
[t_reply.c:1311]: t_should_relay_response(): -> T_code=100,
new_co
Hello,
do you get any other log error message?
If you run with debug=3, do you a message containing:
... reply forwarded to ...
?
Cheers,
Daniel
On 30/08/15 14:55, Julia Boudniatsky wrote:
> Hello,
>
> I set some logs in onsend_route and it works fine for requests.
> With setting core paramet