@Xavier
The maximum number of forwarding options you can set up in VAPI's code for call forwarding based on user selections is not explicitly limited by VAPI itself. However, practical limitations may arise from the complexity of your call flow, the maintainability of the code, and potential performance considerations.
If you're looking to dynamically retrieve a phone number from a database during a call and then forward the call to that number, you would typically implement logic in your call handling script to query the database, retrieve the appropriate number, and then use that number to forward the call.
Since you mentioned that the documentation does not cover this scenario, you might need to use a custom solution. This could involve using a webhook to fetch the number from your database when the call is initiated and then using the VAPI to forward the call to the retrieved number.
If you need further assistance with implementing this feature or if the functionality you're looking for is not available, please ask support for more info on this. They can provide guidance tailored to your specific use case and the capabilities of the VAPI platform.