[Users] Comapring keywords in openser...

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Jan 22 13:07:17 CET 2007


Hi,

for the moment you cannot compare the pseudo-variables directly from 
script, but you need to use the avp_check() function:
http://www.openser.org/docs/modules/1.2.x/avpops.html#AEN384

something like:
avp_check("$ru","eq/$tu/I");


regards,
bogdan

Premnath, KN wrote:

> Hi,
> How to compare core keywords in openser?
> I wanted to compare to_uri and uri is same.. Eg: if(uri == to_uri)… 
> But there is a syntax error thrown, stating "only myself or string" 
> can be compared… Then could I use if(uri=="$to_uri")
>
> Thank You.
> With warm regards,
> Premnath, KN
>
> *The new company Nokia Siemens Networks is expected to start 
> operations in the first quarter of 2007, subject to customary 
> regulatory approvals, the completion of standard closing conditions, 
> and the agreement of a number of detailed implementation steps.**
>
> *_Disclaimer:_
> This e-mail may contain trade secrets or privileged, undisclosed or 
> otherwise confidential information. If you have received this e-mail 
> in error, you are hereby notified that any review, copying or 
> distribution of it is strictly prohibited. Please inform us 
> immediately and destroy the original transmittal. Thank you for your 
> cooperation.
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Users mailing list
>Users at openser.org
>http://openser.org/cgi-bin/mailman/listinfo/users
>  
>





More information about the sr-users mailing list