[SR-Users] LCR routing, and finaly route to media gateway if not found

Juha Heinanen jh at tutpro.com
Fri Sep 23 16:36:30 CEST 2016

Loic Chabert writes:

> To accomplish this, i re-write the RURI: "sip:error1 at 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

More information about the sr-users mailing list