<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 26/10/2011 10:47, Asgaroth wrote:
    <blockquote cite="mid:4EA7D74A.6070504@gmail.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <br>
      Assuming ds_probing_mode = 0 (Only send "ping" requests when
      destination is in probing state)<br>
      <br>
      IX (Inactive)<br>
      &nbsp;&nbsp;&nbsp; [*] Not used by ds_select_* in gateway selection<br>
      &nbsp;&nbsp;&nbsp; [*] No ping probes sent to destination<br>
      IP (Inactive-Probing)<br>
      &nbsp;&nbsp;&nbsp; [*] Not used by ds_select_* in gateway selection<br>
      &nbsp;&nbsp;&nbsp; [*] Ping probes sent to destination<br>
      &nbsp;&nbsp;&nbsp; [*] When reply to ping probe is recieved, state for gateway
      chages to AX (Active)<br>
    </blockquote>
    <br>
    Testing with dev branch, the above assumption is true, however, I am
    having the following issues:<br>
    <br>
    [1] When using ds_mark_dst() in routing script, when timeout occurs,
    the destination is marked as inactive (state: IX), this appears to
    be the correct operation for this command.<br>
    [2] When using ds_mark_dst("ip") in routing script, when timeout
    ocurs, the destination is marked as inactive (state: IX), this does
    *not* appear to work properly, state should be IP<br>
    [3] When using:<br>
    &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ds_mark_dst("i");<br>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ds_mark_dst("p");<br>
    &nbsp;&nbsp;&nbsp;&nbsp; In the routing script, the state changes to "IX" when
    ds_mark_dst("i") is executed, which is correct, then, right after
    that, when ds_mark_dst("p") is executed, the state is changed to AP
    (active-probing).<br>
    <br>
    Therefor, with the above testing, I am unable to set the state to
    inactive-probing from within the routing script.<br>
    <br>
    Kamailio version for the above tests is:<br>
    <br>
    # sbin/kamailio -V<br>
    version: kamailio 3.3.0-dev0 (i386/linux) 25bedc<br>
    flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS,
    USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM,
    SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX,
    FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR,
    USE_DST_BLACKLIST, HAVE_RESOLV_RES<br>
    ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
    16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB<br>
    poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.<br>
    id: 25bedc <br>
    compiled on 09:18:41 Oct 21 2011 with gcc 4.1.2<br>
  </body>
</html>