<div dir="ltr">Hi Bogdan<div><br></div><div>Thanks for that. </div><div><br></div><div>I guess my point is that it would be useful to have that list of states in the module documentation too, as it differs from the normal "a"/"i"/"p" values.</div><div><br>Pete</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 26 January 2018 at 14:19, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">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 meaning of the "status" column is documented in the DB schema
      document:<br>
          <br>
      <a class="m_6697413788972133821moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Install-DBSchema-2-3#AEN4379" target="_blank">http://www.opensips.org/<wbr>Documentation/Install-<wbr>DBSchema-2-3#AEN4379</a>
      <br>
      <br>
      The "persistent_state" options is related to writing (at shutdown)
      back to DB the in-memory state of the destination. It is not
      necessary related to pinging, but to preserve the destination
      state during OpenSIPS restarts.<br>
      <br>
      Regards,<br>
    </tt><span class="">
    <pre class="m_6697413788972133821moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_6697413788972133821moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
  <a class="m_6697413788972133821moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank">http://www.opensips.org/<wbr>events/Summit-2018Amsterdam</a>
</pre>
    </span><div><div class="h5"><div class="m_6697413788972133821moz-cite-prefix">On 01/26/2018 11:57 AM, Pete Kelly
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">Hi Bogdan
        <div><br>
        </div>
        <div>The state column appears to be the column which holds the
          current state of a GW. I assume this would be i/a/p? But it is
          not clear what this value should be set to to correspond to
          whether a gateway should be set as Active/Inactive/Probing on
          startup:</div>
        <div><br>
        </div>
        <div><a href="http://www.opensips.org/html/docs/modules/2.3.x/dispatcher#idp5606416" target="_blank">http://www.opensips.org/html/<wbr>docs/modules/2.3.x/dispatcher#<wbr>idp5606416</a><br>
        </div>
        <div><br>
        </div>
        <div>The documentation implies that this column can be used on
          startup too</div>
        <div><br>
        </div>
        <div><a href="http://www.opensips.org/html/docs/modules/2.3.x/dispatcher#idp5580768" target="_blank">http://www.opensips.org/html/<wbr>docs/modules/2.3.x/dispatcher#<wbr>idp5580768</a><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>So I guess my questions are:</div>
        <div><br>
        </div>
        <div>1) If I want the state column to be referenced on startup,
          what are the possible values I can use? </div>
        <div>2) If I set the paramater persistent_state=0, will OpenSIPS
          assume to ping all gw's on startup?</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 22 January 2018 at 16:25,
          Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@opensips.org" target="_blank">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 link you posted does not work for me (maybe the docs
                were updated in the mean while). But there is no module
                param or DB column "probe mode" or so....<br>
                So, can you point again to the problematic configuration
                option ?<br>
                <br>
                Best regards,<br>
              </tt>
              <pre class="m_6697413788972133821m_-442076475622401070moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="m_6697413788972133821m_-442076475622401070moz-txt-link-freetext" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<wbr>com</a>
OpenSIPS Summit 2018
  <a class="m_6697413788972133821m_-442076475622401070moz-txt-link-freetext" href="http://www.opensips.org/events/Summit-2018Amsterdam" target="_blank">http://www.opensips.org/events<wbr>/Summit-2018Amsterdam</a>
</pre>
              <div>
                <div class="m_6697413788972133821h5">
                  <div class="m_6697413788972133821m_-442076475622401070moz-cite-prefix">On
                    01/18/2018 12:23 PM, Pete Kelly wrote:<br>
                  </div>
                </div>
              </div>
              <blockquote type="cite">
                <div>
                  <div class="m_6697413788972133821h5">
                    <div dir="ltr">Hi all!!
                      <div><br>
                      </div>
                      <div>I frequently have to configure the dispatcher
                        module, and one of the items that always crops
                        us is which "probe mode" to set the gateways to
                        within the dispatcher table.</div>
                      <div><br>
                      </div>
                      <div>It always proves a bit troublesome because
                        it's not clear from the documentation which
                        integer corresponds to
                        "inactive"/"probing"/"probe when disabled" etc.</div>
                      <div><br>
                      </div>
                      <div>Is there any chance the documentation here
                        could be updated in the next iteration so that
                        the state values are enumerated?</div>
                      <div><br>
                      </div>
                      <div><a href="http://www.opensips.org/html/docs/modules/2.3.x/dispatcher#idp5608512" target="_blank">http://www.opensips.org/html/d<wbr>ocs/modules/2.3.x/dispatcher#i<wbr>dp5608512</a><br>
                      </div>
                      <div><br>
                      </div>
                      <div>Pete</div>
                    </div>
                    <br>
                    <fieldset class="m_6697413788972133821m_-442076475622401070mimeAttachmentHeader"></fieldset>
                    <br>
                  </div>
                </div>
                <pre>______________________________<wbr>_________________
Users mailing list
<a class="m_6697413788972133821m_-442076475622401070moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a class="m_6697413788972133821m_-442076475622401070moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">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>