<div dir="ltr"><div>Razvan,<br><br></div>We are just now experiencing the issue and i have taken the result of the command you asked.<br><br><a href="http://pastebin.com/MYQnJhvP">http://pastebin.com/MYQnJhvP</a><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Apr 1, 2015 at 9:13 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</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, John!<br>
      <br>
      Can you put on pastebin the output of the &quot;opensipsctl fifo
      dlg_list_ctx&quot; command while multiple dialogs are stuck in state 5?<br>
      <br>
      Best regards,<br>
    </tt><span class="">
    <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
    </span><div><div class="h5"><div>On 03/31/2015 01:29 PM, John Mathew
      wrote:<br>
    </div>
    <blockquote type="cite">Opensips 1.11.3<span></span><br>
      <br>
      On Tuesday, 31 March 2015, Răzvan Crainea &lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;
      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, John!<br>
            <br>
            What OpenSIPS version are you running?<br>
            <br>
            Regards,<br>
          </tt>
          <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
          <div>On 03/30/2015 08:08 PM, John Mathew wrote:<br>
          </div>
          <blockquote type="cite">
            <div dir="ltr">
              <div>
                <div>Razvan,<br>
                  <br>
                </div>
                I tried to reproduce the issue, by making UAS not to
                respond for opensips request. but opensips is handling
                it correctly. That means the issue is not during Request
                Timeout.<br>
                <br>
              </div>
              Then what what could be reason, when intermittently Dialog
              not deleted from state 5 and once in 2-3 days state 5
              calls will be 5000 numbers and opensips ran out of shmem
              and crashes.<br>
            </div>
            <div class="gmail_extra"><br>
              <div class="gmail_quote">On Mon, Mar 30, 2015 at 1:54 PM,
                Răzvan Crainea <span dir="ltr">&lt;<a>razvan@opensips.org</a>&gt;</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>Do the
                      dialogs </tt><tt>get stuc</tt><tt>k</tt><tt> in
                      state 5 and they are never deleted?</tt><tt><br>
                    </tt><tt>By default, when a negative reply is
                      received and there is no failure route armed to
                      handle it, the transaction/dialog is destroyed and
                      the reply is sent back to the client.</tt><tt><br>
                    </tt><tt><br>
                    </tt><tt>Can you please be a bit more specific about
                      what is happening with your call, and what would
                      you like to happend?</tt><span><tt><br>
                      </tt><tt><br>
                      </tt><tt>Best regards,</tt><br>
                      <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                    </span>
                    <div>
                      <div>
                        <div>On 03/29/2015 09:19 AM, John Mathew wrote:<br>
                        </div>
                        <blockquote type="cite">
                          <div dir="ltr">
                            <div>Guys,<br>
                              <br>
                            </div>
                            Waiting for your response. Any help will be
                            appreciated. <br>
                          </div>
                          <div class="gmail_extra"><br>
                            <div class="gmail_quote">On Fri, Mar 27,
                              2015 at 8:36 PM, John Mathew <span dir="ltr">&lt;<a>john.mathew@divoxmedia.com</a>&gt;</span>
                              wrote:<br>
                              <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                                <div dir="ltr">
                                  <div>Hi,<br>
                                  </div>
                                  <div><br>
                                  </div>
                                  Normally how do we handle the
                                  situation, when we do not receive any
                                  response from destination for any
                                  request?<br>
                                </div>
                                <div>
                                  <div>
                                    <div class="gmail_extra"><br>
                                      <div class="gmail_quote">On Fri,
                                        Mar 27, 2015 at 2:10 PM, John
                                        Mathew <span dir="ltr">&lt;<a>john.mathew@divoxmedia.com</a>&gt;</span>
                                        wrote:<br>
                                        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi
                                          Razvan,
                                          <div><br>
                                          </div>
                                          <div>I mean dialog not deleted
                                            from memory and they are at
                                            state 5. This happens only
                                            for calls where, destination
                                            not responding for Register
                                            and Invite requests. And
                                            they are not deleted from
                                            memory.</div>
                                          <div><br>
                                          </div>
                                          <div>I guess i am missing some
                                            timer related
                                            configuration. 
                                            <div>
                                              <div><span></span><br>
                                                <br>
                                                On Friday, 27 March
                                                2015, Răzvan Crainea
                                                &lt;<a>razvan@opensips.org</a>&gt;


                                                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,

                                                      John!<br>
                                                      <br>
                                                      What do you mean
                                                      the dialog is
                                                      hanging in state
                                                      5? The dialog is
                                                      never deleted from
                                                      DB/memory?<br>
                                                      <br>
                                                      The dialog starts
                                                      when the call is
                                                      completed (the 200
                                                      OK is sent), so
                                                      you can&#39;t &quot;move a
                                                      dialog&quot; in failure
                                                      route.<br>
                                                      What you can do is
                                                      to handle the
                                                      Request failure in
                                                      failure_route and
                                                      route it somewhere
                                                      else, or drop it
                                                      and the dialog is
                                                      closed. To handle
                                                      a request in
                                                      failure_route, you
                                                      have to engage it
                                                      before sending the
                                                      first request out,
                                                      using:<br>
                                                      <br>
