<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you have to upgrade to 3.2.1 (or use the latest git branch 3.2). The
    current keepalive mechanism was refactored a bit after the release
    of 3.2.0, as they were overlapping cases.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 12/12/11 11:13 AM, Uri Shacked wrote:
    <blockquote
cite="mid:CAMMbDhRknaqooJfWEZ5VFb+gmWtTL+Q_s1U6cmQedjDChetuSw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>version :</div>
        <div>&nbsp;</div>
        <div>version: kamailio 3.2.0 (i386/linux) e19bb8<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: e19bb8<br>
          compiled on 18:43:11 Oct 24 2011 with gcc 4.1.2<br>
        </div>
        <div>and with log level 3 :</div>
        <div>13(11897) ERROR: &lt;script&gt;:&nbsp; OSPRPL is 408 now disable
          destination<br>
          13(11897) ERROR: *** cfgtrace:
          c=[/usr/local/etc/kamailio/kamailio.cfg] l=1266 a=26
          n=ds_mark_dst<br>
          13(11897) DEBUG: dispatcher [dispatch.c:1994]: mode [1] grp
          [47] dst [<a class="moz-txt-link-freetext" href="sip:10.10.21.28">sip:10.10.21.28</a>]<br>
          13(11897) ERROR: *** cfgtrace:
          c=[/usr/local/etc/kamailio/kamailio.cfg] l=1267 a=26 n=xlog<br>
          13(11897) ERROR: &lt;script&gt;:&nbsp; after disabling destination<br>
          <br>
        </div>
        <div class="gmail_quote">On Mon, Dec 12, 2011 at 11:14 AM,
          Daniel-Constantin Mierla <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span>
          wrote:<br>
          <blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px
            0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote">
            <div text="#000000" bgcolor="#FFFFFF">Hello,<br>
              <br>
              cn you give output of 'kamailio -V' and the log messages
              with debug=3 in config file?<br>
              <br>
              Note that from the moment you set the gateway in some
              state and you dump the list via mi, there can be
              keepalives that change the state.<br>
              <br>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  On 12/11/11 3:42 PM, Uri Shacked wrote: </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <div dir="ltr">
                      <div>Hi,</div>
                      <div>&nbsp;</div>
                      <div>i tried to change the ds_probing_mode as
                        well. it didn't do any good.</div>
                      <div>i need the probing mode to be set to 1
                        anyway.</div>
                      <div>&nbsp;</div>
                      <div>so,</div>
                      <div>any ideas?</div>
                      <div>&nbsp;</div>
                      <div>here is the cfg again:</div>
                      <div>&nbsp;</div>
                      <div>after the failure route i turn to this route</div>
                      <div>&nbsp;</div>
                      <div>"route[OSPRPLERR] {<br>
                        xlog("$C(rg) SCRIPT : in OSPRPLERR $ru
                        $C(xx)\n");<br>
                        if($avp(OSPRPL)!=404) {<br>
                        &nbsp;xlog("$C(rg) OSPRPL is $avp(OSPRPL)<strong> now
                          disable destination</strong> $C(xx)\n");<br>
                        &nbsp;ds_mark_dst("AP");<br>
                        &nbsp;xlog("$C(rg) <strong>after disabling
                          destination</strong> $C(xx)\n");<br>
                        &nbsp;}"</div>
                      <div>&nbsp;</div>
                      <div>&nbsp;</div>
                      <div>here is the log:</div>
                      <div><br>
                        13(5760) ERROR: &lt;script&gt;:&nbsp; SCRIPT : in
                        OSPRPLERR <a moz-do-not-send="true"
                          href="mailto:sip%3A36264529@10.10.21.29"
                          target="_blank">sip:36264529@10.10.21.29</a><br>
                        13(5760) ERROR: *** cfgtrace:
                        c=[/usr/local/etc/kamailio/kamailio.cfg] l=1264
                        a=17 n=if<br>
                        13(5760) ERROR: *** cfgtrace:
                        c=[/usr/local/etc/kamailio/kamailio.cfg] l=1259
                        a=26 n=xlog<br>
                        13(5760) ERROR: &lt;script&gt;:&nbsp; OSPRPL is 408 <strong>now
                          disable destination<br>
                        </strong>13(5760) ERROR: *** cfgtrace:
                        c=[/usr/local/etc/kamailio/kamailio.cfg] l=1260
                        a=26 n=ds_mark_dst<br>
                        13(5760) ERROR: *** cfgtrace:
                        c=[/usr/local/etc/kamailio/kamailio.cfg] l=1261
                        a=26 n=xlog<br>
                        13(5760) ERROR: &lt;script&gt;:&nbsp; <strong>after
                          disabling destination</strong></div>
                      <div><br>
                        now i check the dispatcher list status:</div>
                      <div>&nbsp;</div>
                      <div>kamctl fifo ds_list</div>
                      <div><br>
                        SET:: 47<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.20</a>
                        flags=AX priority=25 attrs=OSP_B4<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.22</a>
                        flags=AX priority=25 attrs=OSP_B3<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.23</a>
                        flags=AX priority=25 attrs=OSP_B2<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.21</a>
                        flags=AX priority=25 attrs=OSP_B1<br>
                        SET:: 41<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.29</a>
                        flags=AX priority=25 attrs=OSP_A4<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.27</a>
                        flags=AX priority=25 attrs=OSP_A3<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.25</a>
                        flags=AX priority=25 attrs=OSP_A1<br>
                        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a moz-do-not-send="true">sip:10.10.21.24</a>
                        flags=AX priority=25 attrs=OSP_A2</div>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                </div>
                <div class="im">
                  <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
                </div>
              </blockquote>
              <div class="im"><br>
                <pre cols="72">-- 
Daniel-Constantin Mierla -- <a moz-do-not-send="true" href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a>
<a moz-do-not-send="true" href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a moz-do-not-send="true" href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>