Freeswitch commands customization
Hi I am using a webpanel to run freeswitch commands (for example show calls). Can we do some customization like if we want certain colums to be eliminated from "show calls" resultset? Regards
If you are doing a webpanel just filter them in your display code else you have to have to freeswitch code itself them you are stuck maintaining your own set up patches to update every time you update freeswitch On 5/23/11 4:36 AM, "awais nazir" <awais-nazeer@hotmail.com> wrote:
Hi
I am using a webpanel to run freeswitch commands (for example show calls). Can we do some customization like if we want certain colums to be eliminated from "show calls" resultset?
Regards
_______________________________________________ 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
You're best off using "show calls as xml", parsing the XML, and then choosing which to display yourself. Using XML will be less error prone than using the text display in case the formatting/columns change in later FreeSWITCH versions... the XML element names should remain the same. -Steve On 23 May 2011 10:36, awais nazir <awais-nazeer@hotmail.com> wrote:
Hi
I am using a webpanel to run freeswitch commands (for example show calls). Can we do some customization like if we want certain colums to be eliminated from "show calls" resultset?
Regards
_______________________________________________ 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 (3)
-
awais nazir
-
Ken Rice
-
Steven Ayre