<div dir="ltr">There&#39;s no json format, unfortunately...<br clear="all"><div dir="ltr"><span style="font-family:Verdana,Arial,Helvetica,sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br><br><div class="gmail_quote">On Mon, Jun 25, 2012 at 9:07 AM, Peter Olsson <span dir="ltr">&lt;<a href="mailto:peter.olsson@visionutveckling.se" target="_blank">peter.olsson@visionutveckling.se</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I think you can also use &quot;show channels as xml&quot;, which will give you better output for parsing.<br>
<br>
/Peter<br>
<br>
25 jun 2012 kl. 07:59 skrev &quot;Seven Du&quot; &lt;<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&lt;mailto:<a href="mailto:dujinfang@gmail.com">dujinfang@gmail.com</a>&gt;&gt;:<br>
<div class="im"><br>
Hi,<br>
<br>
I use originate user/1000 &amp;bridge({aa=bb,cc=dd}user/1002)<br>
<br>
show channels gives a comma separated list, however, as some app data contains commas, this will be hard to parse, could we change to TAB? I understand query the db directly would be fine but sometimes it&#39;s just easy to parse the cli output. ideas? thanks.<br>


<br>
<br>
uuid,direction,created,created_epoch,name,state,cid_name,cid_num,ip_addr,dest,application,application_data,dialplan,context,read_codec,read_rate,read_bit_rate,write_codec,write_rate,write_bit_rate,secure,hostname,presence_id,presence_data,callstate,callee_name,callee_num,callee_direction,call_uuid,sent_callee_name,sent_callee_num<br>


</div>d412fdda-5fbc-4754-9803-2db06898a8b0,outbound,2012-06-25 13:47:03,1340603223,sofia/internal/<a href="http://sip:1000@192.168.2.102:26570" target="_blank">sip:1000@192.168.2.102:26570</a>,CS_EXECUTE,Outbound Call,1000,,1000,bridge,{aa=bb,cc=dd}user/1002,,default,PCMA,8000,64000,PCMA,8000,64000,,seven-macpro.local,<a href="mailto:1000@192.168.2.102">1000@192.168.2.102</a>&lt;mailto:<a href="mailto:1000@192.168.2.102">1000@192.168.2.102</a>&gt;,,ACTIVE,,,RECV,d412fdda-5fbc-4754-9803-2db06898a8b0,,<br>


b5ca402e-d72e-4109-a8ee-634e873f3c31,outbound,2012-06-25 13:47:30,1340603250,sofia/internal/<a href="http://sip:1002@192.168.2.102:20676" target="_blank">sip:1002@192.168.2.102:20676</a>,CS_CONSUME_MEDIA,Extension 1000,1000,192.168.2.102,1002,,,,default,,,,,,,,seven-macpro.local,<a href="mailto:1002@192.168.2.102">1002@192.168.2.102</a>&lt;mailto:<a href="mailto:1002@192.168.2.102">1002@192.168.2.102</a>&gt;,,RINGING,Outbound Call,1002,,d412fdda-5fbc-4754-9803-2db06898a8b0,,<br>


<div class="im"><br>
<br>
--<br>
About: <a href="http://about.me/dujinfang" target="_blank">http://about.me/dujinfang</a><br>
Blog: <a href="http://www.dujinfang.com" target="_blank">http://www.dujinfang.com</a><br>
Proj:  <a href="http://www.freeswitch.org.cn" target="_blank">http://www.freeswitch.org.cn</a><br>
<br>
</div>Sent with Sparrow&lt;<a href="http://www.sparrowmailapp.com" target="_blank">http://www.sparrowmailapp.com</a>&gt;<br>
<br>
!DSPAM:4fe7fb0c32761667990988!<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&lt;mailto:<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>&gt;<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>
Join Us At ClueCon - Aug 7-9, 2012<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&lt;mailto:<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>&gt;<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>
<br>
!DSPAM:4fe7fb0c32761667990988!<br>
<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>
Join Us At ClueCon - Aug 7-9, 2012<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>
</blockquote></div><br></div>