Hi!
Openser 1.2: I put some routing info into the record-route header. If a transaction gets redirected to another destination in failure route, I have to adopt the parameter and add a record-route header with the new parameter.
Currently, I do add_rr_param and record_route again in failure route, but this leads to 2 Record-Route headers in the outgoing request. Is there a way to reset RR in failure route - or am I just doing something wrong?
thanks klaus
Klaus Darilion writes:
Currently, I do add_rr_param and record_route again in failure route, but this leads to 2 Record-Route headers in the outgoing request. Is there a way to reset RR in failure route - or am I just doing something wrong?
try calling r-r in branch route block instead of failure route block.
-- juha
Juha Heinanen schrieb:
Klaus Darilion writes:
Currently, I do add_rr_param and record_route again in failure route, but this leads to 2 Record-Route headers in the outgoing request. Is there a way to reset RR in failure route - or am I just doing something wrong?
try calling r-r in branch route block instead of failure route block.
sounds very logical.
thanks klaus
Klaus Darilion writes:
Currently, I do add_rr_param and record_route again in failure route, but this leads to 2 Record-Route headers in the outgoing request. Is there a way to reset RR in failure route - or am I just doing something wrong?
klaus,
actually if only rr parameters are changing based on destination, you should be able to call rr in a route block add_rr_param in branch route blocks.
-- juha
El Tuesday 25 September 2007 12:50:33 Klaus Darilion escribió:
Hi!
Openser 1.2: I put some routing info into the record-route header. If a transaction gets redirected to another destination in failure route, I have to adopt the parameter and add a record-route header with the new parameter.
Currently, I do add_rr_param and record_route again in failure route, but this leads to 2 Record-Route headers in the outgoing request. Is there a way to reset RR in failure route - or am I just doing something wrong?
Is not valid for you just adding a new parameter in Record-Route header instead of deleting the old one and inserting the new one?