[Freeswitch-dev] freeSWITCH pause
Hey is there any possible way to find out if the "fsctl pause" command was issued? Like an isPaused call? Matthew Margolis Programmer PATLive T 850.766.3236 E matthew.margolis@patlive.com
At the moment it doesn't look like there is, but it should be a pretty easy patch to make it possible. The switch_core_ready() function will tell you whether FS is ready (not paused and not shutting down). It just needs a module (probably mod_commands) to be patched to check that function. It could also be useful to add it to the status api. -Steve On 14 June 2011 21:24, Matthew Margolis <Matthew.Margolis@patlive.com>wrote:
Hey is there any possible way to find out if the “fsctl pause” command was issued? Like an isPaused call?****
** **
*Matthew Margolis*
Programmer PATLivei
T 850.766.3236****
E matthew.margolis@patlive.com****
** **
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
http://jira.freeswitch.org/browse/FS-3372 On 27 June 2011 13:33, Steven Ayre <steveayre@gmail.com> wrote:
At the moment it doesn't look like there is, but it should be a pretty easy patch to make it possible.
The switch_core_ready() function will tell you whether FS is ready (not paused and not shutting down). It just needs a module (probably mod_commands) to be patched to check that function.
It could also be useful to add it to the status api.
-Steve
On 14 June 2011 21:24, Matthew Margolis <Matthew.Margolis@patlive.com>wrote:
Hey is there any possible way to find out if the “fsctl pause” command was issued? Like an isPaused call?****
** **
*Matthew Margolis*
Programmer PATLivei
T 850.766.3236****
E matthew.margolis@patlive.com****
** **
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Hi Matthew, Just in case you missed this, Anthony committed my patch yesterday. You'll get it if you update to the latest Git. 3 changes: - The "status" command now displays either "FreeSWITCH is ready" or "FreeSWITCH is not ready" - "fsctl pause_check" returns true if paused, false if not - "fsctl ready_check" returns true if ready, false if not Ready means not paused and not shutting down. -Steve On 27 June 2011 13:52, Steven Ayre <steveayre@gmail.com> wrote:
http://jira.freeswitch.org/browse/FS-3372
On 27 June 2011 13:33, Steven Ayre <steveayre@gmail.com> wrote:
At the moment it doesn't look like there is, but it should be a pretty easy patch to make it possible.
The switch_core_ready() function will tell you whether FS is ready (not paused and not shutting down). It just needs a module (probably mod_commands) to be patched to check that function.
It could also be useful to add it to the status api.
-Steve
On 14 June 2011 21:24, Matthew Margolis <Matthew.Margolis@patlive.com>wrote:
Hey is there any possible way to find out if the “fsctl pause” command was issued? Like an isPaused call?****
** **
*Matthew Margolis*
Programmer PATLivei
T 850.766.3236****
E matthew.margolis@patlive.com****
** **
_______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE
FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
Yes I saw this. Thank you very much for the update! From: freeswitch-dev-bounces@lists.freeswitch.org [mailto:freeswitch-dev-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Tuesday, June 28, 2011 4:14 AM To: freeswitch-dev@lists.freeswitch.org Subject: Re: [Freeswitch-dev] freeSWITCH pause Hi Matthew, Just in case you missed this, Anthony committed my patch yesterday. You'll get it if you update to the latest Git. 3 changes: - The "status" command now displays either "FreeSWITCH is ready" or "FreeSWITCH is not ready" - "fsctl pause_check" returns true if paused, false if not - "fsctl ready_check" returns true if ready, false if not Ready means not paused and not shutting down. -Steve On 27 June 2011 13:52, Steven Ayre <steveayre@gmail.com> wrote: http://jira.freeswitch.org/browse/FS-3372 On 27 June 2011 13:33, Steven Ayre <steveayre@gmail.com> wrote: At the moment it doesn't look like there is, but it should be a pretty easy patch to make it possible. The switch_core_ready() function will tell you whether FS is ready (not paused and not shutting down). It just needs a module (probably mod_commands) to be patched to check that function. It could also be useful to add it to the status api. -Steve On 14 June 2011 21:24, Matthew Margolis <Matthew.Margolis@patlive.com> wrote: Hey is there any possible way to find out if the "fsctl pause" command was issued? Like an isPaused call? Matthew Margolis Programmer PATLivei T 850.766.3236 E matthew.margolis@patlive.com _______________________________________________ Join us at ClueCon 2011, Aug 9-11, Chicago http://www.cluecon.com 877-7-4ACLUE FreeSWITCH-dev mailing list FreeSWITCH-dev@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-dev UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-dev http://www.freeswitch.org
participants (2)
-
Matthew Margolis
-
Steven Ayre