forwardedFrom Tilio Parameter
# support
e
Twilio sends Vapi a ForwardedFrom parameter when inbound calls come in. I would like to change the assistant based on which phone number is forwarding the call. I'm not seeing the forwardFrom parameter in the JSON payload that is sent to my webhook for a transient assistant. How can I get access to this parameter?
v
message has been deleted
@Edpreble To access the
ForwardedFrom
parameter in the JSON payload sent to your webhook for a transient assistant, you'll need to ensure that your webhook is configured to receive this information from Twilio. If you're not seeing the
ForwardedFrom
parameter, it could be due to one of the following reasons: 1. The parameter might not be included in the payload by default. You may need to modify your Twilio webhook settings to include additional parameters. 2. There might be a configuration issue with your webhook that is preventing the parameter from being passed through. To resolve this, you can: - Check your Twilio webhook settings to ensure that the
ForwardedFrom
parameter is included in the payload. - Review the documentation for the Twilio Voice API to understand how to receive and handle additional parameters like
ForwardedFrom
. - If you're using a specific library or SDK, ensure that it supports the retrieval of the
ForwardedFrom
parameter. If you've checked these and are still having trouble accessing the
ForwardedFrom
parameter, please reach out to Twilio's support for further assistance. They can provide more detailed guidance based on your specific setup and requirements.
You can continue this conversation by mentioning me in the message.
Got it. Tagging @User for additional help.