## Hold/Resume Fixes - Fixed call disconnection issue when resuming from hold - Changed resume logic from webhook redirect to empty TwiML continuation - This allows browser phone calls to continue normally after hold ## Recording Stop Improvements - Enhanced error handling for recording stop functionality - Check recording status in database before attempting Twilio API call - Handle cases where recording is already stopped or completed - Graceful fallback if Twilio API call fails - Better logging for debugging recording issues ## Configurable Hold Music - Added "Hold Music URL" setting in admin Settings page - Allows admins to specify custom hold music instead of default cowbell - Supports MP3 and WAV files from any publicly accessible URL - Default remains Twilio's cowbell.mp3 for backwards compatibility - Setting automatically saved/loaded through WordPress settings API ## Technical Details - Hold music URL retrieved via get_option() with fallback - Recording stop checks database state before API calls - Improved error messages and logging throughout - All changes maintain backwards compatibility 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
330 KiB
330 KiB