<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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<br>
    <br>
    On 12/11/11 3:42 PM, Uri Shacked wrote:
    <blockquote
cite="mid:CAMMbDhSY-wbLVr4RZWsKa7PazCp=kY9dOejv1HMzp67Wp987YQ@mail.gmail.com"
      type="cite">
      <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">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 class="moz-txt-link-freetext" href="sip:10.10.21.20">sip:10.10.21.20</a> flags=AX priority=25
          attrs=OSP_B4<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.22">sip:10.10.21.22</a> flags=AX priority=25
          attrs=OSP_B3<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.23">sip:10.10.21.23</a> flags=AX priority=25
          attrs=OSP_B2<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.21">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 class="moz-txt-link-freetext" href="sip:10.10.21.29">sip:10.10.21.29</a> flags=AX priority=25
          attrs=OSP_A4<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.27">sip:10.10.21.27</a> flags=AX priority=25
          attrs=OSP_A3<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.25">sip:10.10.21.25</a> flags=AX priority=25
          attrs=OSP_A1<br>
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; URI:: <a class="moz-txt-link-freetext" href="sip:10.10.21.24">sip:10.10.21.24</a> flags=AX priority=25
          attrs=OSP_A2</div>
      </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>