Tanks you Daniel for your clarification
I have tested this config

listen=udp:[::1]:5060
listen=udp:127.0.0.1:5060
loadmodule "xlog.so"
loadmodule "sdpops.so"

request_route {
  if (sdp_get_address_family() && $rc ieq 6 ) {
    xlog("L_WARN", "sdp_get_address_family == 6\n");
  } else if (sdp_get_address_family() && $rc ieq 4) {
    xlog("L_WARN", "sdp_get_address_family == 4 \n");
  } else {
    xlog("L_WARN", "cannot detect sdp family\n");
  }
}

Should I update Wiki with another usage example?

  if (function_returns_four() && $rc ieq 6 ) {
    # it doesn't go here
  } else if (function_returns_four() && $rc ieq 4) {
    # it goes here
  }


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.