Files
twilio-wp-plugin/includes
jknapp 82e591b367 Enhance recording debugging and fix outbound call number detection
Recording Proxy Improvements:
- Enhanced error handling to prevent JSON responses instead of audio
- Added comprehensive logging for Twilio API calls
- Added fallback URL construction from recording SID if URL missing
- Improved error responses with proper HTTP headers

Outbound Call Phone Number Detection:
- Enhanced logic to find customer numbers in complex call structures
- Added search through related calls to find customer phone numbers
- Comprehensive logging for debugging outbound call number assignment
- Handles cases where 'to' field might be empty or contain client identifiers

These changes should resolve:
1. Recording playback returning JSON instead of audio files
2. Missing customer phone numbers in outbound call recordings
3. Better error reporting and debugging capabilities

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-30 17:26:55 -07:00
..
2025-08-06 15:25:47 -07:00
2025-08-06 15:25:47 -07:00
2025-08-11 20:31:48 -07:00
2025-08-06 15:25:47 -07:00
2025-08-11 20:31:48 -07:00
2025-08-06 15:25:47 -07:00
2025-08-11 20:31:48 -07:00