[Users] determining if From==To
    Daniel-Constantin Mierla 
    daniel at voice-system.ro
       
    Wed Dec 13 18:07:12 CET 2006
    
    
  
Hello,
On 12/13/06 17:43, Klaus Darilion wrote:
> Mark Price wrote:
>> Hi,
>>
>> How would one determine if the From address equals the To address, or 
>> even
>> better, if the To address is either the same as or an alias of the From
>> address?
>
>
> copy from uri into an AVP, copy to URI into an AVP, compare the AVPs 
> (avp_check)
should work without the need of copy
avp_check("$fu","eq/$tu/i")
http://www.openser.org/docs/modules/1.2.x/avpops.html#AEN384
Cheers,
Daniel
>
> regards
> klaus
>
>
>
    
    
More information about the Users
mailing list