inbound calls

This commit is contained in:
Ajay Raj 2023-03-04 13:59:33 -08:00
commit 2893ba9780
8 changed files with 58 additions and 20 deletions

View file

@ -1,11 +1,15 @@
from vocode.models.model import BaseModel
from vocode.models.agent import AgentConfig, InformationRetrievalAgentConfig
from vocode.models.agent import AgentConfig
class CallEntity(BaseModel):
phone_number: str
class CreateCallRequest(BaseModel):
class CreateInboundCall(BaseModel):
agent_config: AgentConfig
twilio_sid: str
class CreateOutboundCall(BaseModel):
recipient: CallEntity
caller: CallEntity
agent_config: AgentConfig
agent_config: AgentConfig
# TODO add IVR/etc.