<div dir="ltr">If you are going to use ESL (the protocol fs_cli uses), use the &#39;sofia xmlstatus&#39; not &#39;sofia status&#39; command... it gives more information and is easier to parse.</div><div class="gmail_extra">

<br><br><div class="gmail_quote">On 19 December 2013 15:37, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.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 style="word-wrap:break-word">There is no built in table for that.  You could create an event listener using some script language over esl that listens to events and maintains that table, or you can use sofia api commands to get it via cli or other methods.<div>

<div class="h5"><div><br><div><div>On Dec 19, 2013, at 10:28 AM, Chris B. Ware &lt;<a href="mailto:chrisbware@yahoo.it" target="_blank">chrisbware@yahoo.it</a>&gt; wrote:</div><br><blockquote type="cite"><div><div style="font-size:10pt;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif">

<div>Hi ,</div><div><br></div><div style="font-size:13px;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;background-color:transparent;font-style:normal">I&#39;m using odbc+mysql as &quot;core DB&quot;. Freeswitch creates a table sip_registrations where I can see endpoints registration status.</div>

<div style="font-size:13px;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;background-color:transparent;font-style:normal">What about gateways? Should I use cli to get their status?</div>

<div style="font-size:13px;font-family:HelveticaNeue,&#39;Helvetica Neue&#39;,Helvetica,Arial,&#39;Lucida Grande&#39;,sans-serif;background-color:transparent;font-style:normal"><br></div></div></div></blockquote></div><br>

</div></div></div></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>