[Kamailio-Users] t_relay("0x02")

Juha Heinanen jh at tutpro.com
Mon Oct 20 15:41:55 CEST 2008


Daniel-Constantin Mierla writes:

 > > or am i missing something and it is somehow possible to get a failure
 > > route block executed also on this kind of internally generated negative
 > > reply
 > Not now, but we can have it as feature request and see what can be done 
 > by next release. It will look indeed more coherent.

i created a feature request about it.

 > Now, an workaround could be to move content of failure_route in a route, 
 > call that route from failure route and after the relay fails. I think 
 > there should be introduced a new PV that can tell what is the type of 
 > root route block (request route, failure route, reply route), so one can 
 > take decisions based on that in script.

this workaround does not work if failure route block needs to call
functions that can not be called in request route block.  so i would say
that there is a bug in current setup, because all things simply cannot
be made to work correctly no matter what.

-- juha




More information about the Users mailing list