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 <[email protected]>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
>



-- 
Sergio GutiƩrrez
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to