[Kamailio-Users] Can't get allow_trusted to work

Alex Balashov abalashov at evaristesys.com
Tue May 26 19:01:20 CEST 2009


Juha Heinanen wrote:
> Saúl Ibarra writes:
> 
>  > May 26 18:36:24 [18825] ERROR:permissions:allow_trusted_2: unknown
>  > protocol udp
> 
> from README file:
> 
> 1.4.10.  allow_trusted([src_ip_pvar, proto_pvar])
> ...
>  Source address and transport protocol given in pvar arguments
>    must be in string format. Valid transport protocol values are
>    "UDP, "TCP", "TLS", and "SCTP".

That seems to contradict:

http://www.kamailio.org/docs/modules/1.5.x/permissions.html#id2506350

"Possible values that can be stored in proto_col are “any”, “udp”, 
“tcp”, “tls”, “sctp”, and “none”. Value “any” matches always and value 
“none” never. "

-- 
Alex Balashov
Evariste Systems
Web    : http://www.evaristesys.com/
Tel    : (+1) (678) 954-0670
Direct : (+1) (678) 954-0671
Mobile : (+1) (678) 237-1775



More information about the Users mailing list