<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Ah, that's good to know!!<br>
    </div>
    <blockquote
cite="mid:00000144bc73cdf1-f1b1c45a-5239-4d61-b1dd-e6200709d1ce-000000@email.amazonses.com"
      type="cite">
      <div dir="ltr">BTW, you can do:
        <div><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px">show
            detailed_calls as xml</span><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px"><br>
          </span></div>
        <div><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px">show
            detailed_calls as json</span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px">--
            might have been easier/more robust to parse...</span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px"><br>
          </span></div>
        <div style=""><span
            style="font-family:arial,sans-serif;font-size:12.666666984558105px">-Avi</span></div>
        <div class="gmail_extra">
          <br>
          <br>
          <div class="gmail_quote">On Thu, Mar 13, 2014 at 6:07 PM, Alex
            Lake <span dir="ltr">&lt;<a moz-do-not-send="true"
                href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.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 text="#000000" bgcolor="#FFFFFF">
                <div>Well, what I did was quite complicated...<br>
                  <br>
                  Essentially, I have a web application running on a
                  LAMP stack which hits the freeswitch socket with "api
                  show detailed_calls". This is parsed (not that easy!)
                  into key-value pairs to find the dialplan context of
                  each call.<br>
                  It then iterates through the list of calls and if it
                  find one that matches the dialplan filter specified by
                  the user, it hits the freeswitch socket again with
                  "api uuid_dump &lt;uuid&gt;". <br>
                  It takes the results of this and attempts to parse it
                  into an array of key-value pairs.<br>
                  This is then filtered to display into a frame on the
                  web page.<br>
                  <br>
                  Knowing what I know now, I could do what I was
                  originally after far more easily - just execute
                  "uuid_dump" and parse the results.<br>
                  <br>
                  However, it's very nice to have a web-based session
                  inspector.<br>
                  <br>
                </div>
                <blockquote type="cite">
                  <div>
                    <div class="h5">
                      <div dir="ltr">
                        <div class="gmail_extra">If you found it helpful
                          -- can you share the basics?</div>
                        <div class="gmail_extra"> <br>
                          <br>
                          <div class="gmail_quote">On Thu, Mar 13, 2014
                            at 1:35 PM, Alex Lake <span dir="ltr">&lt;<a
                                moz-do-not-send="true"
                                href="mailto:alex@digitalmail.com"
                                target="_blank">alex@digitalmail.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 text="#000000" bgcolor="#FFFFFF">
                                <div>Sorry for the slow response...<br>
                                  <br>
                                  I was trying to get a way of dumping
                                  only "interesting" variables to the
                                  console to aid in debugging without
                                  generating reams of irrelevant
                                  variables!<br>
                                  I've got a totally different method
                                  now that uses the api.</div>
                              </div>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <br>
                    </div>
                  </div>
                  <div class="">
                    <pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a moz-do-not-send="true" href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a moz-do-not-send="true" href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a moz-do-not-send="true" href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a moz-do-not-send="true" href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a moz-do-not-send="true" href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>

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>
                    <br>
                    <fieldset></fieldset>
                    <br>
                  </div>
                  <div class="">No virus found in this message.<br>
                    Checked by AVG - <a moz-do-not-send="true"
                      href="http://www.avg.com" target="_blank">www.avg.com</a><br>
                  </div>
                  Version: 2014.0.4259 / Virus Database: 3722/7187 -
                  Release Date: 03/12/14 </blockquote>
                <br>
              </div>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              FreeSWITCH-powered IP PBX: The CudaTel Communication
              Server<br>
              <a moz-do-not-send="true" href="http://www.cudatel.com"
                target="_blank">http://www.cudatel.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><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>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://wiki.freeswitch.org">http://wiki.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

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>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <p class="" avgcert""="" color="#000000" align="left">No virus
        found in this message.<br>
        Checked by AVG - <a moz-do-not-send="true"
          href="http://www.avg.com">www.avg.com</a><br>
        Version: 2014.0.4259 / Virus Database: 3722/7187 - Release Date:
        03/12/14</p>
    </blockquote>
    <br>
  </body>
</html>