diff --git a/src/auth/agent-config.service.ts b/src/auth/agent-config.service.ts index 965d84a..4a22f88 100644 --- a/src/auth/agent-config.service.ts +++ b/src/auth/agent-config.service.ts @@ -29,7 +29,11 @@ export class AgentConfigService { return this.telephony.getConfig().sip.wsPort || '444'; } private get defaultCampaignName(): string { - return this.telephony.getConfig().ozonetel.campaignName || 'Inbound_918041763265'; + // No hardcoded fallback — each Agent entity's own campaignName + // field is the source of truth. Env var is the per-workspace + // default; if neither is set, the Ozonetel login will use + // whatever the agent's entity specifies. + return this.telephony.getConfig().ozonetel.campaignName || ''; } async getByMemberId(memberId: string): Promise {