[Users] How to check Displayname in From Tag

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jan 30 18:08:16 CET 2006


martin at campus-merseburg.de wrote:

>Am 30.1.2006 schrieb "Bogdan-Andrei Iancu" <bogdan at voice-system.ro>:
>
>
>  
>
>>>>regarding the pseudo variables: have you tried the $fn?
>>>>        
>>>>
>>>in the 1.0.0 cvs tree it is null.
>>>      
>>>
>>indeed, $fn is not present in 1.0.0 - only on 1.1.0
>>    
>>
>
>avp_printf("i:20", "$hdr(from[0])");
>if (avp_check("i:20", "re/Anonymous.*/g"))
>{
>      uac_replace_from("Anonymous","sip:Anonymous at Anonymous");
>}
>
>is working fine for me. :)
>  
>
ok great ! :)

regards,
bogdan




More information about the Users mailing list