Mike Morrison writes:
Is there any way for the proxy to reroute based on the
3xx response vs.
passing the 3xx response back to the originating GW? Can this be done via
the scripting or through a module? Is there any way for a module to trap a
response without sending it back to the originating GW?
i once wrote a function that did that, but then i started to think that
it's not a good idea for the proxy to turn a 3xx response into a new
invite. if the user has decided to redirect the call, it is best that
the redirection reply goes all the way to the calling party, which can
then decide if he/she wants to proceed with the new destination. the
proxy is not in the position to do that decision.
-- juha