<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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;}
@font-face
        {font-family:"Courier New \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* 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";
        color:black;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
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-mailStijl24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
span.E-mailStijl26
        {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]-->
</head>
<body bgcolor="white" lang="NL" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">I do have ds_probing_mode set to 1.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">According to documentation it is able to change states from Active to Probing. Nowhere the state Inactive is mentioned for this param.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">The probing works as expected. If the OPTIONS remain unanswered the status is changed to Probing. When the destination starts replying again it changes back to active.<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">Probing as initial state (after startup) would be less of a problem as they will then automatically go to Active based on OPTIONS monitoring.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Destinations with Inactive state will not be pinged and are unable to get to an Active or Probing state without an opensipsctl fifo ds_set_state.<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;mso-fareast-language:NL"><br>
<br>
</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 [mailto:bogdan@opensips.org]
<br>
<b>Verzonden:</b> dinsdag 10 juni 2014 13:02<br>
<b>Aan:</b> Rik Broers; OpenSIPS users mailling list<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:"Courier New""><br>
<br>
<tt>Do you set the "ds_probing_mode" param ? Maybe you start with the destination as active, but because of that param (when set to 1), the probing is permanent and the destinations may be learned as inactive (based on probing).</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 href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a><o:p></o:p></pre>
<p class="MsoNormal">On 10.06.2014 13:06, 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">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?</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">Opensips –V output below:</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">version: opensips 1.10.1-notls (x86_64/linux)</span><o:p></o:p></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</span><o:p></o:p></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</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">git revision: f03f552</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">@(#) $Id$</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:windowtext">main.c compiled on 11:28:31 May 19 2014 with gcc 4.4.5</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 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 href="mailto:users@lists.opensips.org">users@lists.opensips.org</a><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:"Courier New , serif","serif""><br>
<br>
</span><tt><span style="font-size:10.0pt">yes, I have to agree about the docs - it needs to be done.</span></tt><span style="font-size:10.0pt;font-family:"Courier New , serif","serif""><br>
<br>
</span><tt><span style="font-size:10.0pt">Put 0 for the flags - that means is active .</span></tt><span style="font-size:10.0pt;font-family:"Courier New , serif","serif""><br>
<br>
</span><tt><span style="font-size:10.0pt">Regards,</span></tt><span style="font-size:10.0pt;font-family:"Courier New , serif","serif""><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 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 "Times New Roman"">
</span></span></span><![endif]><em><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">"i", "I" or "0"</span></em><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif""> </span></span><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">-
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 "Times New Roman"">
</span></span></span><![endif]><em><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">"a", "A" or "1"</span></em><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif""> </span></span><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">-
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 "Times New Roman"">
</span></span></span><![endif]><em><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">"p", "P" or "2"</span></em><span class="apple-converted-space"><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif""> </span></span><span style="font-size:9.0pt;font-family:"Helvetica","sans-serif"">-
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 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 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:"Courier New , serif","serif""><br>
<br>
</span><tt><span style="font-size:10.0pt">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.</span></tt><span style="font-size:10.0pt;font-family:"Courier New , serif","serif""><br>
<br>
</span><tt><span style="font-size:10.0pt">Regards,</span></tt><span style="font-size:10.0pt;font-family:"Courier New , serif","serif""><br>
<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 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>
<br>
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><br>
<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 href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a 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"> </span><o:p></o:p></p>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:NL"><o:p> </o:p></span></p>
</div>
</body>
</html>