[sr-dev] enum route_mode missing

Dragos Vingarzan dragos.vingarzan at gmail.com
Fri Jul 24 14:19:09 CEST 2009


Hi guys,

I was wondering what happened to this line from t_reply.h:
enum route_mode { MODE_REQUEST=1, MODE_ONREPLY, MODE_ONFAILURE };

It was there in ser 2.1.0, but not it's gone from sr, altough the tm_binds
still defines a enum route_mode* as a parameter. Maybe it was just
forgotten?

I found the solution in a k module - the route_type extern variable, just
want to make sure that this is the new right way to tell on which route a
function was called.

-- 
Best Regards,
Dragos Vingarzan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20090724/465e7e26/attachment.htm>


More information about the sr-dev mailing list