<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 primary storage (during runtime) is memory (the in-mem status
      is only flushed to DB, not read).<br>
      <br>
      Now, do you use "ds_probing_list" parameter ? Also, are you sure
      "ds_probing_mode" parameter is set to 1 ?<br>
      <br>
      More questions - this issue happens only for a particular
      destination ? or none of the "probing" destinations is pinged ?<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/26/2018 11:58 AM, Pete Kelly
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEWH9M_k5qndsvgDkCfOuUwFnjYLZMyBZJWUDw+GLgPq8_3fLg@mail.gmail.com">
      <div dir="ltr">The gw should be being probed (this is the desired
        behaviour!).
        <div><br>
          Is OpenSIPS using the DB column instead of the in-memory
          state?</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 22 January 2018 at 16:33,
          Bogdan-Andrei Iancu <span dir="ltr"><<a
              href="mailto:bogdan@opensips.org" target="_blank"
              moz-do-not-send="true">bogdan@opensips.org</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi Pete,<br>
                <br>
                The DB schema is documented here:<br>
                    <a
                  class="m_3635609466315512628moz-txt-link-freetext"
href="http://www.opensips.org/Documentation/Install-DBSchema-2-3#AEN4379"
                  target="_blank" moz-do-not-send="true">http://www.opensips.org/<wbr>Documentation/Install-<wbr>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="m_3635609466315512628moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_3635609466315512628moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank" moz-do-not-send="true">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
  <a class="m_3635609466315512628moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank" moz-do-not-send="true">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre>
              <div>
                <div class="h5">
                  <div class="m_3635609466315512628moz-cite-prefix">On
                    01/18/2018 12:53 PM, Pete Kelly wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="h5">
                    <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_<wbr>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/<wbr>opensipsctl
                          fifo ds_list | grep "Probing"</div>
                        <div>                URI:: <a
                            class="m_3635609466315512628moz-txt-link-freetext"
                            moz-do-not-send="true">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="m_3635609466315512628mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_3635609466315512628moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank" moz-do-not-send="true">Users@lists.opensips.org</a>
<a class="m_3635609466315512628moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" moz-do-not-send="true">http://lists.opensips.org/cgi-<wbr>bin/mailman/listinfo/users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>