变更记录
什么是新的。
平台的每一个改进,随着它的出货。
· kamo-internal
Add Employee Browser for HR page with EmployeeManager component
- Created EmployeeManager component similar to LeadManager with employee-specific fields - Updated /hr/page.tsx to match doc manager layout with gradient header - Added employee browsing with filtering, search, and bulk operations - Includes tabs for All Employees, Active, Inactive, and On Leave - Features include status indicators, department/job title display, and employee profile links
· kamo-internal
Update leads page with LeadManager component matching doc manager layout
- Created LeadManager component similar to DocManager with lead-specific fields - Updated /leads/page.tsx to match doc manager layout with gradient header - Added tab-based filtering (All Leads, Active, Closed, Follow Up) - Implemented AG Grid with lead columns: ID, Contact, Phone, Status, Score, Vendor, Product, Source, Agent, Address, Dates - Added search, filter, and bulk selection capabilities - Integrated with existing lead view navigation
· kamo-internal
Add premium enterprise features - Analytics, CRM, AI Assistant, Advanced
ANALYTICS DASHBOARD - Real-time call metrics with interactive charts CRM INTEGRATION - Customer data, lifetime value, activity tracking AI ASSISTANT - Sentiment analysis, call summaries, keyword detection ADVANCED - Time-based routing, multi-device management, encryption status 11 total tabs with dual-row navigation, mini-charts, progress bars Professional gradients, animations, and enterprise-grade polish
· kamo-internal
Implement 100% enterprise VoIP desk phone features
Complete implementation of 100+ features matching Cisco 8800, Polycom VVX 600, Yealink T58A 7 Tabs: Dialpad, Speed Dial/BLF, History, Voicemail, Contacts, Queue, Settings Status bar with WiFi, DND, Call Forward, Voicemail badges Full call management: Hold, Mute, Record, Transfer, Conference, Park Speed Dial with BLF presence indicators Visual voicemail with MWI Call history with missed call tracking Contact management with groups and favorites Call queue with agent status and statistics Settings for DND, Call Forward, Auto Answer, Headset Mode
· kamo-internal
Add expandable softphone panel to ChatBox
- Add PhoneInTalk icon button to ChatBox header for softphone toggle - Create comprehensive SoftphonePanel component with full UI - Implement dialpad with 0-9, *, # buttons - Add call control buttons (mute, hold, speaker) - Include tabs for Dialpad, History, and Contacts - Support call state management (idle, calling, in-call) - Display phone number input and call duration - ChatBox expands left by doubling width when softphone is opened - Maintain side-by-side layout (softphone left, chat right) - Smooth transitions with 280ms cubic-bezier animations - Active state indicator for softphone button - UI-only implementation - no effect on existing functionality - Consistent styling with primary color scheme - Full visual integration with ChatBox design system The softphone provides a complete calling interface while keeping the chat functionality fully accessible on the right side.
· MediaService
Add STOMP frame logging to diagnose connection issues
· MediaService
Add TomcatConnectorCustomizer to force SSL keystore config
- Spring Boot's application.yml SSL config not being applied - Use TomcatConnectorCustomizer to programmatically set keystore - Forces connector to use /etc/ssl/certs/kamocrm/tls.p12 - Adds debug logging to verify SSL configuration
· kamo-internal
为 WebSocket 连接到 MediaService 端口 8443
- 更新了WebSocket连接,使用media.kamocrm.com:8443 - 仅用于WebSocket交通的旁通车 - 使用直接连接媒体服务的HTTPS/HTTP1.1 - API电话通过Traefik继续使用标准路径
· MediaService
Expose MediaService on port 8443 for WebSocket over HTTPS/HTTP1.1
- Added NodePort service on 8443 for direct WebSocket access (bypasses Traefik) - Mount wildcard-kamocrm-com SSL certificate - Init container converts PEM to PKCS12 for Spring Boot - Configure Spring Boot to run HTTPS on port 8443 - Update health probes to use HTTPS scheme - WebSocket traffic bypasses Traefik HTTP/2, uses HTTP/1.1 - API traffic continues through Traefik on port 443 with HTTP/2
· MediaService
Add CORS middleware to media-route for cross-origin WebSocket
- Added cors middleware to allow cross-origin connections - Enables WebSocket connections from internal.* to media.* - Allows all origins, methods, and headers - Required for browser WebSocket from different subdomains
· kamo-internal
为 WebRTC 端点添加 API 代理路由
- 在媒体服务中添加/api/webrtc/配置代理 - 为Janus认证添加了/api/webrtc/token代理 - 增加/api/webrtc/呼叫/启动、回答、终端代理 - 遵循与/api/媒体代理相同的模式 - 启用来自 kamo- 内部前端的 WebRTC 呼叫
· kamo-internal
完整的对等 WebRTC 呼叫信号
- 添加使用WebRTC钩并配有完整的信号支持 - 综合WebSocket信号(出价、答案、ICE候选人) - 添加带有答/解码按钮的来电通知 - 更新ChatBox,动态高度可调用UI - 从使用ChatWebSocket进行信号输出的STOMP客户端 - 支持音频、视频和屏幕共享通话 - 在接收到的电话中自动呼叫用户界面扩展 - 完整的对等WebRTC,带有STUN/TURN倒置
· MediaService
Add WebSocket signaling for peer-to-peer calls
- Added WebRTCSignalingController for call signaling - Handles offer/answer exchange via STOMP - Forwards ICE candidates between peers - Manages call hangup notifications - Uses session-based topics for privacy
· kamo-internal
为音频/视频通话添加 Janus WebRTC 集成
- 为WebRTC呼叫管理添加了JanusWebRTC钩 - 为聊天录像显示增加视频CallPanel组件 - 与ChatBox集成,用于无缝呼叫体验 - 支持音频通话、视频通话和屏幕共享 - 适当的视频显示宽度比(16:9) - 呼叫控制:哑声、视频切换、终端呼叫 - 在STUN/TURN支持下使用 kamocrm.com Janus 服务器
· MediaService
Add Janus WebRTC integration
- Added WebRTCController for token generation and call management - Configured Janus API URL and secrets (api, token, admin) - Configured STUN/TURN servers (kamocrm.com:3478) - Added endpoints for call initiation, answering, and termination - Updated TURN password to match coturn secret - Added HMAC-SHA1 token signing for Janus authentication
· KlusterServices
Update TURN server credentials with secure values
- Updated turn-secret with secure random value - Updated turn-password for Janus authentication - Credentials match MediaService WebRTC configuration
· KlusterServices
Add ServersTransport deployment to CI/CD workflow
Deploy traefik/serverstransport.yaml as part of Traefik deployment to both K1M1 and K2M1. This enables HTTP/1.1 backend connections for MediaService WebSocket support.
· KlusterServices
Add ServersTransport for MediaService WebSocket connections
Add media-websocket-transport ServersTransport resource to disable HTTP/2 for backend connections to MediaService. This is required for proper WebSocket upgrade support with Spring Boot. HTTP/2 doesn't support the WebSocket Upgrade header mechanism, so we need HTTP/1.1 for Traefik-to-backend communication.
· KlusterServices
Add media-websocket-upgrade middleware to force Upgrade header
- Add Upgrade: websocket header for WebSocket paths to fix HTTP/2 Extended CONNECT conversion - This ensures HTTP/2 WebSocket upgrade requests are properly converted to HTTP/1.1 with Upgrade header - Fixes 'Handshake failed due to invalid Upgrade header: null' error
· KlusterServices
Add media-cors middleware for media domain CORS support
- Add media-cors middleware matching theme-cors configuration - Allows CORS headers to be set for media.{domain} requests
· kamo-internal
为 MediaService 会话创建添加详细错误记录
- 调用日志媒体服务 URL - 日志回复信头 - 强化有全部错误细节的错误记录 - 在调试错误响应中包含 URL
· KlusterServices
Add 'media' subdomain to auto-cert SUBDOMAINS for MediaService
- Add 'media' to SUBDOMAINS list in auto-cert-service.yaml - Enables automatic SSL certificate generation for media.{domain} subdomains - Required for MediaService WebSocket connections via media.{domain}
· kamo-internal
Add direct MediaService routes via media.{domain} for WebSocket support
- Create new /api/media/* routes that forward directly to media.{domain} - These routes bypass APIService to allow secure WebSocket connections - MediaService routes use getMediaServiceBaseUrl() to route to media.{domain} - SecurityService routes continue using /api/security/* via api.{domain} - This separation enables WebSocket connections directly to MediaService
· kamo-internal
Add logging for subscription request to backend
- Log when subscription request is sent to /app/chat/subscribe - Helps verify if subscription requests are reaching the backend
· kamo-internal
Add detailed logging for subscribe function
- Log when subscribe() is called and current connection state - Log client existence and connection status - Helps diagnose why subscriptions aren't being created
· SecurityService
Add detailed logging for WebSocket subscription requests
- Added logging to trace when subscribeToSession is called - Logs payload and sessionGuid extraction - Logs database lookup for session verification - Helps diagnose why NATS subscriptions aren't being created
· kamo-internal
Add detailed WebSocket connection logging
- Enhanced logging for WebSocket connection success/failure - Log connection frame details on successful connection - Log detailed STOMP error information - Helps diagnose why WebSocket connections aren't being established
· SecurityService
Add typing indicator support via WebSocket
· kamo-internal
Add typing indicators for real-time typing status
· kamo-internal
Load 100 message history on chat open and determine message author correctly
