METHOD FOR PROVISIONING TELECOMMUNICATION TERMINAL DEVICES
Patent Information
- Application Number
- DE502020008985
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-01-20
- Publication Date
- 2024-09-19
- Estimated Expiration
- 2040-01-20
AI Technical Summary
The existing provisioning methods for telecommunications terminals lack sufficient security, as MAC addresses can be easily forged, allowing attackers to impersonate devices and obtain configurations, including security-relevant components, without authorization.
A computer-implemented method for provisioning telecommunications terminals via a cloud, which assigns a unique ID to the terminal and requires additional authentication using a PIN, ensuring that only authenticated devices receive configurations, thereby enhancing security by restricting access and preventing unauthorized provisioning requests.
This method significantly reduces the risk of attacks by ensuring that only authenticated devices can access and receive configurations, preventing unauthorized access and ensuring secure commissioning of end devices.
Description
[0001] The invention relates to a method for provisioning telecommunications terminals (TK terminals).
[0002] A necessary process for cloud-based telecommunications services, such as cloud telephony services (CPBX), is that the PBX terminals (e.g., telephones) located at the customer's premises are provided with a configuration. The configuration in the PBX ensures that the PBX "knows," for example, 1. which servers it must log in to for signaling (primarily using the SIP protocol) 2. how it must authenticate itself with these servers (username / password) 3. where it must retrieve configurations in the future 4. which display name should be on the PBX 5. which language (German, English etc.) should be used in the telephone menu 6. how it can access the system telephone book 7. whether and, if so, which additional menus are available for the system or extension configuration 8. which keys on the PBX have which function (e.g. busy lamp fields) 9. the correct time / the correct date / the time zone.
[0003] The goal is to enable the PBXs to be put into operation at the customer's site without requiring manual configuration (by the customer, a partner / service provider, or even the provider of the communications solution or service itself). This is typically achieved through so-called (auto-)provisioning, in which the configuration is transferred remotely to the PBX, or a process colloquially referred to as "zero-touch provisioning."
[0004] Telecommunications devices have network interfaces with Ethernet or Wi-Fi as the transport medium. In both cases, each telecommunications device has a so-called MAC address for unique identification. This address is intended to be unique worldwide. MAC address ranges are assigned to different manufacturers. However, many network devices allow the MAC address to be manipulated.
[0005] The basis of many (auto-)provisioning systems is that the customer or a service provider stores the MAC address of the PBX terminal or telephones that are to be used with this service for this customer in the configuration of the service (e.g., the cloud PBX service or telephone system). In a practical implementation, the customer receives, for example, 10 PBX terminals (or purchases them from somewhere else), logs in as a customer to a service portal, selects "Add terminal," selects the manufacturer and type of the PBX terminal, and enters the MAC address printed or affixed to the PBX terminal in the portal.
[0006] When the customer later connects the PBX to the network and power supply for the first time, the PBX will not yet have a specific configuration, but will be configured with factory defaults. Depending on the manufacturer and firmware, the PBX will then attempt to obtain a configuration through various means. This is usually done via DHCP options, etc.
[0007] A URL is stored in the PBXs, which the PBXs access via http / https, transmitting their MAC addresses. The associated servers are operated by the respective manufacturers and are referred to here as "redirection servers." The redirection servers have a database in which they map MAC addresses to configurations or provisioning servers.
[0008] Depending on the implementation by the telephone manufacturer, a provider of telecommunications services for MAC addresses can store complete telephone configurations with the manufacturer or just the reference to where the telecommunications devices should report in order to receive a final configuration.
[0009] In practice, this can happen as follows: When a customer / partner adds or announces a PBX with a MAC address in the PBX's service portal, the PBX contacts the manufacturer's redirection service and stores the information there that the PBX should contact the PBX. When a PBX connects to the network for the first time with factory settings, it will inevitably contact its manufacturer's redirection server and receive the information there to contact the PBX's provisioning service for subsequent requests. The PBX then initiates further provisioning requests with the PBX and is provided with the correct configuration by the PBX's platform. Even after receiving the (first) configuration, the PBX regularly requests (updated) configurations from the PBX.These provisionings are secured in a similar way to the initial provisioning during the new setup of the PBX, namely by verifying the MAC number and the SSL certificate of the PBX.
[0010] During provisioning calls, the PBXs typically transmit their MAC address as a parameter in the http / https request to the provisioning server and / or as part of the user agent of the http / https request.
[0011] It has now become clear that verifying a MAC address alone does not provide sufficient security. MAC addresses are easily forged in requests, and manufacturers' MAC address ranges are well known. Without additional security measures, an attacker could impersonate any telecommunications device and obtain the device's configuration, including all security-relevant components, without authorization. To circumvent this problem, modern telecommunications devices use SSL certificates from the manufacturer not only as an encryption mechanism but also for authentication.
[0012] The PBXs have SSL certificates, which they use to register with the provisioning server. The provisioning server can use the public parts of the SSL certificates provided by the manufacturer to verify whether the certificates are correct, genuine, and valid. This allows a provisioning server to verify whether a provisioning request actually originates from a PBX belonging to the manufacturer and not, for example, from an attacker's PC.
[0013] For example, if the PBX's provisioning server receives a request to deliver the configuration of a specific PBX with MAC address ABC, it can at least verify whether the request actually originates from such a PBX. If so, the MAC address is trusted, and if the MAC address is known, the configuration is generated and delivered.
[0014] However, the procedure described above can only be considered sufficiently secure as long as the MAC address identification process can be trusted. The "Provisioning Bootstrap" standard, a standard of the Open Mobile Alliance (OMA), OMA-WAP-TS-ProvBoot-V1_1-20090728-A, is well known in the mobile communications sector. The process according to the "Provisioning Bootstrap" standard is used to provision previously unconfigured contexts in a mobile device (ME) using the WAP protocol. Initial provisioning is initiated by a corresponding server, which transmits a bootstrap file to the ME via a WAPPUSH. The server only implicitly authenticates the ME at the network level. However, the ME must explicitly authenticate the server using a generic security mechanism. The object of the present invention is therefore to increase the security of the provisioning of a telecommunications device.
[0015] This object is achieved by the provisioning method according to claim 1. Advantageous developments of the invention are defined in the dependent claims. Accordingly, the invention provides a computer-implemented method for provisioning a telecommunications terminal via a cloud, wherein the telecommunications terminal is assigned an ID that identifies the telecommunications terminal, and wherein the provisioning of the telecommunications terminal aims at providing a configuration for the telecommunications terminal via the cloud, wherein the configuration enables the telecommunications terminal to use predetermined cloud-based telecommunications services.
[0016] The invention is described in more detail using embodiments and the drawing.
[0017] The drawing shows: Fig. 1 a general overview of services of a telephone system in the cloud (CPBX), in which the method according to the invention is implemented, and a local telecommunications terminal, Fig. 2Communication relationships of a telecommunications terminal (status 4) that is completely authenticated (and configured) according to the invention and its user, Fig. 3 Communication relationships of a telecommunications terminal not authenticated according to the invention and its user (status 1-3), Fig. 4 AF the process of provisioning according to a first embodiment of the invention and Fig. 5 AF the provisioning process according to a second embodiment of the invention.
[0018] Fig. 1 shows a general overview of services of a telephone system in the cloud (CPBX), in which the method according to the invention is implemented, and a local telecommunications terminal. The relevant components are explained below. The invention is not limited to a telephone system in the cloud (CPBX) but also extends to other cloud-based communication services, even if only one CPBX service is referred to below. Communication services
[0019] The communication services are all components of the offering that provide the service in normal productive operation. For example, a Cloud PBX service includes PBX servers, conference servers, fax servers, voicemail services.
[0020] According to the invention, these services are prevented from being used on non-authenticated telecommunications devices. PBX terminal
[0021] The PBX terminal is used by the user / end user to access the communication services offered by the CPBX service. In a practical form, this is, for example, a desk phone.
[0022] These PBXs must be configured so that they can establish communication with the service provider or the other components. In practice, the configuration typically includes at least the following provisioning attributes: Address and type of call to the provisioning service (e.g. https: / / provisioning.nfon.com), SIP registrar, SIP username, SIP password.
[0023] Optional provisioning attributes include, for example: Details to be displayed include extension number and name, time zone, menu language, time server (NTP), configuration of configurable keys (e.g., as busy field lamps, etc.), SIP / RTP details such as ports to be used, type of SIP signaling, encryption parameters, voice codecs to be used, audio parameters, and much more. Access to extended components of the service, e.g., via HTTP or XML. This can include a system menu for configuring the extension, a search function in the system phone book, etc.
[0024] Telecommunications terminals are delivered by the manufacturer with a minimal or largely empty factory configuration and can usually be reset to this state (factory default reset).
[0025] Telecommunications devices communicate with services via a variety of channels. For example, Provisioning service for the initial procurement of a configuration, as well as for subsequent procurement of any modified configuration runs. Actual service communication (in the case of telephones, this is communication with the telephony platform of the cloud PBX service for making and receiving calls). Additional services such as access to secondary services (e.g., system address books, call lists, system menus, and much more). Registrar
[0026] The central cloud PBX service initially doesn't know the exact / current address of the PBX devices. Since the PBX devices can be located anywhere (even behind internet connections with changing IP addresses) and are usually located behind firewalls, it's simply not possible for the central cloud PBX service to initiate initial communication with an already configured device on its own.
[0027] Therefore, PBXs are configured to initiate initial communication with a defined / configured counterpart. This counterpart is called a registrar. The process of establishing contact is called "registration." The device registers with the configured registrar using a defined protocol (e.g., SIP) (see the sections "PBXs" and "SIP Registrar") and authenticates itself there using the configured credentials (e.g., for telephony, using the SIP username and SIP password).
[0028] After successful authentication, the PBX attempts to maintain the connection. The mechanisms used for this depend on the specific service characteristics and configuration and are irrelevant for the case described here.
[0029] As soon as the connection is established, commands can also be sent to the PBX via the registrar (in the case of SIP, for example, an INVITE to establish a call, but also commands such as NOTIFY to reboot the phone or to re-provision it). Provisioning service
[0030] The task of the provisioning service, as explained at the beginning, is to provide and deliver the individual and current configurations for the end devices. How this happens in detail is not relevant here, or only partially relevant. For example, finished configurations can be created and stored in advance, which are then simply delivered to the end device during a provisioning request. Alternatively, the configuration can also be created and delivered just-in-time, without prior caching.
[0031] The provisioning service must address the specific characteristics of the respective end devices. Most end devices use proprietary configuration formats, authentication methods, etc. Some end devices support SSL-based encryption, for example, while others use proprietary encryption mechanisms. Some end devices support voice encryption, while others do not. The configuration of each individual service feature is highly manufacturer- and sometimes even firmware-dependent.
[0032] The provisioning service typically obtains the data necessary for generating the configurations from one or more databases. If previously generated configurations are stored in the delivering provisioning service, there is also a mechanism that generates these configurations in advance. For the sake of simplicity, and since it makes no difference within the meaning of the patent, no distinction is made here, and the entire process of authentication, configuration generation, and configuration delivery is referred to as "provisioning," which is performed by the "provisioning service."
[0033] In the implementation according to the invention, provisioning requests that only contain the MAC address or another device-specific ID and, if applicable, an SSL certificate are classified as insecure. According to the invention, a telephone or PBX is categorized by the provisioning platform into one of the following six states: 1. Completely unknown. The PBX is registered in the provisioning platform's database with its MAC address or another device-specific ID, but is not yet authenticated. 2. As in (1), however, the PBX is administratively set to "learning" (see below for an explanation). 3. The PBX has been correctly authenticated by a user using additional authentication according to the invention, but has not yet received or requested its final configuration. 4. The PBX is fully authenticated and has already been provided with a complete configuration. Only in this state can the PBX be fully used by the user with the communication services. 5. The PBX is temporarily locked and can be reset to one of the states 1-3 through administrative intervention, e.g., via a portal, or brought directly to state 4 through IP whitelisting.Optionally, a PBX can also be automatically reset to status 1 after a configurable interval has elapsed. In this case, depending on the implementation, it may also be legitimate for no new PIN to be generated. 6. The PBX is locked and can only be returned to one of the states 1-3 through administrative intervention, e.g., via a portal.
[0034] The respective applicable status is assigned to the telecommunications terminal and stored and maintained in the database of the provisioning platform (i.e. the provisioning service) together with the ID of the respective telecommunications terminal.
[0035] When a PBX device with factory settings searches for a configuration, it will first contact the manufacturer's redirection server as described above and then be referred to the provisioning service of the Cloud PBX service as before.
[0036] In the second step, as described above, it submits a provisioning request, but only transmits the MAC address or other device-specific ID. The provisioning service checks whether the PBX with this MAC address is in the database. If not, the request is ignored or actively terminated. Otherwise, the provisioning service detects that the PBX is in status 1.
[0037] If the PBX is detected as being in status (1), it is provided with a minimal configuration. This configuration only allows subsequent authentication steps to be performed, but no configurations or actions that are questionable from a data protection or commercial perspective are permitted. The configuration explicitly includes no names or extension information, no access to address books, no SIP credentials with which, for example, real telephone calls with the PBX terminal are possible (neither incoming nor outgoing) in a CPBX service.
[0038] The restriction of the services that the end device can use does not occur on the PBX itself. Rather, the actual central services (provisioning service, registrar, cloud communication services) ensure that the end device cannot perform any actions in these services.
[0039] One possible authentication measure according to the invention is, for example, entering a PIN. This can be done, for example, through menu interactions available on the PBX (e.g., XML menu) or via SIP / RTP. For example, when the telephone is picked up, a voice connection to an authentication service is automatically established, and the user is prompted to enter a PIN via a voice prompt.
[0040] The PIN is made available to the valid user via other portals (e.g., the service portal of the Cloud PBX service) or communication channels (such as SMS, email, letter). Without appropriate access data to the admin or customer portals or access to the alternative communication channels, it is not possible to obtain the PIN. In particular, a request to provisioning services and the feigning of MAC addresses and SSL certificates are not sufficient. The PINs are randomly generated when the PBX terminal is created in the database or whenever a PBX terminal is set to status (1). They are valid for each individual PBX terminal or, if technically not possible otherwise, for each user / customer. It is irrelevant for the invention how the additional authentication features (e.g., PIN) are stored with the provider or in the database (e.g., whether in plain text, encrypted, or hashed).
[0041] If the user attempting to authenticate the PBX device has the PIN or alternative additional credentials, these are entered using one of the supported mechanisms. The provisioning platform compares the transmitted credentials with those stored in the database. If the credentials do not match, the PBX remains in status (1) in the database. After several incorrect entries, the PBX can also be set to status (5) or, if the entry is incorrect again, to status (6), and the previous minimal configuration is invalidated (e.g., the temporary SIP credentials are deactivated on the server side).
[0042] However, if the credentials are correct, then: 1. The PBX is set to status (3) in the database; this can be set to a short time limit. 2. The PBX is prompted to request new provisioning via the usual methods (e.g., SIP NOTIFY) and the previously established communication channel. Alternatively, the user is prompted to restart the device.
[0043] Alternatively, a device can also be temporarily placed in the "manual release" status (status 2). This is only possible via a configuration service, where a user must authenticate using separate credentials.
[0044] If the PBX responds to the request for new provisioning transmitted in step 2, it will initiate a new provisioning that is not yet different from the previous one. If this occurs promptly and within the specified limits, a final configuration for the PBX will be generated and delivered in the subsequent provisioning (see the next paragraph). Optionally, the IP address from which the provisioning request originates can also be verified, as this should not change between the authorization via PIN, etc., and the next provisioning request.
[0045] Whenever a PBX device contacts the provisioning platform and transmits only its identifier (e.g., MAC address), the provisioning platform checks the device's status according to the database. If status (1) is present, the steps described above are executed.
[0046] However, if the PBX is in status 2 or 3, an additional authentication feature (a) is generated in the provisioning platform during the generation of the complete configuration (e.g. a HASH formed from several criteria such as the MAC address, date / time and a random value), stored in the database and transmitted to the terminal via the complete configuration.
[0047] The final configuration therefore contains not only all security-relevant options (such as SIP username and password, correct calls for address book searches, extension numbers and names, and busy field lamps) for complete productive operation, including all service features, but also a new call for the provisioning platform. This call includes the additional features generated in step (a). Once this configuration has been delivered, the PBX is set to status (4). Only then will the PBX allow communication attempts from a phone with these SIP credentials to the CPBX and forward calls (inbound / outbound) or process and respond to security-relevant requests (such as address book searches or server-side call lists).
[0048] This procedure significantly reduces or even completely eliminates the risk of potential attacks due to a lack of technical authentication or weak or compromised technical authentication (e.g., due to compromised client SSL certificates on the device). It thus enables the secure deployment of devices that only report to a provisioning service via an identifier, or where other technical measures such as client SSL certificates are not trusted.
[0049] As a control consideration, we consider how the system behaves in different states when a potential attacker contacts the provisioning system (e.g. from a PC with which the attacker is able to successfully pose as a telephone to the provisioning system).
[0050] If the phone is detected as being in status 1, it only receives a temporary, "safe" intermediate configuration. This configuration prevents access to productive data or making or receiving phone calls, as described above. Further attempts such as dictionary attacks are also prevented because the phone is not permitted to perform any actions other than contacting the authentication platform, where the authentication token can only be entered a limited number of times. Without knowledge of the currently valid PIN for this phone, the phone cannot be supplied with any other configuration data.
[0051] If the phone is detected as being in status 3, the provisioning system can optionally insist, as described above, that the IP address be the same during PIN entry and at the time of the provisioning request currently being processed. Since these are TCP-based requests, from the cloud PBX service provider's perspective, the request can only originate from the same network from which the authentication was performed. Even if the IP address check is skipped, an attack is very unlikely with a short validity interval.
[0052] If the phone is detected as being in state 4, the provisioning system rejects the request because the provisioning system must assume that the phone has the additional credential (a). Since this is not included in the request, the request must be an attack.
[0053] If the phone is detected to be in status 5 or 6, the provisioning system will also reject the call.
[0054] Feature (a) can remain constant for the duration of a phone's time in state 4. However, feature (a) is preferably regenerated in between. In a further preferred implementation, the feature is regenerated whenever a phone in state 4 successfully contacts the provisioning service (including the previously valid feature (a)).
[0055] The mechanisms according to the invention can be combined with other security measures of the telephone manufacturers, but are also effective independently.
[0056] In addition to the above, additional mechanisms can be implemented to enhance the user experience: Teach-in mode
[0057] An administrator with access to the system configuration (e.g., the service portal) can select a PBX and manually set it to the "teach-in" mode / status (2). This ensures that the next request from a PBX with the stored MAC address and without authentication feature (a) is accepted as valid. The PBX is then provided with a complete configuration analogous to the mechanisms described above (i.e., a feature (a) is generated, etc.). There is no significant difference between status (2) and status (3), except that status (2) can only be initiated manually, and the stored timeouts may be different than those for status (3). Example:
[0058] If an administrator manually sets status (2) for a PBX, it may be desirable to allow requests for a defined period of time (e.g., 30 minutes). Typically, an administrator will contact the user and verify that the PBX is now fully functional.
[0059] If a PBX moves from status (1) to status (3) via PIN authentication, the system can assume that the PBX will request provisioning within the next few seconds. The timeout can therefore be as short as a few minutes to reduce the attack vector. Manual whitelisting of IP address spaces
[0060] Customer users with static and known IP addresses can particularly benefit from the service administrator specifying the IP address or an IP address range from which all provisioning requests are permitted. Since the provisioning requests are TCP connections, misuse is very unlikely.
[0061] For incoming requests from PBXs without an additional credential (a), the provisioning system can check whether the request comes from a whitelisted IP address and, if so, answer this request correctly and set the PBX to status 4 (including credential (a) etc.).
[0062] The whitelist address spaces are assigned to individual customers of the service, so that only those telecommunications devices are taken into account that, according to the database, belong to this customer or service instance and whose requests come from one of the said IP addresses. Automatic whitelisting of IP addresses
[0063] If this option is implemented and enabled, the provisioning system remembers which IP addresses PBXs successfully reported to the provisioning system in status (4). The IP addresses are timestamped and linked to the respective customer or customer instance of the service.
[0064] Basically, the automation only ensures that IP addresses from which a PBX has successfully requested provisioning in status (4) are temporarily whitelisted (with an expiration date) (see previous section).
[0065] To reduce the attack vector, it is important to ensure that IP addresses are whitelisted as quickly as possible. This can take a few minutes or even a few hours. Further notes
[0066] A special case to consider is when a PBX is reset to factory settings. This can occur, for example, due to incorrect configuration by the user or during troubleshooting. If a PBX is still in status (1) - (3) or the request can be assigned based on simplification rules / whitelisting, special handling is generally not necessary.
[0067] However, if a fully functional PBX (status (4)) suddenly receives a factory configuration and cannot be assigned due to the simplification rules / whitelisting, the provisioning system must assume an attack and will provide the PBX with no configuration at all (neither minimal nor complete configuration). To enable the user / customer to put the PBX back into operation, they are given the option of resetting the PBX to status (1) or (2) in the separate administration portal. Whenever the PBX returns to status (1), a new individual PIN (or generally a new authentication feature) will be generated.
[0068] If the PBX is detected as being in status (6), the provisioning system will not respond to any provisioning requests, even if the PBX sends a supposedly correct credential (a). This behavior can also be implemented for a PBX in status (5). Optionally, the minimum configuration can continue to be delivered in status (5) (but not a final / complete configuration).
[0069] If a telecommunications terminal in status (1) contacts the authentication mechanisms and the authentication feature (PIN) has been entered incorrectly too frequently (i.e. more than a predetermined number of times), the telecommunications terminal is transferred to status (5) or status (6), depending on the implementation.
[0070] Administrators / customers can transfer a PBX from status (5) and status (6) to status (1) or (2) using the administration portal.
[0071] The implementation can also provide for a PBX to be promoted to status (6) by the system after repeatedly changing to status (5). This is advantageous if, on the one hand, incorrect entries should quickly lead to status (5), but users should be allowed further attempts after a time-out period. In this case, a terminal is automatically transitioned from status (5) to status (1) after a configurable time and only to status (6) upon repeated incorrect entries. Authentication service
[0072] This service or component is a new addition according to the invention. Once the telecommunications terminal has received an initial configuration for authentication purposes, the telecommunications terminal must be provided with a technical means of contacting the authentication service. This is the minimum or preliminary configuration. The nature of the communication service and the exact communication path depend on the selected authentication method.
[0073] The authentication service provides the actual authentication mechanisms and protocols and also performs the validation of the entered authentication. For this purpose, it communicates with the database, which stores the necessary information.
[0074] If authentication is successful, the authentication service communicates with the database and stores the information that the device has successfully completed authentication. It can also communicate with other services (e.g., the registrar and / or the provisioning service) to trigger subsequent actions.
[0075] The authentication service can be completely separate from other services (e.g. the registrar or the communication services) or it can be part of the other services in their respective technical form or use them together. Example: Authentication via SIP / RTP / DTMF and a PIN code.
[0076] In this case, the PBX first establishes a registration with a registrar. This can be the standard registrar that will later be used in normal production operation. It can also be a separate registrar that is only relevant during this authentication phase. This registrar can also be part of the authentication service.
[0077] For example, by picking up the telephone handset, the PBX establishes a SIP / RTP connection to the authentication service. Signaling occurs via SIP and the registrar. Media streams can flow directly to the authentication service, but they can also flow through additional security mechanisms such as firewalls or session border controllers.
[0078] The authentication service accepts the connection and can, for example, play an announcement over the audio return channel prompting the user to enter a PIN. The user then types the PIN on the device, which transmits the PIN (e.g., via DTMF as inband audio or other common mechanisms) to the authentication service. The authentication service validates the PIN and acts based on the result.
[0079] If authentication is successful, this is recorded in the database (along with additional information such as the exact time and the IP address from which the connection was established). The registrar is also prompted to send the corresponding PBX the command to retrieve a new configuration and / or reboot.
[0080] If the authentication is not successful, this is also noted in the database and, depending on the number of failed attempts, the status of the PBX may be changed (e.g., blocked to (5)). Example: Authentication via XML menu and a PIN code.
[0081] This scenario is largely similar to the scenario in the previous chapter. The difference is that authentication is not performed using SIP / RTP / DTMF. The terminal device doesn't even need to have a SIP registration. Instead, the PBX device is provided with a minimal configuration, allowing access to an HTTP / XML (or similar)-driven menu.
[0082] When the user opens the menu, the PBX contacts the authentication service, e.g., via https / xml, which transmits the corresponding instructions (e.g., "Please enter the PIN"). The credentials then entered on the device are then transmitted via http / xml to the authentication server, which then authenticates them. Configuration service
[0083] The configuration service allows the end customer or administrator to configure the entire service. For example, in the case of a cloud PBX telephone system, this is a service portal through which administrators can add PBX devices, configure extensions, and link phone numbers to services, among other things.
[0084] The configuration service is important in that a user must authenticate separately and securely and then, among other things, Can create / delete end devices and change the status of the end devices (e.g., teach (2) or unlock) and read the currently valid authentication feature, e.g., the PIN. This feature, e.g., the PIN, is then required for the authentication of the end device during initial commissioning.
[0085] The configuration service reads and writes its data into the database. database
[0086] For the purposes of the following discussion, it is irrelevant whether the database is a large one or multiple small ones. What is relevant is that the services involved (e.g., the provisioning service for authentication, the authentication service for PIN verification, the configuration service for displaying and editing the configuration stored in the central service) communicate with the database(s), persist the necessary information, and make it available to the various subservices upon request.
[0087] Here we always speak simply of "the database", regardless of whether the technical form involves one or more databases.
[0088] Fig. 2 illustrates permitted and possible communication relationships of a telecommunications terminal (status 4) that is completely authenticated (and configured) according to the invention and its user. 1) The user uses the end device. 2) The user uses the configuration service. 3) The end device connects to the registrar and maintains the connection. 4) The end device communicates with the provisioning service to obtain configurations. 5) The end device communicates with the communication services (e.g., to make phone calls). The communication between the end device and the communication service typically also passes partly through the registrar. 6) The registrar obtains the necessary authentication information from the database. 7) The provisioning service obtains all components for generating the end device-specific configuration from the database. 8) The communication services obtain a lot of information from the database in order to be able to offer the configured services (e.g.,For an incoming call to the number 123, a communications service must know which customer the calling device belongs to, then know what the number 123 is, make appropriate routing decisions, and then let the appropriate devices ring. 9) The configuration service reads and writes the customer configuration into the database.
[0089] Fig. 3 illustrates communication relationships between a telecommunications terminal not authenticated according to the invention and its user (status 1-3).-
[0090] The main difference to the case of Fig. 2 is that the PBX terminals are not allowed to communicate with the actual communication services of the Cloud PBX service (or remain there without authorization to trigger actions, e.g. phone calls), but can communicate with the authentication service, see path 5A in Fig. 3 . Path 5 to the Cloud PBX service according to Fig. 2does not exist. The remaining communication relationships correspond to those in Fig. 2 .
[0091] Fig. 4 AF This illustrates the authentication process according to the invention. The scenario assumes a PBX without significant configuration or from the factory default state. The process description ignores how the terminal device is enabled to know which provisioning server it needs to contact in step 2. This can happen through manual configuration, using DHCP parameters, or using mechanisms such as the redirection servers described above. What all methods have in common is that, starting at state X (here, step 1), the terminal device "knows" how to reach the provisioning service.
[0092] Step 1: The user switches on the device.
[0093] Step 2: The end device contacts the provisioning service to obtain a configuration. The end device transmits its MAC address and, if supported, authenticates itself as an end device (e.g., using client SSL). The provisioning service receives a provisioning request from the PBX device, which contains its MAC address (and other features, such as an SSL certificate).
[0094] In step 3, the provisioning service checks the status of the end device in the database using the transmitted MAC address and verifies that the device is in status 1. The provisioning service then generates a minimal configuration that allows the device to contact the authentication service. In this example, this is done via a registrar and using audio / DTMF. The provisioning service transmits this minimal configuration to the PBX device.
[0095] In step 4, the PBX connects to the registrar using the data transmitted in the minimal configuration. This enables the PBX to communicate with the authentication service.
[0096] When the user operates the PBX (e.g., picks up the handset), the terminal establishes a connection to the authentication service, step 5. Alternatively, the user must dial a predefined number to be connected to the authentication service.
[0097] The authentication service then plays a message in step 6 and asks the user to authorize.
[0098] The user authenticates by entering a PIN into his or her PBX; the PBX transmits the data, for example using DTMF, to the authentication service (step 7).
[0099] In step 8, the authentication service verifies the received data and determines that it is valid for this specific device. It records the status change to (3) in the database and informs the PBX via the registrar to retrieve a complete configuration.
[0100] The end device contacts the provisioning server again (see step 9) and sends a provisioning request.
[0101] Upon receiving the provisioning request, the provisioning server generates a complete configuration, including an additional authentication token, for further provisioning in step 10 and transmits it to the end device. The additional authentication token is stored in the database.
[0102] The status of the PBX in the database is changed to (4).
[0103] In step 11, the terminal device processes the complete configuration and contacts the communication services or the registrar based on the final configuration.
[0104] The PBX terminal is now fully configured and operationally integrated into the Cloud PBX service.
[0105] However, if the PBX contacts the provisioning service at a later point in time, i.e., after the complete configuration, to obtain an updated configuration, it also transmits the additional authentication feature (authentication token) that was generated and transmitted to it in step 10 (see step 12).
[0106] This can be triggered e.g. periodically, due to a request from the communication services, or manually by the user (e.g. by restarting the terminal device).
[0107] In step 13, the provisioning service then uses the MAC to verify that the PBX is in status 4 and initiates the required additional authentication. This is verified against the transmitted authentication. Only if the authentication matches is a (new) configuration generated and transmitted to the PBX.
[0108] Preferably, the authentication token is changed or regenerated, transmitted to the telecommunications terminal and stored in the database.
[0109] Steps 12 and 13 can be repeated as often as you like.
[0110] Fig. 5 AF shows the provisioning process according to a second embodiment of the invention, namely an example for XML-based authentication without SIP. In this embodiment, no registrar is required.
[0111] Steps 1 and 2 are identical as before.
[0112] In step 3, the minimal configuration that allows the terminal to contact the authentication service is transmitted to the PBX via XML.
[0113] In step 4, the PBX displays the authentication request on its display.
[0114] In step 5, the user enters the PIN using the telephone keypad. The PBX establishes a connection to the authentication service and transmits the PIN data to the authentication service.
[0115] In step 6, the authentication service verifies the transmitted data and determines that it is valid for this specific device. It records the status change to (3) in the database and informs the device via an XML response that it needs to be restarted.
[0116] After restarting in step 7, the device contacts the provisioning server again.
[0117] Upon receiving the provisioning request in step 8, the provisioning server generates a complete configuration, including an additional authentication token for provisioning, and transmits it to the end device. The authentication token is stored in the database.
[0118] The remaining steps 9 to 11 correspond to those of the previously described process.
[0119] Step 10 does not have to follow immediately after step 9. This can be triggered Periodically Due to a request from the communication services Manually triggered (e.g. by restarting the device)
[0120] Steps 10 and 11 can be repeated as often as you like.
Claims
1. A computer-implemented method for provisioning a telecommunication-, TC-, terminal apparatus via a cloud, wherein the TC terminal apparatus is assigned an identifier, an ID, which identifies the TC terminal apparatus, and wherein the provisioning of the TC terminal apparatus has the goal of providing a configuration for the TC terminal apparatus via the cloud, wherein the configuration enables the TC terminal apparatus to use predetermined cloud-based TC services, having the following steps: receiving, by a provisioning service, a provisioning request from the TC terminal apparatus to obtain a configuration, wherein the provisioning request comprises the ID assigned to the TC terminal apparatus, identifying, by the provisioning service, the TC terminal apparatus on the basis of the ID in a database containing a predetermined number of TC terminal apparatus, for each of the TC terminal apparatus its assigned ID and wherein each TC terminal apparatus in the database is assigned a configuration state from a number of predetermined configuration states, and verifying, by the provisioning service, with the help of the database that the state assigned to the TC terminal apparatus is "not configured and not authenticated (1)", otherwise interrupting the provisioning method, initiating, by the provisioning service, a predetermined authentication procedure for the TC terminal apparatus, wherein the authentication procedure comprises authentication of the TC terminal apparatus on the basis of an apparatus-specific security feature assigned to the TC terminal apparatus in addition to the ID, if the authentication procedure returns a positive result, carrying out steps A) to D), otherwise changing the state assigned to the TC terminal apparatus in the database to a "blocked" state and interrupting the provisioning method without providing a configuration. A) generating, by the provisioning service, a characteristic of a further authentication feature for the TC terminal apparatus, wherein the characteristic is added to the configuration to be generated, wherein the characteristic for the TC terminal apparatus is stored in the database, B) generating and providing, through the provisioning service, the configuration for transmission to the terminal apparatus, C) after transmitting to the terminal apparatus, changing the state assigned to the TC terminal apparatus in the database to "fully configured"; D) waiting, by the provisioning service, for a further provisioning request from the TC terminal apparatus and, on receipt of a further provisioning request, checking the state of the TC terminal apparatus in the database on the basis of the assigned ID and, if the state is "authenticated and configured", requesting the further authentication feature for the TC terminal apparatus, checking on the basis of the database whether the characteristic of the further authentication feature for the TC terminal apparatus is valid, and if the check is positive, initiating steps B) and D) again, otherwise changing the state assigned to the TC terminal apparatus in the database to "blocked" and interrupting the provisioning method without providing a configuration, wherein step A) is initiated before steps B) and D) are initiated again.
2. The method according to claim 1, wherein the additional security feature is a PIN transmitted to a user of the TC terminal apparatus, and wherein the authentication procedure comprises the following steps: generating, by the provisioning service, a provisional configuration for the TC terminal apparatus that only allows the TC terminal apparatus to contact a predetermined authentication service for the purpose of authenticating the TC terminal apparatus, transmitting the provisional configuration to the terminal apparatus via the provisioning service, to a communication connection establishment by the TC terminal apparatus after provisional configuration with the authentication service, sending, via the communication connection, by the authentication service, a request message to the TC terminal apparatus to send the PIN to the authentication service, receiving, through the authentication service, the PIN entered by the TC terminal apparatus and transmitted via the communication connection, verifying, through the authentication service, the PIN and, if it is determined that the PINs for the TC terminal apparatus are valid, changing the state assigned to the TC terminal apparatus in the database to "fully authenticated and not configured" and sending a request to the terminal apparatus to carry out predetermined steps to obtain the configuration.
3. The method according to claim 2, wherein the PIN is delivered to the user via a communication path other than the communication connection via which the PIN is sent to the authentication service.
4. The method according to claim 2 or 3, wherein the communication path is one of letter post path, short message service path, e-mail service path.
5. The method according to any of claims 2 to 4, wherein the PIN is received via audio DTMF or http / XML encoded over the communication connection from the authentication service.
6. The method according to claim 1, wherein the additional security feature is a release for a TC terminal apparatus which is associated with a TC terminal apparatus on the basis of the ID and is made known to the provisioning service, and wherein the authentication procedure comprises checking the release for the TC terminal apparatus on the basis of its assigned ID and, if the check is positive, causing the state assigned to the TC terminal apparatus in the database to be set to "teach-in".
7. The method according to claim 1, wherein the additional security feature is at least one predetermined IP address made known to the provisioning service, and wherein the authentication procedure comprises checking the IP address at which the TC terminal apparatus sends the provisioning request for identity with the at least one address made known to the provisioning service.
8. The method according to the preceding claim, wherein the at least one predetermined IP address is an IP address, received from the provisioning service, of another TC terminal apparatus to which the state "fully configured" is assigned in the database.
9. The method according to any of the preceding claims, wherein the verification of the additional security feature can only provide a positive result within a predetermined time limit after the security feature is disclosed to the provisioning service.
10. The method according to any of the preceding claims, wherein a unique certificate is assigned to each terminal apparatus in the database and wherein the first provisioning request has the certificate of the terminal apparatus, and wherein the certificate is verified together with the MAC address.
11. The method according to any of the preceding claims, wherein after interruption of the method, the provisioning service waits for an administrative intervention for a predetermined time interval and, if the intervention occurs, the interruption is canceled, the state of the TC terminal apparatus is set to "authenticated and configured" in the database and the provisioning method is continued at the position at which the interruption occurred.
12. The method according to any of the preceding claims, wherein the telecommunication terminal apparatus is a telephone apparatus.
13. The method according to any of the preceding claims, wherein the ID comprises the MAC address of the TC terminal apparatus.
14. The method according to any of the preceding claims, wherein the provisioning request additionally has a security certificate (SSL) associated with the TC terminal apparatus, and wherein identifying the TC terminal apparatus comprises verifying, based on the associated ID, that the security certificate (SSL) is valid for the TC terminal apparatus.
15. The method according to any of the preceding claims, wherein the security feature and each expression of the further authentication feature is generated on the basis of a technical randomization method.
16. The method according to any of the preceding claims, wherein the authentication service is comprised by the provisioning service.
17. The method according to any of the preceding claims, wherein the further authentication feature comprises a hash value formed from at least one randomly generated value.
