- 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.
9 lines
527 B
SQL
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;
|