[OpenSIPS-Users] need help -

Dragomir Haralambiev goup2010 at gmail.com
Mon Sep 2 12:03:09 EDT 2019


Hello,

What I do to check flag after has_totag() ?

Here is example:


route {
     ....
     if (has_totag()) {
         .....
         if ( isflagset(BLA_BLA) ) {
            xlog("L_ERR", "Flag is active \n");
         };
         ....
     }

      if ( is_method("INVITE") ) {
         ....
          setflag(BLA_BLA);
          ....
       }
....
}

Regards,
Dragomir
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20190902/8d2134cb/attachment.html>


More information about the Users mailing list