[OpenSIPS-Users] do_action error in logs

Alex Balashov abalashov at evaristesys.com
Wed Aug 23 03:22:44 EDT 2017


someUA / restcomm need to be string literals, e.g. enclosed in single or
double quotes.

On Wed, Aug 23, 2017 at 12:20:47AM -0700, Tito Cumpen wrote:

> Group I am seeing errors in opensips logs with the latest 2.3
> 
> 
> I am attempting to do the following:
> 
> 
> if ($ua=~someUA){
> 
> setflag(4);
> 
> }
> 
> 
> WARNING:core:do_action: error in expression at
> /etc/opensips/opensips.cfg:790
> 
> 
> I also see an error in this expression
> 
> 
> 
> if ($ua=~restcomm){
> 
> setflag(uac_ws);
> 
> }
> 
>  WARNING:core:do_action: error in expression at
> /etc/opensips/opensips.cfg:602
> 
> does anyone have any idea what is causing this error or if this flag is
> even being evaluated ?

> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free) 
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/



More information about the Users mailing list