<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi Rik,<br>
        <br>
        <tt>Do you set the "ds_probing_mode" param ? Maybe <tt>you
            start wi<tt>th <tt>the destination as active, but because
                of that param (when<tt> set to 1), the prob<tt>ing is p<tt>ermanent
                      and the destinations may be learned as inactive
                      (based on <tt>p<tt>robing).</tt></tt></tt></tt></tt></tt></tt></tt></tt><br>
        <br>
        <tt>Regards,</tt><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></pre>
      On 10.06.2014 13:06, Rik Broers wrote:<br>
    </div>
    <blockquote
cite="mid:15a1bd4fc8c2438884d1c5f01d0e59ed@DBXPR06MB624.eurprd06.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Helvetica;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New","serif";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New","serif";}
span.HTML-voorafopgemaaktChar
        {mso-style-name:"HTML - vooraf opgemaakt Char";
        mso-style-priority:99;
        mso-style-link:"HTML - vooraf opgemaakt";
        font-family:Consolas;
        color:black;}
span.E-mailStijl21
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.E-mailStijl22
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.E-mailStijl25
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:664473446;
        mso-list-template-ids:-1022221246;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level2
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:72.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level3
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:108.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level4
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:144.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level5
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:180.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level6
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:216.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level7
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:252.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level8
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:288.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l0:level9
        {mso-level-number-format:bullet;
        mso-level-text:;
        mso-level-tab-stop:324.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:windowtext">I’ve tried
            putting 0 in the flags column, They still start as Inactive.
            Strange thing is that not all of them start as inactive?<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">Opensips –V
            output below:<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">version:
            opensips 1.10.1-notls (x86_64/linux)<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">flags:
            STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,
            SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
            FAST_LOCK-ADAPTIVE_WAIT<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">ADAPTIVE_WAIT_LOOPS=1024,
            MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE
            1024, BUF_SIZE 65535<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">poll method
            support: poll, epoll_lt, epoll_et, sigio_rt, select.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">git
            revision: f03f552<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">@(#) $Id$<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext">main.c
            compiled on 11:28:31 May 19 2014 with gcc 4.4.5<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"
            style="margin-bottom:12.0pt;line-height:12.75pt"><span
              style="color:windowtext;mso-fareast-language:NL">Vriendelijke
              groet,<br>
              <br>
            </span><b><span
                style="color:#84C41B;mso-fareast-language:NL">Rik Broers</span></b><span
              style="color:windowtext;mso-fareast-language:NL"><br>
            </span><span
              style="font-size:9.0pt;color:#212735;mso-fareast-language:NL">Voice
              Engineer</span><span style="color:windowtext"><o:p></o:p></span></p>
        </div>
        <div>
          <div style="border:none;border-top:solid #E1E1E1
            1.0pt;padding:3.0pt 0cm 0cm 0cm">
            <p class="MsoNormal"><b><span
                  style="color:windowtext;mso-fareast-language:NL">Van:</span></b><span
                style="color:windowtext;mso-fareast-language:NL">
                Bogdan-Andrei Iancu [<a class="moz-txt-link-freetext" href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                <br>
                <b>Verzonden:</b> dinsdag 27 mei 2014 11:33<br>
                <b>Aan:</b> Rik Broers; <a class="moz-txt-link-abbreviated" href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><br>
                <b>Onderwerp:</b> Re: [OpenSIPS-Users] Dispatcher nodes
                start as Inactive<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
                Rik,</span></tt><span
              style="font-size:10.0pt;font-family:&quot;Courier
              New&quot;,&quot;serif&quot;"><br>
              <br>
              <tt>yes, I have to agree about the docs - it needs to be
                done.</tt><br>
              <br>
              <tt>Put 0 for the flags - that means is active .</tt><br>
              <br>
              <tt>Regards,</tt><br>
              <br>
            </span><span
              style="font-size:12.0pt;mso-fareast-language:NL"><o:p></o:p></span></p>
          <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
          <pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
          <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
          <p class="MsoNormal">On 27.05.2014 11:43, Rik Broers wrote:<o:p></o:p></p>
        </div>
        <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
          <p class="MsoNormal"><span style="color:windowtext">So i can
              use the following values in the Flags column?</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
          <p
            style="margin-left:36.0pt;text-align:justify;text-indent:-18.0pt;mso-list:l0
            level1 lfo2;background:white">
            <!--[if !supportLists]--><span
              style="font-size:10.0pt;font-family:Symbol"><span
                style="mso-list:Ignore">·<span style="font:7.0pt
                  &quot;Times New Roman&quot;">        
                </span></span></span><!--[endif]--><em><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">"i",
                "I" or "0"</span></em><span
              class="apple-converted-space"><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"> </span></span><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">-
              the last destination should be set to inactive and will be
              ignored in future requests.</span><o:p></o:p></p>
          <p
            style="margin-left:36.0pt;text-align:justify;text-indent:-18.0pt;mso-list:l0
            level1 lfo2;background:white">
            <!--[if !supportLists]--><span
              style="font-size:10.0pt;font-family:Symbol"><span
                style="mso-list:Ignore">·<span style="font:7.0pt
                  &quot;Times New Roman&quot;">        
                </span></span></span><!--[endif]--><em><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">"a",
                "A" or "1"</span></em><span
              class="apple-converted-space"><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"> </span></span><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">-
              the last destination should be set to active.</span><o:p></o:p></p>
          <p
            style="margin-left:36.0pt;text-align:justify;text-indent:-18.0pt;mso-list:l0
            level1 lfo2;background:white">
            <!--[if !supportLists]--><span
              style="font-size:10.0pt;font-family:Symbol"><span
                style="mso-list:Ignore">·<span style="font:7.0pt
                  &quot;Times New Roman&quot;">        
                </span></span></span><!--[endif]--><em><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">"p",
                "P" or "2"</span></em><span
              class="apple-converted-space"><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;"> </span></span><span
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,&quot;sans-serif&quot;">-
              the last destination will be set to probing. Note: You
              will need to call this function "threshhold"-times, before
              it will be actually set to probing.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:windowtext">I don’t
              find this to be very clear from the documentation, as
              there also is the modparam named flags which does not seem
              to do anything with Flags in the DB.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:windowtext">No where
              there is specifically noted what values you can use for
              the different columns.</span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
          <p class="MsoNormal"><span style="color:windowtext"> </span><o:p></o:p></p>
          <div>
            <p class="MsoNormal"
              style="margin-bottom:12.0pt;line-height:12.75pt"><span
                style="color:windowtext;mso-fareast-language:NL">Vriendelijke
                groet,<br>
                <br>
              </span><b><span
                  style="color:#84C41B;mso-fareast-language:NL">Rik
                  Broers</span></b><span
                style="color:windowtext;mso-fareast-language:NL"><br>
              </span><span
                style="font-size:9.0pt;color:#212735;mso-fareast-language:NL">Voice
                Engineer</span><o:p></o:p></p>
          </div>
          <div>
            <div style="border:none;border-top:solid #E1E1E1
              1.0pt;padding:3.0pt 0cm 0cm 0cm">
              <p class="MsoNormal"><b><span
                    style="color:windowtext;mso-fareast-language:NL">Van:</span></b><span
                  style="color:windowtext;mso-fareast-language:NL">
                  Bogdan-Andrei Iancu [<a moz-do-not-send="true"
                    href="mailto:bogdan@opensips.org">mailto:bogdan@opensips.org</a>]
                  <br>
                  <b>Verzonden:</b> maandag 26 mei 2014 20:00<br>
                  <b>Aan:</b> <a moz-do-not-send="true"
                    href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>;
                  Rik Broers<br>
                  <b>Onderwerp:</b> Re: [OpenSIPS-Users] Dispatcher
                  nodes start as Inactive</span><o:p></o:p></p>
            </div>
          </div>
          <p class="MsoNormal"> <o:p></o:p></p>
          <div>
            <p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
                  Rik,</span></tt><span
                style="font-size:10.0pt;font-family:&quot;Courier
                New&quot;,&quot;serif&quot;"><br>
                <br>
                <tt>In 1.10, upon restart, the status flags from DB are
                  loaded (the in memory state is discarded) - so  check
                  the flags you have for the destinations in DB.</tt><br>
                <br>
                <tt>Regards,</tt><br>
                <br>
                <br>
              </span><o:p></o:p></p>
            <pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
            <pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
            <p class="MsoNormal">On 26.05.2014 09:55, Rik Broers wrote:<o:p></o:p></p>
          </div>
          <blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
            <p class="MsoNormal">When I restart my 1.10 opensips a lot
              of the dispatcher nodes start as Inactive.<o:p></o:p></p>
            <p class="MsoNormal">I have to manually set them to P or A
              before they become used.<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal">How can I make sure all nodes start as
              Probing or Active after a server reboot.<o:p></o:p></p>
            <p class="MsoNormal"> <o:p></o:p></p>
            <p class="MsoNormal"
              style="margin-bottom:12.0pt;line-height:12.75pt"><span
                style="mso-fareast-language:NL">Vriendelijke groet,<br>
                <br>
              </span><b><span
                  style="color:#84C41B;mso-fareast-language:NL">Rik
                  Broers</span></b><span style="mso-fareast-language:NL"><br>
              </span><span
                style="font-size:9.0pt;color:#212735;mso-fareast-language:NL">Voice
                Engineer</span><span style="mso-fareast-language:NL"><br>
                <br>
                <br>
                <br>
              </span><o:p></o:p></p>
            <p class="MsoNormal"><span style="font-size:12.0pt"><br>
                <br>
                <br>
                <br>
              </span><o:p></o:p></p>
            <pre>_______________________________________________<o:p></o:p></pre>
            <pre>Users mailing list<o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
            <pre><a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
          </blockquote>
          <p class="MsoNormal"><span style="font-size:12.0pt"> </span><o:p></o:p></p>
        </blockquote>
        <p class="MsoNormal"><span
            style="font-size:12.0pt;font-family:&quot;Times New
            Roman&quot;,&quot;serif&quot;;mso-fareast-language:NL"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>