t_on_failure(&quot;handle_fails&quot;);<br>
                                                      ...<br>
                                                      <br>
                                                      <br>
                                                      failure_route[handle_fails]

                                                      {<br>
                                                          ...<br>
                                                          # handle the
                                                      failed call<br>
                                                          ...<br>
                                                      }<br>
                                                      <br>
                                                      Best regards,<br>
                                                    </tt>
                                                    <pre cols="72">Răzvan Crainea
OpenSIPS Solutions
<a href="http://www.opensips-solutions.com" target="_blank">www.opensips-solutions.com</a></pre>
                                                    <div>On 03/26/2015
                                                      03:55 PM, John
                                                      Mathew wrote:<br>
                                                    </div>
                                                    <blockquote type="cite">
                                                      <div dir="ltr">
                                                        <div>
                                                          <div>
                                                          <div>
                                                          <div>Hi,<br>
                                                          <br>
                                                          </div>
                                                          Dialog state
                                                          is hanging at
                                                          &quot;state 5&quot; when
                                                          there is no
                                                          response from
                                                          the
                                                          destination.<br>
                                                          </div>
                                                          <br>
                                                          What config we
                                                          need to add to
                                                          get the dialog
                                                          moved to
                                                          failure_route
                                                          if, opensips
                                                          is not
                                                          receiving any
                                                          response from
                                                          destination
                                                          for any
                                                          request sent
                                                          out.?<br>
                                                          <br>
                                                          </div>
                                                          Or <br>
                                                          <br>
                                                          <br>
                                                        </div>
                                                        <div>How can we
                                                          drop the
                                                          dialog instead
                                                          of moving to
                                                          failure_route?
                                                          <br>
                                                        </div>
                                                        <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div>
                                                          <div><br>
                                                          -- <br>
                                                          <div>
                                                          <div dir="ltr">
                                                          <div><span style="color:rgb(102,102,102)"><br>
                                                          Regards,</span></div>
                                                          <div><span style="color:rgb(102,102,102)">John



                                                          Mathew</span></div>
                                                          <div><span style="color:rgb(102,102,102)">CEO/Director</span><br>
                                                          <span style="color:rgb(255,102,0)">Divox</span>
                                                          <span style="color:rgb(102,102,102)">International



                                                          Inc.</span><br>
                                                          <font color="#666666">Contact:



                                                          +91-9037100001<br>
                                                          Email/MSN: <a>John.Mathew@divoxmedia.com</a><br>
                                                          WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br>
                                                          </font><span style="color:rgb(102,102,102)"></span><br>
                                                          </div>
                                                          <div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)">
                                                          <font style="color:rgb(255,153,0)" size="6"><br>
                                                          </font></div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                      <br>
                                                      <fieldset></fieldset>
                                                      <br>
                                                      <pre>_______________________________________________
