search for: valid_act

Displaying 5 results from an estimated 5 matches for "valid_act".

Did you mean: valid_acct
2010 Jul 28
2
Recording interface (pause/PLAY/RERECORD)
Is there a prebuild module/dialplan which gives me a nice interface to recording messages? Assuming I can't use the voicemail command, I need to offer users a way to record, playback, erase, rerecord, etc. I can probably do it through dialplan but it feels like I'm reinventing the wheel. Thanks, MD
2009 Jun 29
0
[PATCH server] Add svc_vm_actions method to VmService.
...rc/app/models/vm.rb +++ b/src/app/models/vm.rb @@ -280,6 +280,13 @@ class Vm < ActiveRecord::Base actions end + # Provide method to check if requested action exists, so caller can decide + # if they want to throw an error of some sort before continuing + # (ie in service api) + def valid_action?(action) + return VmTask::ACTIONS.include?(action) ? true : false + end + # these resource checks are made at VM start/restore time # use pending here by default since this is used for queueing VM # creation/start operations diff --git a/src/app/models/vm_task.rb b/src/app/models/vm...
2009 Jun 29
2
One more fix
This resend includes the rebase, but fixes a problem I just noticed with nil/empty checks.
2009 Jun 29
2
Resend of Cloud UI/service patches
This is a resend of the 2-patch series from a week or so ago, needed to be rebased due to some commits on next
2009 Jun 22
2
Patch series for Cloud Vm Actions
The following two patches should be applied in the order: * [PATCH server] Add svc_vm_actions method to VmService. * [PATCH server] Cloud UI layer to initiate actions on vms. The service layer patch should work fine on its own (and not break anything), but cloud patch relies on service being there.