https://retellai.com/?utm_source=discord&utm_medium=seo logo
j
can the agent be aware of the number that is calling the moment they answer the call? could we redirect to different agents based directly on that?
@retellai just bringing it up, sorry for the spam, making some product decisions based on this rn
r
In custom tools, retell sends the following details to the custom fucntion url in JSON : { "call": { "call_id": "Jabr9TXYYJHfvl6Syypi88rdAHYHmcq6", "agent_id": "oBeDLoLOeuAbiuaMFXRtDOLriTJ5tSxD", "audio_websocket_protocol": "twilio", "audio_encoding": "s16le", "sample_rate": 24000, "call_status": "registered", "start_timestamp": 1703302407333, "end_call_after_silence_ms": 600000, "from_number": 12137771234, "to_number": 12137771235, "metadata": {}, "retell_llm_dynamic_variables": { "customer_name": "John Doe" } },