[OpenSIPS-Users] ERROR:core:pv_parse_spec: bad parameters after upgrading to 1.5
Carlo Dimaggio
jaasmailing at gmail.com
Thu Mar 26 17:38:14 CET 2009
Il giorno 26/mar/09, alle ore 17:13, Bogdan-Andrei Iancu ha scritto:
> Hi Carlo,
>
> I just checked with 1.5 the
> if (is_user_in("Credentials","ITALY_MOBILE")) {
> and it is ok. no error.
>
> Are you sure this is the line that generates the error? I suspect
> you might have a typo in one of the "is_user_in()" functions, for
> the first param. Because if this value is not recognized as a
> default one (see http://www.opensips.org/html/docs/modules/devel/group.html#id228395)
> , it is assumed to be a pseudo-variable. And the error you get is
> about an invalid PV....
> So,please check your script.
Hi Bogdan,
I have 5 blocks in which I use the function is_user_in():
if (is_user_in("Credentials", "quota")) {
if (!is_user_in("Credentials", "ITALY_NATIONAL")) {
if (is_user_in("Credentials", "ITALY_NATIONAL")) {
if (is_user_in("Credentials", "ITALY_MOBILE")) {
if (is_user_in("Credentials", "INTERNATIONAL")) {
In all functions I use "Credentials" as first parameter. Do you see
something wrong?
If I comment these lines I don't have errors...
Thanks and regards,
Carlo
More information about the Users
mailing list