[sr-dev] exit vs drop

Juha Heinanen jh at tutpro.com
Wed Jul 1 14:25:53 CEST 2009


Miklos Tirpak writes:

 > Anyway, I think your particular problem can be solved with the 
 > on_sl_reply modparam:
 > 
 > modparam(tm, on_sl_reply, "stateless_reply");
 > 
 > onreply_route["stateless_reply"]
 > {
 >      # This route is executes if tm module does not find
 >      # the transaction for the reply.
 >      # If 0 is returned then the reply is not forwarded.
 >      return 0;
 > }

mikos,

do i need to call t_on_reply("stateless_reply") in order to activate
this onreply route?  

if so, it is not very practical, because i currently call 'drop' in
default onreply_route, which is executed automatically for each reply.

-- juha



More information about the sr-dev mailing list