apps/meteor/server/services/omnichannel-voip/service.ts
File service.ts
has 396 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import type { IOmnichannelVoipService, FindVoipRoomsParams } from '@rocket.chat/core-services';
import { api, ServiceClassInternal, VoipAsterisk } from '@rocket.chat/core-services';
import type {
IVoipExtensionBase,
IVoipExtensionWithAgentInfo,
Function createVoipRoom
has 65 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async createVoipRoom(
rid: string,
name: string,
agent: { agentId: string; username: string },
guest: ILivechatVisitor,