[Users] How to check RPID in Header
    Daniel-Constantin Mierla 
    daniel at voice-system.ro
       
    Mon May 15 12:36:46 CEST 2006
    
    
  
Hello,
On 05/15/06 13:31, Atle Samuelsen wrote:
> Hi
>   
>> Hi,
>>
>> load the RPID body into an AVP (use avp_write()) and check the body against an re via avp_check().
>>
>>     
>
> Or just use a search witha  regexp :-) if you dont want to  use avp+´s.
>   
with the development version you have direct access to the rpid header, 
no need to use avps:
avp_check("$hdr(rpid)", "re/[0-1][0-9]+")
Cheers,
Daniel
>
>
> -A
>
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users
>
>   
    
    
More information about the Users
mailing list