Loic Chabert writes:
To accomplish this, i re-write the RURI: "sip:error1@errorserver.local", and launch RELAY route. But kamailio dont make a DNS query to find IP of "errorserver.local", only change RURI and try to send to the last LCR gateway.
I have also try to add a new branch, but same result... Why kamailio do not make a new DNS query ?
check if both hostname and ip address are given for the gateway. if so, next_gw() also sets destination uri.
-- juha