feat: Kookoo IVR endpoint — outbound calls now bridge to agent SIP

When customer answers outbound call, Kookoo hits /kookoo/ivr which
returns <dial record="true">523590</dial> to bridge the call to
the agent's SIP extension. Agent's browser rings, both connect.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-19 18:19:50 +05:30
parent 6812006b53
commit d0cb68d8d7
3 changed files with 54 additions and 8 deletions

View File

@@ -1,9 +1,10 @@
import { Module } from '@nestjs/common';
import { OzonetelAgentController } from './ozonetel-agent.controller';
import { OzonetelAgentService } from './ozonetel-agent.service';
import { KookooIvrController } from './kookoo-ivr.controller';
@Module({
controllers: [OzonetelAgentController],
controllers: [OzonetelAgentController, KookooIvrController],
providers: [OzonetelAgentService],
exports: [OzonetelAgentService],
})