# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)

{
    'name': 'Phone - RingCentral',
    'version': '19.0.1.0.0',
    'category': 'Productivity/Phone',
    'summary': 'RingCentral VoIP provider for Odoo Phone. Make and receive calls via RingCentral.',
    'description': """
        Phone - RingCentral
        ===================

        Integrates RingCentral as a VoIP provider for Odoo's built-in Phone app.

        Features:
        ---------
        * One-click SIP provisioning from RingCentral API
        * Auto-configures WebSocket URL, SIP domain, username, and password
        * Uses RingCentral's authorization ID for SIP authentication
        * Works with all Odoo Phone modules (CRM, Helpdesk, HR, etc.)
        * JWT authentication for server-to-server credential provisioning

        Copyright 2026 Nexa Systems Inc. All rights reserved.
    """,
    'author': 'Nexa Systems Inc.',
    'website': 'https://www.nexasystems.ca',
    'license': 'OPL-1',
    'depends': [
        'voip',
    ],
    'external_dependencies': {
        'python': ['ringcentral'],
    },
    'data': [
        'views/voip_provider_views.xml',
        'views/res_users_views.xml',
    ],
    'assets': {
        'web.assets_backend': [
            'voip_ringcentral/static/src/**/*',
        ],
    },
    'installable': True,
    'auto_install': False,
}
