Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Issue in recording calls #739

Open
ks-voicing-ai opened this issue Jan 15, 2025 · 1 comment
Open

[Bug]: Issue in recording calls #739

ks-voicing-ai opened this issue Jan 15, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@ks-voicing-ai
Copy link

Brief Description

Issue: not able to get recording of calls
Steps to reproduce:

  1. Took a fresh pull of the main branch
  2. Updated the env file with all my working credentials and a local host dummy BASE_URL=http://127.0.0.1:1453
  3. Edited the main.py file in "https://github.com/vocodedev/vocode-core/blob/main/apps/telephony_app/main.py" with
twilio_config=TwilioConfig(
                account_sid=os.environ["TWILIO_ACCOUNT_SID"],
                auth_token=os.environ["TWILIO_AUTH_TOKEN"],
                record = True
                )

4.Edited the outbound_call.py file in "https://github.com/vocodedev/vocode-core/blob/main/apps/telephony_app/outbound_call.py" with my Twilio phone numbers and my number and updated the same TwilioConfig with record = True
5. Ran the main.py with uvicorn service
6. ran outbound_call.py and i received the call, but was not able to find the recording in my Twilio account.

can you guys please help?

LLM

GPT-4

Transcription Services

Deepgram

Synthesis Services

Eleven Labs

Telephony Services

Twilio

Conversation Type and Platform

nothing specific, it was as per the default prompt in outbound_call.py

Steps to Reproduce

Steps to reproduce:

  1. Took a fresh pull of the main branch
  2. Updated the env file with all my working credentials and a local host dummy BASE_URL=http://127.0.0.1:1453
  3. Edited the main.py file in "https://github.com/vocodedev/vocode-core/blob/main/apps/telephony_app/main.py" with
twilio_config=TwilioConfig(
                account_sid=os.environ["TWILIO_ACCOUNT_SID"],
                auth_token=os.environ["TWILIO_AUTH_TOKEN"],
                record = True
                )

4.Edited the outbound_call.py file in "https://github.com/vocodedev/vocode-core/blob/main/apps/telephony_app/outbound_call.py" with my Twilio phone numbers and my number and updated the same TwilioConfig with record = True
5. Ran the main.py with uvicorn service
6. ran outbound_call.py and i received the call, but was not able to find the recording in my Twilio account.

Expected Behavior

recording should be available in Twilio account but it was not happening in my case

Screenshots

image

@ks-voicing-ai ks-voicing-ai added the bug Something isn't working label Jan 15, 2025
@steinathan
Copy link

You’ll need extra code to be able to record inbound phone calls but to record outbound calls

You need to add something like this below directly in the telephony_params

outbound_call = OutboundCall(
            telephony_config=...,
            telephony_params={
                "Record": "True",
                "RecordingChannels": "dual",
    },
 )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants