[prev in list] [next in list] [prev in thread] [next in thread] 

List:       serdev
Subject:    Re: [sr-dev] script errors
From:       Daniel-Constantin Mierla <miconda () gmail ! com>
Date:       2009-05-29 19:37:27
Message-ID: 4A203977.2010902 () gmail ! com
[Download RAW message or body]

Hello,

On 05/29/2009 10:23 PM, Juha Heinanen wrote:
> this is my current list of unresolved script errors:
>
> - tm module lacks onreply_avp_mode param.  how does sr tm behave related
>   to avp visibility?
>   
you can remove it. IIRC, this is default behavior in SR, haven't tested, 
though.
> - this kind of if expression results in parse error:
>
>   if ([$avp(i:712) & 1]) {
>
>   how to re-write it so that it is accepted?
>   

remove the square brackets, works directly now:

if ($avp(i:712) & 1) {


Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com/


_______________________________________________
sr-dev mailing list
sr-dev@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic