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

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed Mar 25 19:04:28 CET 2009


HI Carlo,

I think the correct format should be :

if (is_user_in("Credentials","ITALY_MOBILE")) {
                ^

See the capital "C" in "Credentials"

Regards,
Bogdan

Carlo Dimaggio wrote:
> Il giorno 25/mar/09, alle ore 17:55, Sergio Gutierrez ha scritto:
>
>   
>> Hi Carlo.
>>
>> Could you paste the config block where you are calling is_user_in()?
>>     
>
> Hi Sergio,
>
> I use the function is_user_in() in different blocks (dipends of the  
> destination, but the problem is for all targets...). For example:
>
>             if (uri=~"^sip:\+393[1-9][0-9]{8}@") {
>                  xlog ("L_INFO", "ITALY_MOBILE call - M=$rm RURI=$ru F= 
> $fu T=$tu IP=$si ID=$ci\n");
>                  if (is_user_in("credentials","ITALY_MOBILE")) {
>
>
> It is strange because I didn't have any problem with 1.4.3 version.
>
>
> Thank you,
> Carlo Dimaggio
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>   




More information about the Users mailing list