diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2023-10-13 19:57:14 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-13 19:57:14 -0600 |
commit | 413675d42e4480eeab76d326bd2f706191e836c5 (patch) | |
tree | bc3aa43c748e212f074bc82fa3621a7fbdec13a0 /outbound_call.py | |
parent | 2c670084b3ea2628e9b4d874f3b858e7945ed737 (diff) | |
parent | b919f2dcabc8dcba41f7e309b2d4eccd8cc0d87e (diff) |
Merge pull request #1 from navanchauhan/deepgram-stt
ooga chaga
Diffstat (limited to 'outbound_call.py')
-rw-r--r-- | outbound_call.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/outbound_call.py b/outbound_call.py new file mode 100644 index 0000000..745a39d --- /dev/null +++ b/outbound_call.py @@ -0,0 +1,32 @@ +import os +from dotenv import load_dotenv + +load_dotenv() + +from vocode.streaming.telephony.conversation.outbound_call import OutboundCall +from vocode.streaming.telephony.config_manager.redis_config_manager import ( + RedisConfigManager, +) + +from speller_agent import SpellerAgentConfig + +BASE_URL = os.environ["BASE_URL"] + + +async def main(): + config_manager = RedisConfigManager() + + outbound_call = OutboundCall( + base_url=BASE_URL, + to_phone="+15555555555", + from_phone="+15555555555", + config_manager=config_manager, + agent_config=SpellerAgentConfig(generate_responses=False), + ) + + input("Press enter to start call...") + await outbound_call.start() + +if __name__ == "__main__": + import asyncio + asyncio.run(main())
\ No newline at end of file |