[sr-dev] exit vs drop

Juha Heinanen jh at tutpro.com
Wed Jul 1 12:11:17 CEST 2009


Daniel-Constantin Mierla writes:

 > For kamailio, in request and failure route they are the same, stop 
 > processing of the actions. But in branch route and reply route drop does 
 > a bit more: drop current processed branch respectively reply, so they 
 > are not forwarded.

i'm calling 'drop' in onreply_route if t_check_trans() fails on the
reply.   the idea is to discard the reply.

 > Addition of this functionality will affect core and tm. Any comments 
 > regarding this? i can create the patch for it, if nobody sees issues.

if the above functionality can be achieved in sr by some other means, i
can switch to that.  if not, 'drop' should be fixed so that it discards
the reply.

-- juha



More information about the sr-dev mailing list