<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi, John!<br>
      <br>
      Can you put on pastebin the output of the "opensipsctl fifo
      dlg_list_ctx" command while multiple dialogs are stuck in state 5?<br>
      <br>
      Best regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 03/31/2015 01:29 PM, John Mathew
      wrote:<br>
    </div>
    <blockquote
cite="mid:CA+SkwpVr+XCBxjLruXy04Zcsiqs6+h21cENqxTk_9wLeyUXXtA@mail.gmail.com"
      type="cite">Opensips 1.11.3<span></span><br>
      <br>
      On Tuesday, 31 March 2015, Răzvan Crainea &lt;<a
        moz-do-not-send="true" href="mailto:razvan@opensips.org">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 moz-do-not-send="true" 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
                    moz-do-not-send="true"
                    href="javascript:_e(%7B%7D,'cvml','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>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 moz-do-not-send="true" 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 moz-do-not-send="true"
href="javascript:_e(%7B%7D,'cvml','john.mathew@divoxmedia.com');"
                                  target="_blank">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
                                            moz-do-not-send="true"
                                            href="javascript:_e(%7B%7D,'cvml','john.mathew@divoxmedia.com');"
                                            target="_blank">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
                                                  moz-do-not-send="true"
href="javascript:_e(%7B%7D,'cvml','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 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't "move a
                                                      dialog" 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("handle_fails");<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 moz-do-not-send="true" 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
                                                          "state 5" 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
moz-do-not-send="true">John.Mathew@divoxmedia.com</a><br>
                                                          WEB: <a
                                                          moz-do-not-send="true"
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 moz-do-not-send="true">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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
                                                moz-do-not-send="true"
                                                href="javascript:_e(%7B%7D,'cvml','John.Mathew@divoxmedia.com');"
                                                target="_blank">John.Mathew@divoxmedia.com</a><br>
                                              WEB: <a
                                                moz-do-not-send="true"
                                                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
                                      moz-do-not-send="true"
                                      href="javascript:_e(%7B%7D,'cvml','John.Mathew@divoxmedia.com');"
                                      target="_blank">John.Mathew@divoxmedia.com</a><br>
                                    WEB: <a moz-do-not-send="true"
                                      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 moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true"
                    href="javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');"
                    target="_blank">Users@lists.opensips.org</a><br>
                  <a moz-do-not-send="true"
                    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 moz-do-not-send="true"
                        href="javascript:_e(%7B%7D,'cvml','John.Mathew@divoxmedia.com');"
                        target="_blank">John.Mathew@divoxmedia.com</a><br>
                      WEB: <a moz-do-not-send="true"
                        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 moz-do-not-send="true" href="javascript:_e(%7B%7D,'cvml','Users@lists.opensips.org');" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" 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 class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>