MCPcopy Create free account
hub / github.com/livekit/agents / get_dtmf_task

Function get_dtmf_task

tests/test_workflows.py:56–61  ·  view source on GitHub ↗
(ask_for_confirmation: bool)

Source from the content-addressed store, hash-verified

54
55
56def get_dtmf_task(ask_for_confirmation: bool) -> beta.workflows.GetDtmfTask:
57 return beta.workflows.GetDtmfTask(
58 num_digits=10,
59 ask_for_confirmation=ask_for_confirmation,
60 extra_instructions="Let the caller know you'll record their 10-digit account number and that they can speak or dial it. ",
61 )
62
63
64@pytest.mark.asyncio

Calls

no outgoing calls

Tested by

no test coverage detected