[OpenSIPS-Users] Why can't I do " $fd == myslef" ?

Bogdan-Andrei Iancu bogdan at voice-system.ro
Tue Nov 11 10:56:05 CET 2008


Hi Inaki,

This works for me :

    if ($fu==myself) {
        drop();
    }

Regards,
Bogdan

Iñaki Baz Castillo wrote:
> El Sábado, 8 de Noviembre de 2008, Jesus Rodriguez escribió:
>   
>> Hola Iñaki,
>>
>>     
>>> Hi, I can do:
>>> if from_uri == myself
>>>
>>> but I can't do:
>>>  if $fd == myslef
>>>  if $fu == myslef
>>> since I get:
>>>  CRITICAL:core:comp_scriptvar: invalid operation 20/11
>>>  WARNING:core:do_action: error in expression (l=179)
>>>
>>> Why?
>>>       
>> I think it's just a typo but... "myslef != myself" :-)
>>     
>
> Yes, just a typo, in the config file I wrote it ok XD
>
> PD: It's like when I write "grpe" instead of "grep" XDD
>
>   




More information about the Users mailing list