<html>
<head>
</head>
<body>
<div style="color: black;">
<div style="color: black;">
<p style="margin: 0 0 1em 0; color: black;">I hope this works when called
from a php script. I was hoping there would be any command similar to show
xxx as xml or json as that's easier to parse but all day searching and
couldn't find anything.</p>
<p style="margin: 0 0 1em 0; color: black;">Thanks will try it tomorrow</p>
</div>
<div style="color: black;">
<p
style="color: black; font-size: 10pt; font-family: Arial, sans-serif; margin: 10pt 0;">On
September 27, 2017 10:10:56 PM David Villasmil
<david.villasmil.work@gmail.com> wrote:</p>
<blockquote type="cite" class="gmail_quote"
style="margin: 0 0 0 0.75ex; border-left: 1px solid #808080; padding-left: 0.75ex;">
<div dir="ltr"> fs_cli -x "sofia status" | grep
"profile.*@" | awk '{print $1}'<br><div><br></div><div>a
little convoluted ;)</div></div><div hspace="streak-pt-mark"
style="max-height:1px"><img alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=46b7772b-904a-4fe6-99aa-1a41a7184032"><font
color="#ffffff" size="1">ᐧ</font></div><div class="gmail_extra"><br
clear="all"><div><div class="gmail_signature"
data-smartmail="gmail_signature"><div
dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a
href="mailto:david.villasmil.work@gmail.com"
target="_blank">david.villasmil.work@gmail.com</a></div><div>phone:
+34669448337</div></div></div></div>
<br><div class="gmail_quote">On Wed, Sep 27, 2017 at 4:41 PM, Bipin Patel
<span dir="ltr"><<a href="mailto:bipin@xbipin.com"
target="_blank">bipin@xbipin.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">
<font size="-1"><font face="Arial">hi,<br>
<br>
yes that i know but i want something that outputs profile names
only coz i developed a CDR portal so adding more things to it so
can make it open source which would work like a drop in php
portal that works out of the box and to see active registrations
etc i need to know the profile names so then can sofia status
profile internal reg<br>
<br>
<br>
</font></font>
<div class="m_1161419998627951883moz-signature">
Regards,<br>
Bipin<br>
<br>
<br>
<hr>
</div><div><div class="h5">
<div class="m_1161419998627951883moz-cite-prefix">-------- Original
Message --------<br>
Subject: Re: [Freeswitch-users] cli command to list profiles<br>
From: Vallimamod Abdullah <a
class="m_1161419998627951883moz-txt-link-rfc2396E"
href="mailto:vma@vallimamod.org"
target="_blank"><vma@vallimamod.org></a><br>
To: FreeSWITCH Users Help
<a class="m_1161419998627951883moz-txt-link-rfc2396E"
href="mailto:freeswitch-users@lists.freeswitch.org"
target="_blank"><freeswitch-users@lists.<wbr>freeswitch.org></a><br>
Date: 9/27/2017, 6:07:32 PM<br>
</div>
<blockquote type="cite">
Hi,
<div><br>
</div>
<div>Have you tried 'sofia status' ?</div>
<div>It wil give you all active profiles and gateways.</div>
<div><br>
<div>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">Best
Regards,</div>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">-- <br>
Vallimamod Abdullah</div>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">SIP
Solutions</div>
<div
style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word">
<div style="font-family:monospace"><a
href="mailto:vma@sipsolutions.fr" target="_blank">vma@sipsolutions.fr</a></div>
.</div>
</div>
</div>
</div>
<br>
<div>
<blockquote type="cite">
<div>On 27 Sep 2017, at 15:14, Bipin Patel <<a
href="mailto:bipin@xbipin.com" target="_blank">bipin@xbipin.com</a>>
wrote:</div>
<br class="m_1161419998627951883Apple-interchange-newline">
<div><font
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
size="-1"><font face="Arial">hi,<br>
<br>
is there any cli command to list names of all sip
profiles as at times clients use different names other
than internal and external<br>
<br>
<br>
</font></font><span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none"></span>
<div class="m_1161419998627951883moz-signature"
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">--<span
class="m_1161419998627951883Apple-converted-space"> </span><br>
Regards,<br>
Bipin<br>
<br>
<br>
<hr
style="width:768px;height:1px;background-color:rgb(204,204,204);border:0px;background-position:initial initial;background-repeat:initial initial"></div>
<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">______________________________<wbr>______________________________<wbr>_____________</span><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">Professional
FreeSWITCH Consulting
Services:</span><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="mailto:consulting@freeswitch.org"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">consulting@freeswitch.org</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="http://www.freeswitchsolutions.com/"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">Official
FreeSWITCH Sites</span><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="http://www.freeswitch.org/"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://www.freeswitch.org</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="http://confluence.freeswitch.org/"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://confluence.freeswitch.<wbr>org</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="http://www.cluecon.com/"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://www.cluecon.com</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">FreeSWITCH-users
mailing list</span><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<span
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);display:inline!important;float:none">UNSUBSCRIBE:</span><a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br
style="color:rgb(72,72,72);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)">
<a href="http://www.freeswitch.org/"
style="color:rgb(42,86,133);font-family:Verdana,sans-serif;font-size:9.600000381469727px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255)"
target="_blank">http://www.freeswitch.org</a></div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="m_1161419998627951883mimeAttachmentHeader"></fieldset>
<br>
<pre>______________________________<wbr>______________________________<wbr>_____________
Professional FreeSWITCH Consulting Services:
<a class="m_1161419998627951883moz-txt-link-abbreviated"
href="mailto:consulting@freeswitch.org"
target="_blank">consulting@freeswitch.org</a>
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://www.freeswitchsolutions.com"
target="_blank">http://www.<wbr>freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a>
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://confluence.freeswitch.org"
target="_blank">http://confluence.freeswitch.<wbr>org</a>
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a>
FreeSWITCH-users mailing list
<a class="m_1161419998627951883moz-txt-link-abbreviated"
href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target="_blank">FreeSWITCH-users@lists.<wbr>freeswitch.org</a>
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a>
UNSUBSCRIBE:<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a>
<a class="m_1161419998627951883moz-txt-link-freetext"
href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</div></div></div>
<br>______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer"
target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer"
target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer"
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.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
rel="noreferrer"
target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
rel="noreferrer"
target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer"
target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a class="aqm-autolink aqm-autowrap"
href="mailto:consulting%40freeswitch.org">consulting@freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.cluecon.com">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a class="aqm-autolink aqm-autowrap"
href="mailto:FreeSWITCH-users%40lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a class="aqm-autolink aqm-autowrap"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a class="aqm-autolink aqm-autowrap"
href="http://www.freeswitch.org">http://www.freeswitch.org</a></blockquote>
</div>
</div>
</body>
</html>