<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">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 <uuid>". <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
cite="mid:00000144bb5f054c-db56c8f3-627d-45fc-a908-21cf1f6b7137-000000@email.amazonses.com"
type="cite">
<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"><<a moz-do-not-send="true"
href="mailto:alex@digitalmail.com" target="_blank">alex@digitalmail.com</a>></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 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>