<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Pete,<br>
      <br>
      The DB schema is documented here:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Install-DBSchema-2-3#AEN4379">http://www.opensips.org/Documentation/Install-DBSchema-2-3#AEN4379</a><br>
      <br>
      State "1" means disabled and this explains the no-probing
      behavior. Still, you claim that the in-memory state is Probing,
      according to the MI ds_list command....So, which is the right
      state of the GW ?? :)<br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>
OpenSIPS Summit 2018
  <a class="moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam">http://www.opensips.org/events/Summit-2018Amsterdam</a>
</pre>
    <div class="moz-cite-prefix">On 01/18/2018 12:53 PM, Pete Kelly
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEWH9M_tkjX+0p56rh9ROVvxjZdw4tayFD5eAyhLC7QAUcvHTg@mail.gmail.com">
      <div dir="ltr">Hi
        <div><br>
        </div>
        <div>I am using OpenSIPS 2.3.2 and have the dispatcher module
          configured thusly:</div>
        <div><br>
        </div>
        <div>
          <div><br>
          </div>
          <div># ----- dispatcher params -----</div>
          <div>modparam("dispatcher", "db_url",
            "mysql://DB_USER:DB_PASSWD@DB_HOST/DB_NAME")</div>
          <div>modparam("dispatcher", "ds_probing_threshhold", 10)</div>
          <div>modparam("dispatcher", "table_name", "dispatcher_2_3")</div>
          <div>modparam("dispatcher", "persistent_state", 0)</div>
        </div>
        <div>#modparam("dispatcher", "ds_probing_mode", 0)  #Not setting
          this explicitly as the default is 0<br>
        </div>
        <div><br>
        </div>
        <div>My understanding of this is that any gateway that is in the
          state of "Probing" will now be probed with OPTIONS until it
          becomes active by means of a 200OK response (or a configured
          +ve response)</div>
        <div><br>
        </div>
        <div>However I have a gateway which has been set into probing
          using ds_set_state("p"). This is verified using the MI command
          ds_list:</div>
        <div><br>
        </div>
        <div>
          <div>host:~/tees# /usr/local/opensips_2_3/sbin/opensipsctl
            fifo ds_list | grep "Probing"</div>
          <div>                URI:: <a class="moz-txt-link-freetext" href="sip:192.168.0.15">sip:192.168.0.15</a> state=Probing
            first_hit_counter=0</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Yet OpenSIPS is not probing the gateway at all and I can't
          logically fathom why this is. The state column in the
          dispatcher table is set to 1, but the documentation is not
          clear on what this means.</div>
        <div><br>
        </div>
        <div>I am sure I am overlooking something silly, would you be
          able to offer any advice please?</div>
        <div><br>
        </div>
        <div>Thanks</div>
        <div>Pete</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>