inbound calls
This commit is contained in:
parent
de6d76c955
commit
2893ba9780
8 changed files with 58 additions and 20 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue