<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"><<a 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>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 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"><<a 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></fieldset>
<br>
</div></div><div class=""><pre>_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a>
Official FreeSWITCH Sites
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
</pre>
<br>
<fieldset></fieldset>
<br>
</div><p color="#000000" align="left"></p><div class="">No virus
found in this message.<br>
Checked by AVG - <a 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<p></p>
</blockquote>
<br>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div></div>