Hi,

On Tue, Nov 28, 2017 at 1:47 AM, voipspace voipspace
<voipsp...@yandex.com> wrote:
> Unfortunately that does not work. Second argument is required

Try it with only if (!allow_trusted()) { ... }

If you check against the source address, you don't need an argument at all.

I don't know if some pattern is needed for the trusted entry to work.
In our setup the trusted entries look like this:

item: {
ip: w.x.y.z
proto: 0
pattern: ^sip:.*$
ruri_pattern: NULL
tag: NULL
priority: 0
}

Regards,
Sebastian

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to