Hello,
Also you can use REDIS or HASH to mark IP as allowed on register.
On 12 Dec 2016, at 19:27, Schneur Rosenberg wrote:
> Thanks Razvan, I had no choice and I did it the non lazy way, we have lots of
> carriers for incoming DID's, until now I did not want to
Thanks Razvan, I had no choice and I did it the non lazy way, we have lots
of carriers for incoming DID's, until now I did not want to have the
headache of constantly updating my carriers IP's used for incoming traffic,
so I allowed unauthenticated DID calls to come in from any IP address, but
it
Hi, Schneur!
The second parameter of the is_ip_registered() function[1] should be the
AOR of the caller, in the sip:SIP_USER@SIP_DOMAIN format. The source IP
is only checked against the contacts of that specific subscriber.
However, if I understand correctly, your problem is determining what
Hi, I would like to check during the initial invite if the request comes
from a IP that is registered (I don't care about the user credentials at
this time), I use it to know if the invite is from a registered user or if
it is from a unauthenticated source (DID's or hacking attempt) I can't use