SIP authentication method and device based on serial number, equipment and medium
An authentication method and authentication device technology, applied in the computer field, can solve problems such as error-prone and cumbersome steps, and achieve the effects of preventing unauthorized calls, simplifying the configuration process, and avoiding attacks
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] Such as image 3 As shown, the present embodiment provides a serial number-based server SIP authentication method, including:
[0048] Step 1. Import the factory serial number, extension number table and extension registration password of the phone in batches on the PBX server;
[0049] Step 2, the PBX server receives the registration request message sent by the phone, and parses the registration request message, if from / to is anonymous, and obtains the D-H exchange from the xml in the message body of the registration request message. The received two integers n and g, and the public key X calculated by the phone end, and use the received n and g to calculate the public key Y, and then use the received X to calculate the key K, and then put Y into the 401 report Send the text to the phone.
[0050] Step 3, when the PBX server receives the registration message with Authorization, it extracts the ciphertext of the phone's factory serial number therefrom, uses K to decry...
Embodiment 2
[0052] Such as figure 2 As shown, the present invention provides a kind of SIP authentication method based on serial number, specifically comprises the following steps:
[0053] Step 1. Batch import the phone factory serial number, extension number table and extension registration password on the PBX server;
[0054] Step 2. When the phone leaves the factory, the registration server address and proxy server address of the PBX server are built in, and the phone network is set to DHCP by default; the registration server address will be placed in the registration message, similar to a logo, and the proxy server address is the PBX server IP address;
[0055] Step 3. After the phone is powered on, obtain the IP address of the phone, and send a registration request message to the PBX server. The user fields in the From / To header field in the message are all filled with anonymous, and carry the n and g required for D-H exchange. , and the public key X calculated by the phone;
[...
Embodiment 3
[0061] Such as Figure 4 As shown, a kind of server SIP authentication device based on serial number is provided in this embodiment, including:
[0062] Import module, to batch import phone factory serial numbers, extension number tables and extension registration passwords on the PBX server;
[0063] Registration request module, the PBX server receives the registration request message sent by the phone, and analyzes the registration request message, if from / to is anonymous, and obtains the D-H exchange requirement from the xml in the message body of the registration request message The two integers n and g used, and the public key X calculated by the phone end, and the received n and g are used to calculate the public key Y, and then the received X is used to calculate the key K, and then Y is placed in 401 sent to the phone in the message.
[0064] Registration module, when the PBX server receives the registration message with Authorization, it extracts the ciphertext of t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


