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.com> wrote:
fs_cli -x "sofia status" | grep "profile.*@" | awk '{print $1}'
a little convoluted ;) ᐧ
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 <+34%20669%2044%2083%2037>
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> <vma@vallimamod.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <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.
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr .
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-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services:consulting@freeswitch.orghttp://www.freeswitchsolutions.com
Official FreeSWITCH Siteshttp://www.freeswitch.orghttp://confluence.freeswitch.orghttp://www.cluecon....
FreeSWITCH-users mailing listFreeSWITCH-users@lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.frees...
____________________________________________________________ _____________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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