[OpenSIPS-Users] check for NULL values
    Pasan Meemaduma 
    pasandev at ymail.com
       
    Wed Nov  7 21:39:50 EST 2018
    
    
  
Hi Guys,
I have a check for NULL for $tu var in the script, But when the value is missing I'm getting the following error.
ERROR:core:comp_scriptvar: cannot get left var value
WARNING:core:do_action: error in expression at /etc/opensips/opensips.cfg:806
and line 806 contains following.
    if ( $tu != NULL ) {
        remove("location","$tu");
    }
any suggestion on how to test for NULL values without getting above error. I'm using opensips 2.3.5
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20181108/3219066f/attachment.html>
    
    
More information about the Users
mailing list