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

2009-05-26 Thread Daniel-Constantin Mierla
On 05/26/2009 08:38 PM, Saúl Ibarra wrote: > Yeah! That did the trick, thanks!! :) > great, welcome ... as Juha said, for next release you do not need this workaround, he just committed a fix: http://lists.sip-router.org/pipermail/sr-dev/2009-May/001913.html Cheers, Daniel -- Daniel-Const

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

2009-05-26 Thread Saúl Ibarra
Yeah! That did the trick, thanks!! :) -- Saúl -- "Nunca subestimes el ancho de banda de un camión lleno de disketes." http://www.saghul.net/ ___ Kamailio (OpenSER) - Users mailing list

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

2009-05-26 Thread Saúl Ibarra
Thank you all! That was so quick! I'll test right away. 2009/5/26, Daniel-Constantin Mierla : > Hello, > > On 05/26/2009 07:46 PM, Saúl Ibarra wrote: >> Hi all, >> >> I'm a little stuck here :-/ I can't get allow_trusted function from >> the premissions module to word. I'm receiving the following

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

2009-05-26 Thread Alex Balashov
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 i

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

2009-05-26 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > looks like the function accepts only upper case protocol id while the PV > is returning lowercase, try to use transformation: i'll relax that in sr. -- juha ___ Kamailio (OpenSER) - Users mailing list Users@lists.

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

2009-05-26 Thread Iñaki Baz Castillo
2009/5/26 Daniel-Constantin Mierla : > looks like the function accepts only upper case protocol id while the PV > is returning lowercase, try to use transformation: > > http://www.kamailio.org/dokuwiki/doku.php/transformations:devel#s.toupper > > allow_trusted("$si", "$(proto{s.toupper})") Yes, t

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

2009-05-26 Thread Juha Heinanen
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 v

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

2009-05-26 Thread Daniel-Constantin Mierla
Hello, On 05/26/2009 07:46 PM, Saúl Ibarra wrote: > Hi all, > > I'm a little stuck here :-/ I can't get allow_trusted function from > the premissions module to word. I'm receiving the following error: > > May 26 18:36:24 [18825] DBG:core:parse_msg: method: > May 26 18:36:24 [18825] DBG:core:par

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

2009-05-26 Thread Alex Balashov
Try setting from_pattern and tag to non-NULL values (empty is fine, but not NULL). Saúl Ibarra wrote: > Hi all, > > I'm a little stuck here :-/ I can't get allow_trusted function from > the premissions module to word. I'm receiving the following error: > > May 26 18:36:24 [18825] DBG:core:pars

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

2009-05-26 Thread Saúl Ibarra
Hi all, I'm a little stuck here :-/ I can't get allow_trusted function from the premissions module to word. I'm receiving the following error: May 26 18:36:24 [18825] DBG:core:parse_msg: method: May 26 18:36:24 [18825] DBG:core:parse_msg: uri: May 26 18:36:24 [18825] DBG:core:parse_msg: ver