@Nektarios
Hello!
To implement number-specific usage limits that can be programmatically extended in your app, you would typically need to build a custom solution that tracks the usage time per number and integrates with your billing system. Here's a high-level approach to achieve this:
1. **Usage Tracking**: Implement a tracking system within your app that records the duration of each call made by an agent. This would involve starting a timer when a call begins and stopping it when the call ends.
2. **Limit Enforcement**: Set up a limit for each number in your database. When an agent initiates a call, check the accumulated usage against their limit before allowing the call to proceed.
3. **Programmatic Extension**: Provide an API endpoint or a function within your app that allows for the extension of usage limits. This could be tied to a payment system where upon successful payment, the limit for the number is increased.
4. **Notifications**: Implement a notification system to alert users when they are approaching their limit, giving them the option to extend their usage time.
5. **Integration with Billing**: Ensure that your usage tracking system is integrated with your billing system so that charges are accurately applied based on the actual usage.
This is a custom solution that would require development effort on your part. If you're looking for a more out-of-the-box solution, you might need to explore third-party services that offer API-based billing and usage limit functionalities that can be integrated into your app.
If you have any further questions or need assistance with specific parts of the implementation, please let me know!