Hello everyone. Configures the module LCR. I can't get him to take the next on the list of priorities gateway if the first does not work. Function "next_gw" capable of doing that? Did anyone realties that? If possible show example.
Kamailio 3.3
Regards, Kirill
Nord7 writes:
Hello everyone. Configures the module LCR. I can't get him to take the next on the list of priorities gateway if the first does not work. Function "next_gw" capable of doing that? Did anyone realties that? If possible show example.
you first call load_gws and then next_gw for each gw to try. load_gws and first next_gw calls are typically in route block and subsequent next_gw calls are in failure route block that you need to arm before calling t_relay.
i don't know if there are any complete examples somewhere.
-- juha