Try "sofia xmlstatus", xpath to the profile names would be "//profiles/profile/name/text()"
On 27 September 2017 at 20:41, Bipin Patel <bipin@xbipin.com> wrote:
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.
Thanks will try it tomorrow
On September 27, 2017 10:10:56 PM David Villasmil <david.villasmil.work@gmail.co
m > wrote:fs_cli -x "sofia status" | grep "profile.*@" | awk '{print $1}'
a little convoluted ;)ᐧ______________________________
On Wed, Sep 27, 2017 at 4:41 PM, Bipin Patel <bipin@xbipin.com> wrote:
hi,
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
Regards,
Bipin
-------- Original Message --------
Subject: Re: [Freeswitch-users] cli command to list profiles
From: Vallimamod Abdullah <vma@vallimamod.org>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Date: 9/27/2017, 6:07:32 PM
Hi,
Have you tried 'sofia status' ?It wil give you all active profiles and gateways.
On 27 Sep 2017, at 15:14, Bipin Patel <bipin@xbipin.com> wrote:
hi,
is there any cli command to list names of all sip profiles as at times clients use different names other than internal and external
--______________________________
Regards,
Bipin
______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users
http://www.freeswitch.org
____________________________________________________________ _____________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions .com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-user UNSUBSCRIBE:http://lists.freess witch.org/mailman/options/free http://www.freeswitch.orgswitch-users
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/free switch-users
http://www.freeswitch.org
______________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-users
http://www.freeswitch.org
____________________________________________________________ _____________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-user s
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/ freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org