[SR-Users] allow_trusted not passing

Sebastian Damm damm at sipgate.de
Tue Nov 28 09:41:31 CET 2017


On Tue, Nov 28, 2017 at 1:47 AM, voipspace voipspace
<voipspace at 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


More information about the sr-users mailing list