bmc_hub/migrations/121_telefoni_settings.sql
Christian 0831715d3a feat: add SMS service and frontend integration
- Implement SmsService class for sending SMS via CPSMS API.
- Add SMS sending functionality in the frontend with validation and user feedback.
- Create database migrations for SMS message storage and telephony features.
- Introduce telephony settings and user-specific configurations for click-to-call functionality.
- Enhance user experience with toast notifications for incoming calls and actions.
2026-02-14 02:26:29 +01:00

9 lines
527 B
SQL

-- Migration 121: Telefoni settings (click-to-call)
INSERT INTO settings (key, value, category, description, value_type, is_public)
VALUES
('telefoni_click_to_call_enabled', 'false', 'telefoni', 'Aktiver click-to-call via Action URL', 'boolean', true),
('telefoni_default_extension', '', 'telefoni', 'Standard extension til click-to-call', 'string', true),
('telefoni_action_url_template', '', 'telefoni', 'Action URL template ({number}, {raw_number}, {extension})', 'string', false)
ON CONFLICT (key) DO NOTHING;