[OpenSIPS-Users] ERROR:core:pv_parse_spec: bad parameters after upgrading to 1.5
Carlo Dimaggio
jaasmailing at gmail.com
Mon Mar 30 10:44:47 CEST 2009
Il giorno 26/mar/09, alle ore 17:38, Carlo Dimaggio ha scritto:
> 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...
Hi Bogdan,
I've added in group.c a line in order to print the User Filed
Identifier. I see that when I have the errors the output is like this:
Mar 30 10:35:33 sip /sbin/opensips[14789]: ERROR:group:get_hf: DEBUG:
User Field identifier = ###0^H#m^]^H^C
Mar 30 10:35:33 sip /sbin/opensips[14789]: ERROR:core:pv_parse_spec:
bad parameters
Mar 30 10:35:33 sip /sbin/opensips[14789]: ERROR:group:get_hf:
unsupported User Field identifier
Mar 30 10:35:33 sip /sbin/opensips[14789]: ERROR:group:is_user_in:
unable to get user/dom source
When I have no errors, the output is:
Mar 30 10:35:29 sip /sbin/opensips[14789]: ERROR:group:get_hf: DEBUG:
User Field identifier = Credentials
Is it possible that in my script there is a fault that changes the
user field identifier of is_user_in()?
Thanks and regards,
Carlo Dimaggio
More information about the Users
mailing list