proc/channel.go
func (p *Processor) ActivateChannel(id, jobCreator string,
	agent bool) (string, error) {
	var jobType string
	if agent {
		jobType = data.JobAgentPreServiceUnsuspend
	} else {
		jobType = data.JobClientPreServiceUnsuspend
	}

	return p.alterServiceStatus(id, jobCreator,
		jobType, "", activateTransitions, false)
}
func (p *Processor) ActivateChannel(id, jobCreator string,
	agent bool) (string, error) {
	var jobType string
	if agent {
		jobType = data.JobAgentPreServiceUnsuspend
	} else {
		jobType = data.JobClientPreServiceUnsuspend
	}

	return p.alterServiceStatus(id, jobCreator,
		jobType, "", activateTransitions, false)
}
// ActivateChannel tries to activate a given channel.