func (p *Processor) SuspendChannel(id, jobCreator string,
	agent bool) (string, error) {
	var jobType string
	if agent {
		jobType = data.JobAgentPreServiceSuspend
	} else {
		jobType = data.JobClientPreServiceSuspend
	}

	return p.alterServiceStatus(id, jobCreator,
		jobType, "", suspendTransitions, false)
}
func (p *Processor) SuspendChannel(id, jobCreator string,
	agent bool) (string, error) {
	var jobType string
	if agent {
		jobType = data.JobAgentPreServiceSuspend
	} else {
		jobType = data.JobClientPreServiceSuspend
	}

	return p.alterServiceStatus(id, jobCreator,
		jobType, "", suspendTransitions, false)
}
// SuspendChannel tries to suspend a given channel.