Users mailing list
<a>Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                                                    </blockquote>
                                                    <br>
                                                  </div>
                                                </blockquote>
                                              </div>
                                            </div>
                                          </div>
                                          <span><font color="#888888"><br>
                                              <br>
                                              -- <br>
                                              Sent from iPhone 6<br>
                                            </font></span></blockquote>
                                      </div>
                                      <br>
                                      <br clear="all">
                                      <br>
                                      -- <br>
                                      <div>
                                        <div dir="ltr">
                                          <div><span style="color:rgb(102,102,102)"><br>
                                              Regards,</span></div>
                                          <div><span style="color:rgb(102,102,102)">John


                                              Mathew</span></div>
                                          <div><span style="color:rgb(102,102,102)">CEO/Director</span><br>
                                            <span style="color:rgb(255,102,0)">Divox</span>
                                            <span style="color:rgb(102,102,102)">International


                                              Inc.</span><br>
                                            <font color="#666666">Contact:

                                              +91-9037100001<br>
                                              Email/MSN: <a>John.Mathew@divoxmedia.com</a><br>
                                              WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br>
                                            </font><span style="color:rgb(102,102,102)"></span><br>
                                          </div>
                                          <div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)">
                                            <font style="color:rgb(255,153,0)" size="6"><br>
                                            </font></div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </blockquote>
                            </div>
                            <br>
                            <br clear="all">
                            <br>
                            -- <br>
                            <div>
                              <div dir="ltr">
                                <div><span style="color:rgb(102,102,102)"><br>
                                    Regards,</span></div>
                                <div><span style="color:rgb(102,102,102)">John
                                    Mathew</span></div>
                                <div><span style="color:rgb(102,102,102)">CEO/Director</span><br>
                                  <span style="color:rgb(255,102,0)">Divox</span>
                                  <span style="color:rgb(102,102,102)">International

                                    Inc.</span><br>
                                  <font color="#666666">Contact:
                                    +91-9037100001<br>
                                    Email/MSN: <a>John.Mathew@divoxmedia.com</a><br>
                                    WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br>
                                  </font><span style="color:rgb(102,102,102)"></span><br>
                                </div>
                                <div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)">
                                  <font style="color:rgb(255,153,0)" size="6"><br>
                                  </font></div>
                              </div>
                            </div>
                          </div>
                          <br>
                          <fieldset></fieldset>
                          <br>
                          <pre>_______________________________________________
Users mailing list
<a>Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                        </blockquote>
                        <br>
                      </div>
                    </div>
                  </div>
                  <br>
                  _______________________________________________<br>
                  Users mailing list<br>
                  <a>Users@lists.opensips.org</a><br>
                  <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                  <br>
                </blockquote>
              </div>
              <br>
              <br clear="all">
              <br>
              -- <br>
              <div>
                <div dir="ltr">
                  <div><span style="color:rgb(102,102,102)"><br>
                      Regards,</span></div>
                  <div><span style="color:rgb(102,102,102)">John Mathew</span></div>
                  <div><span style="color:rgb(102,102,102)">CEO/Director</span><br>
                    <span style="color:rgb(255,102,0)">Divox</span> <span style="color:rgb(102,102,102)">International Inc.</span><br>
                    <font color="#666666">Contact: +91-9037100001<br>
                      Email/MSN: <a>John.Mathew@divoxmedia.com</a><br>
                      WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br>
                    </font><span style="color:rgb(102,102,102)"></span><br>
                  </div>
                  <div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)">
                    <font style="color:rgb(255,153,0)" size="6"><br>
                    </font></div>
                </div>
              </div>
            </div>
            <br>
            <fieldset></fieldset>
            <br>
            <pre>_______________________________________________
Users mailing list
<a>Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
          <br>
        </div>
      </blockquote>
      <br>
      <br>
      -- <br>
      Sent from iPhone 6<br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><span style="color:rgb(102,102,102)"><br>Regards,</span></div>
<div><span style="color:rgb(102,102,102)">John Mathew</span></div>
<div><span style="color:rgb(102,102,102)">CEO/Director</span><br><span style="color:rgb(255,102,0)">Divox</span> <span style="color:rgb(102,102,102)">International Inc.</span><br><font color="#666666">Contact: +91-9037100001<br>Email/MSN: <a href="mailto:John.Mathew@divoxmedia.com" target="_blank">John.Mathew@divoxmedia.com</a><br>WEB: <a href="http://www.divoxmedia.com/" target="_blank">www.divoxmedia.com</a><br></font><span style="color:rgb(102,102,102)"></span><br></div>
<div><font color="#666666"><span></span><span></span></font><br style="color:rgb(255,153,0)"><font style="color:rgb(255,153,0)" size="6"><br></font></div>
<div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div style="display:inline"></div><div></div></div></div>
</div>