<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    thank you, works great now!<br>
    <br>
    On 6/27/2011 12:27 PM, Steven Ayre wrote:
    <blockquote
      cite="mid:BANLkTinzP3ZGC6XeM2QFFcjqONR3ej1jxg@mail.gmail.com"
      type="cite">You need to check session:ready in every loop<br>
      <br>
      -Steve<br>
      <br>
      <br>
      <div class="gmail_quote">On 27 June 2011 17:20, Wes <span
          dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:wes-fs@499x.com">wes-fs@499x.com</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div bgcolor="#ffffff" text="#000000"> Ok, I think they're
            getting stuck if I hang up while recording the call, line 54
            in the pastebin source.&nbsp; When I hang up, I see the message
            logged in line 55, but then I think it enters the "while
            (listen)" loop, and never gets out.&nbsp; Because if I uncomment
            line 58, it scrolls endlessly in the log saying: "flushing
            digits 2"&nbsp; "flushing digits 2"&nbsp; "flushing digits 2" ...<br>
            <br>
            script<br>
            <a moz-do-not-send="true"
              href="http://pastebin.freeswitch.org/16601"
              target="_blank">http://pastebin.freeswitch.org/16601</a><br>
            <br>
            log:<br>
            <a moz-do-not-send="true"
              href="http://pastebin.freeswitch.org/16602"
              target="_blank">http://pastebin.freeswitch.org/16602</a><br>
            <br>
            so is the trick to check something else in the while loop
            like: while (listen and not hung up) ?
            <div>
              <div class="h5"><br>
                <br>
                <br>
                On 6/24/2011 6:15 PM, Michael Collins wrote:
                <blockquote type="cite">The key is in knowing why those
                  are stuck. Do a "show channels" when you see these
                  so-called phantom sessions, then put it on pastebin so
                  we can take a look.<br>
                  -MC<br>
                  <br>
                  <div class="gmail_quote">On Fri, Jun 24, 2011 at 2:37
                    PM, Wes <span dir="ltr">&lt;<a
                        moz-do-not-send="true"
                        href="mailto:wes-fs@499x.com" target="_blank">wes-fs@499x.com</a>&gt;</span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin: 0pt
                      0pt 0pt 0.8ex; border-left: 1px solid rgb(204,
                      204, 204); padding-left: 1ex;">in my testing, I'm
                      getting some sessions that are, hung, I guess.<br>
                      <br>
                      Status shows:<br>
                      <br>
                      UP 0 years, 0 days, 2 hours, 7 minutes, 37
                      seconds, 752 milliseconds,<br>
                      720 microseconds<br>
                      23 session(s) since startup<br>
                      5 session(s) 0/30<br>
                      1000 session(s) max<br>
                      min idle cpu 0.00/0.00<br>
                      <br>
                      <br>
                      if I do a shutdown, it waits on them for a while,
                      then eventually shuts<br>
                      down.<br>
                      <br>
                      Is there any way to "clean" these up periodically?
                      &nbsp;Or, what am I doing<br>
                      to leave them out there?<br>
                      <br>
                      thanks!<br>
                      <br>
                      _______________________________________________<br>
                      Join us at ClueCon 2011, Aug 9-11, Chicago<br>
                      <a moz-do-not-send="true"
                        href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
                      877-7-4ACLUE<br>
                      <br>
                      FreeSWITCH-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:FreeSWITCH-users@lists.freeswitch.org"
                        target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                        target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
                      UNSUBSCRIBE:<a moz-do-not-send="true"
                        href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                        target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
                      <a moz-do-not-send="true"
                        href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
                    </blockquote>
                  </div>
                  <br>
                  <pre><fieldset></fieldset>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE

FreeSWITCH-users mailing list
<a moz-do-not-send="true" href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a moz-do-not-send="true" href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
                </blockquote>
              </div>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          Join us at ClueCon 2011, Aug 9-11, Chicago<br>
          <a moz-do-not-send="true" href="http://www.cluecon.com"
            target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br>
          <br>
          FreeSWITCH-users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
          UNSUBSCRIBE:<a moz-do-not-send="true"
            href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
            target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
          <a moz-do-not-send="true" href="http://www.freeswitch.org"
            target="_blank">http://www.freeswitch.org</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <div style="visibility: hidden; left: -5000px; position: absolute;
        z-index: 9999; padding: 0px; margin-left: 0px; margin-top: 0px;
        overflow: hidden; word-wrap: break-word; color: black;
        font-size: 10px; text-align: left; line-height: 130%;"
        id="avg_ls_inline_popup">
      </div>
      <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a> 877-7-4ACLUE

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
    </blockquote>
  </body>
</html>