cli command to list profiles
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 ------------------------------------------------------------------------
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 <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
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.
Best Regards, -- Vallimamod Abdullah SIP Solutions vma@sipsolutions.fr <mailto:vma@sipsolutions.fr> .
On 27 Sep 2017, at 15:14, Bipin Patel <bipin@xbipin.com <mailto: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 <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <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
fs_cli -x "sofia status" | grep "profile.*@" | awk '{print $1}' a little convoluted ;) ᐧ Regards, David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337 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
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
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
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
hi, both methods work, brilliant, thanks Regards, Bipin ------------------------------------------------------------------------ -------- Original Message -------- Subject: Re: [Freeswitch-users] cli command to list profiles From: Steven Ayre <steveayre@gmail.com> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> Date: 9/28/2017, 2:43:38 AM
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 <mailto: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 <mailto: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 <mailto:david.villasmil.work@gmail.com> phone: +34669448337 <tel:+34%20669%2044%2083%2037>
On Wed, Sep 27, 2017 at 4:41 PM, Bipin Patel <bipin@xbipin.com <mailto: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> <mailto:vma@vallimamod.org> To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org> <mailto: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 <mailto:vma@sipsolutions.fr> .
On 27 Sep 2017, at 15:14, Bipin Patel <bipin@xbipin.com <mailto: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 <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com/>
Official FreeSWITCH Sites http://www.freeswitch.org <http://www.freeswitch.org/> http://confluence.freeswitch.org <http://confluence.freeswitch.org/> http://www.cluecon.com <http://www.cluecon.com/>
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org <http://www.freeswitch.org/>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting%40freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users%40lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <http://lists.freeswitch.org/mailman/options/freeswitch-users> http://www.freeswitch.org
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org <mailto:consulting@freeswitch.org> http://www.freeswitchsolutions.com <http://www.freeswitchsolutions.com>
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org <http://confluence.freeswitch.org> http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto:FreeSWITCH-users@lists.freeswitch.org> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users <http://lists.freeswitch.org/mailman/listinfo/freeswitch-users> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users <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
participants (4)
-
Bipin Patel
-
David Villasmil
-
Steven Ayre
-
Vallimamod Abdullah