[OpenSIPS-Users] ERROR:core:pv_parse_spec: bad parameters after upgrading to 1.5

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Mar 26 17:13:02 CET 2009


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.

Regards,
Bogdan



Carlo Dimaggio wrote:
> Il giorno 25/mar/09, alle ore 19:04, Bogdan-Andrei Iancu ha scritto:
>
>   
>> HI Carlo,
>>
>> I think the correct format should be :
>>
>> if (is_user_in("Credentials","ITALY_MOBILE")) {
>>               ^
>> See the capital "C" in "Credentials"
>>     
>
> Hi Bogdan,
>
> Same errors (see below). I don't think this is the problem because  
> there is before an error "pv_parse_spec: bad parameters" (that appears  
> on the 2-3th call...)
> What does these errors mean?
>
> Mar 26 09:46:25 sip /sbin/opensips[10170]: ERROR:core:pv_parse_spec:  
> bad parameters
> Mar 26 09:46:25 sip /sbin/opensips[10170]: ERROR:group:get_hf:  
> unsupported User Field identifier
> Mar 26 09:46:25 sip /sbin/opensips[10170]: ERROR:group:is_user_in:  
> unable to get user/dom source
>
> Thanks,
> Carlo
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list