[SR-Users] Transaction flags and branch_routes

Alex Balashov abalashov at evaristesys.com
Tue Jun 5 04:23:31 CEST 2018


Hi,

Given:

   flags
           PROXY_MEDIA_SET    : 10,
           SIPPING         : 11,
           DUMMY2          : 12

And:

   request_route { 
       ...

       route(XYZ);
   }

   route[XYZ] {
      setflag(PROXY_MEDIA_SET);

      t_on_branch("BRANCH_ROUTE");

      if(!t_relay())
         sl_reply_error();
   }

   branch_route[BRANCH_ROUTE] {
      if(isflagset(PROXY_MEDIA_SET)) {
          ...
      }

      ...
   }

Is PROXY_MEDIA_SET meant to be visible inside the branch_route? Because
it doesn't seem to be.

Thanks!

-- Alex

-- 
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 sr-users mailing list