<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Pete,<br>
      <br>
      There may be a bit of a confusion here. I was talking about the
      ds_probing_list parameter (which is default UNSET). The
      ds_probing_mode is indeed 0 as default, meaning to ping only
      destinations in state PROBING.<br>
      <br>
      Again, do you have this pinging issue for all the destinations in
      your set ?<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/30/2018 03:41 PM, Pete Kelly
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEWH9M9D0crJtWo5zyZRuruaMVk=eHbAu2pXVNnOnCKWukdVdA@mail.gmail.com">
      <div dir="ltr">Bogdan
        <div><br>
        </div>
        <div>The docs say the default is "0".... so actually the default
          is UNSET?</div>
        <div><br>
        </div>
        <div>Which I think means I need to set it to 0 in order to make
          the Probing gw's be probed?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 26 January 2018 at 15:55,
          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>Pete, yes, you
                are right - if not set at all (which is different than
                setting it to "0") it means probing for all. And default
                is "unset"/<br>
                <br>
                Regards,<br>
              </tt><span class="">
                <pre class="m_1488590205553203063moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_1488590205553203063moz-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_1488590205553203063moz-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>
              </span>
              <div>
                <div class="h5">
                  <div class="m_1488590205553203063moz-cite-prefix">On
                    01/26/2018 05:37 PM, Pete Kelly wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi Bogdan
                      <div><br>
                        ds_probing_mode is set to the default (0).</div>
                      <div><br>
                      </div>
                      <div>The docs say this "<span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"> </span><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">If
                          set to 0, only the gateways with state PROBING
                          are tested" </span></div>
                      <div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify"><br>
                        </span></div>
                      <div><span
style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:12px;text-align:justify">So
                          I would assume this means that anything in
                          PROBING should be pinged?</span></div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On 26 January 2018 at
                        14:15, 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 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><span>
                              <pre class="m_1488590205553203063m_4896217405945678428moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_1488590205553203063m_4896217405945678428moz-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_1488590205553203063m_4896217405945678428moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank" moz-do-not-send="true">http://www.opensips.org/events<wbr>/Summit-2018Amsterdam</a>
</pre>
                            </span>
                            <div>
                              <div class="m_1488590205553203063h5">
                                <div
                                  class="m_1488590205553203063m_4896217405945678428moz-cite-prefix">On
                                  01/26/2018 11:58 AM, Pete Kelly wrote:<br>
                                </div>
                                <blockquote type="cite">
                                  <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_1488590205553203063m_4896217405945678428m_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/Docume<wbr>ntation/Install-DBSchema-2-3#A<wbr>EN4379</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_1488590205553203063m_4896217405945678428m_3635609466315512628moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_1488590205553203063m_4896217405945678428m_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_1488590205553203063m_4896217405945678428m_3635609466315512628moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank" moz-do-not-send="true">http://www.opensips.org/events<wbr>/Summit-2018Amsterdam</a>
</pre>
                                          <div>
                                            <div
                                              class="m_1488590205553203063m_4896217405945678428h5">
                                              <div
class="m_1488590205553203063m_4896217405945678428m_3635609466315512628moz-cite-prefix">On
                                                01/18/2018 12:53 PM,
                                                Pete Kelly wrote:<br>
                                              </div>
                                            </div>
                                          </div>
                                          <blockquote type="cite">
                                            <div>
                                              <div
                                                class="m_1488590205553203063m_4896217405945678428h5">
                                                <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/o<wbr>pensipsctl
                                                      fifo ds_list |
                                                      grep "Probing"</div>
                                                    <div>               
                                                      URI:: <a
class="m_1488590205553203063m_4896217405945678428m_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_1488590205553203063m_4896217405945678428m_3635609466315512628mimeAttachmentHeader"></fieldset>
                                                <br>
                                              </div>
                                            </div>
                                            <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_1488590205553203063m_4896217405945678428m_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_1488590205553203063m_4896217405945678428m_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>
                              </div>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </body>
</html>