diff --git a/api/routes/telephony.py b/api/routes/telephony.py index 1ed04ed..2a69cb0 100644 --- a/api/routes/telephony.py +++ b/api/routes/telephony.py @@ -502,26 +502,6 @@ async def handle_twiml_webhook( return HTMLResponse(content=response_content, media_type="application/xml") -@router.post("/transfer-twiml/{conference_name}", include_in_schema=False) -async def transfer_twiml(conference_name: str): - """ - TwiML endpoint that puts the caller into a conference. - Called by Twilio when we redirect the call after closing the WebSocket stream. - """ - logger.info(f"[TRANSFER-TWIML] Generating conference TwiML for: {conference_name}") - - twiml_content = f""" - - Connecting you now. - - {conference_name} - -""" - - logger.info(f"[TRANSFER-TWIML] Generated TwiML: {twiml_content}") - return HTMLResponse(content=twiml_content, media_type="application/xml") - - @router.get("/ncco", include_in_schema=False) async def handle_ncco_webhook( workflow_id: int,