many-forest-60185
10/30/2025, 7:05 PMmany-forest-60185
10/30/2025, 7:06 PMmany-forest-60185
10/30/2025, 10:53 PMmany-forest-60185
10/30/2025, 10:53 PMasync def *request_fnc*(_ctx_: JobRequest) -> None:
# Reject telephony outbound rooms
if _ctx_.room.name.startswith("sip-room-"):
logger.info(f”Rejecting telephony room: {_ctx_.room.name}")
await _ctx_.reject()
return
# Accept all other rooms
await _ctx_.accept()
_if_ __name__ == "__main__":
cli.run_app(WorkerOptions(
_entrypoint_fnc_=entrypoint,
_request_fnc_=request_fnc,
))many-forest-60185
10/30/2025, 10:54 PM