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

2009-04-01 Thread Carlo Dimaggio
Il giorno 31/mar/09, alle ore 16:23, Bogdan-Andrei Iancu ha scritto: Please apply this patch, recompile the module and let me know if the problem was solved. Hi Bogdan, I have applied this patch and now all works fine!!! I have tested it with different calls and I haven't seen any

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

2009-04-01 Thread Bogdan-Andrei Iancu
Hi Carlo, Perfect - I will officially include the patch in 1.5. Thanks and best regards, Bogdan Carlo Dimaggio wrote: Il giorno 31/mar/09, alle ore 16:23, Bogdan-Andrei Iancu ha scritto: Please apply this patch, recompile the module and let me know if the problem was solved. Hi Bogdan,

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

2009-03-31 Thread Bogdan-Andrei Iancu
Hi Carlo, I found the bug...right now I'm testing the fix. I will shortly send you a patch to test before backporting to 1.5. Thanks and regards, Bogdan Carlo Dimaggio wrote: Il giorno 26/mar/09, alle ore 17:38, Carlo Dimaggio ha scritto: Hi Bogdan, I have 5 blocks in which I use the

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

2009-03-26 Thread Bogdan-Andrei Iancu
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

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

2009-03-26 Thread Carlo Dimaggio
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

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

2009-03-25 Thread Carlo Dimaggio
Hi all, After the upgrading to 1.5 I see these errors in my log: Mar 25 10:25:48 sip /sbin/opensips[7908]: ERROR:core:pv_parse_spec: bad parameters Mar 25 10:25:48 sip /sbin/opensips[7908]: ERROR:group:get_hf: unsupported User Field identifier Mar 25 10:25:48 sip /sbin/opensips[7908]:

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

2009-03-25 Thread Sergio Gutierrez
Hi Carlo. Could you paste the config block where you are calling is_user_in()? Regards S. On Wed, Mar 25, 2009 at 11:52 AM, Carlo Dimaggio jaasmail...@gmail.comwrote: Il giorno 25/mar/09, alle ore 10:40, Carlo Dimaggio ha scritto: Hi all, After the upgrading to 1.5 I see these errors

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

2009-03-25 Thread Sergio Gutierrez
Hi Carlo. Just for testing, could you try this: ... $avp(s:group)=ITALY_MOBILE; if(is_user_in(credentials, $avp(s:group))) ... Best regards. Sergio. On Wed, Mar 25, 2009 at 12:30 PM, Carlo Dimaggio jaasmail...@gmail.comwrote: Il giorno 25/mar/09, alle ore 17:55, Sergio Gutierrez ha

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

2009-03-25 Thread Carlo Dimaggio
Il giorno 25/mar/09, alle ore 18:35, Sergio Gutierrez ha scritto: Hi Carlo. Just for testing, could you try this: ... $avp(s:group)=ITALY_MOBILE; if(is_user_in(credentials, $avp(s:group))) ... Hi Sergio, I've tried but nothing... same problem (and same errors) Regards, Carlo

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

2009-03-25 Thread Bogdan-Andrei Iancu
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