[OpenSER-Users] when are AVPs in radius extra evaluated?

Juha Heinanen jh at tutpro.com
Wed Mar 12 22:31:16 CET 2008


Bogdan-Andrei Iancu writes:

 > The question is  - have you enabled the "onreply_avp_mode" TM param?
 >     http://www.openser.org/docs/modules/1.3.x/tm.html#AEN304

bogdan,

no, i had not realized that, by default, transaction avps are not visible
in onrely_route.  thanks for the hint.

the reason for "onreply_avp_mode" existence seems to be performance.  in
this particular example, i would not need to do set onreply_route at
all, if there were "success_route" block similar to "failure_route"
block, but that gets executed on positive rather than negative final
reply.  now i need to simulate "success_route" by testing in
onreply_route if reply status is 200, which is not efficient, because
onreply_route gets executed for vain on all other replies.

what do you think, would it make sense to add feature request on
"success_route"?

-- juha




More information about the Users mailing list