Phone robot outbound method based on private number
By configuring the SIP service and voice recognition model, the problem that the telephone robot cannot accurately judge the answer status of the end user, realizes automatic call and accurate status analysis of privacy numbers, and improves work efficiency and call reliability.
Patent Information
- Application Number
- CN202411626234.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-14
- Publication Date
- 2025-02-25
AI Technical Summary
Existing telephone robots cannot accurately determine when the end user will actually answer the call, which leads to the inability of enterprises to use the original software to make calls normally, and they need to use manual outgoing calls, which is inefficient in work.
By configuring a SIP service that provides privacy number calls, we can determine whether the call number is a standard number. If it is a privacy number, the call is temporarily parked, and the voice prompt signal is automatically recognized through the voice recognition model, judge whether the DTMF event is successfully sent, analyze the call status, and ensure that the call proceeds smoothly.
It realizes that the telephone robot automatically completes call operations on privacy numbers, improves the work efficiency of outgoing calls, enhances the accuracy and reliability of calls, and reduces the possibility of errors caused by manual operations.
Smart Images

Figure CN119520678A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of private number telephone robot outbound calling, and in particular is an outbound calling method based on private number telephone robot. Background Art
[0002] In the field of e-commerce and logistics, more and more third-party platforms will implement privacy protection for customer numbers, using the privacy platform mobile phone number plus a key extension number to replace the original customer mobile phone number.
[0003] Most of the telephone robots on the current market do not have the function of active button pressing, and at the software level, due to the access to the privacy number platform, traditional telephone robots cannot accurately determine when the terminal user actually answered the call and whether the terminal user answered the call; this phenomenon makes it impossible for companies that run telephone robot outbound calling software to use the original software to make calls normally. Companies often have to give up these numbers or re-enable manual outbound calling methods, resulting in low work efficiency. Therefore, the present invention provides an outbound calling method based on a privacy number telephone robot. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art; to this end, the present invention proposes an outbound calling method based on a privacy number telephone robot, which is used to solve the technical problem that the prior art uses manual calling because the telephone robot does not have the function of actively pressing buttons and cannot accurately judge when the terminal user actually answers the call, resulting in low work efficiency.
[0005] To achieve the above object, the first aspect of the present invention provides an outbound calling method based on a private number telephone robot, comprising the following steps:
[0006] Step 1: Configure the SIP service that provides private number calls and determine whether the called number is a standard number; if yes, directly initiate the call and proceed to step 3; if no, it is a private number, temporarily park the call and proceed to step 2;
[0007] The temporarily parked call is sent by the call controller as 180 for temporary parking.
[0008] Step 2: Extract the standard number to initiate a call, and start monitoring the key input prompt tone. When the key input prompt tone ends, send the DTMF event according to the key protocol in the signaling to determine whether the DTMF event is sent successfully; if not, modify the DTMF event sending method, resend, and proceed to step 3;
[0009] Step 3: Analyze the call status; the call status includes a connected state and an unconnected state.
[0010] Preferably, the determining whether the called number is a standard number includes:
[0011] Several features of the standard number are extracted. If the features of the calling number all meet the features of the standard number, the calling number is a standard number.
[0012] Preferably, extracting a standard number to initiate a call includes:
[0013] The format of a private number is a mobile phone number and an extension number, which are separated by a special symbol. When the calling number is a private number, the number before the special symbol is retained and a call is initiated.
[0014] Preferably, the determining whether the DTMF event is sent successfully comprises:
[0015] The voice prompt signal received after DTMF is sent is input into the speech recognition model to recognize the voice prompt text of the voice prompt signal.
[0016] The voice prompt text is subjected to semantic similarity analysis with the prompt text in the voice prompt database of successful transfer to determine whether the similarity exceeds a preset threshold; if so, the voice prompt signal indicates that the transfer is successful and the DTMF event is sent successfully; if not, the voice prompt signal indicates that the transfer fails and the DTMF event fails to be sent.
[0017] The present invention automatically recognizes voice prompt signals through a voice recognition model, which greatly reduces manual operations, shortens confirmation time, and improves the overall processing speed; secondly, through a pre-established voice prompt library of successful transfers and a semantic similarity analysis with the actually received voice prompt text, it is possible to accurately determine whether the transfer is successful. This method avoids the subjectivity and misjudgment that may exist in manual judgment, and improves the accuracy and reliability of the judgment.
[0018] Preferably, the analyzing the call status includes:
[0019] The privacy number call controller starts the detection function to detect the status of the actual recipient;
[0020] When the call status is not connected, hang up the call, inform the initiator that the call cannot be connected, and make the next call again;
[0021] When the call state is connected, the temporarily parked call initiator's phone is connected, and the initiator and the receiver are connected to realize a two-way conversation.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. The present invention provides a dedicated voice gateway and control service by implementing 3PCC (three-party call control) technology; this service can realize the calling function of private numbers without changing the original telephone robot platform; when using this system to initiate a call, not only can the required extension number be automatically entered, but also whether the other party has actually answered the call can be further detected. Only when it is confirmed that the user has answered the call, the system will transfer the call to the robot to start the subsequent automated interaction process; it not only ensures the privacy of the call, but also avoids any changes to the existing system, thereby simplifying the deployment process and improving the overall service efficiency;
[0024] 2. The SIP service for calling a privacy number of the present invention will first determine the format of the calling number. If it is found that the calling number meets the requirements of the standard number, a call request will be automatically initiated. During the call, the system will also monitor and determine the status of the key input prompt tone played on the privacy number platform. Once the prompt tone is detected to be finished, the system will automatically send the DTMF signal according to the preset key protocol. After the sending is successful, the system will continue to analyze the status of the entire call to ensure that the call proceeds smoothly. In this way, the present invention enables the telephone robot to automatically complete the calling operation of the privacy number, which not only greatly improves the work efficiency of the enterprise when conducting outbound calling activities, but also enhances the accuracy and reliability of the call, and reduces the possibility of errors caused by manual operation. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 It is a schematic diagram of the process of the present invention;
[0027] Figure 2 Schematic diagram of the system structure of the present invention. DETAILED DESCRIPTION
[0028] The technical solution of the present invention will be clearly and completely described below in conjunction with the embodiments. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] See also Figure 1The first aspect of the present invention provides a method for outbound calling based on a privacy number telephone robot, comprising the following steps:
[0030] Step 1: Configure the SIP service that provides private number calls and determine whether the called number is a standard number; if yes, directly initiate the call and proceed to step 3; if no, it is a private number, temporarily park the call and proceed to step 2;
[0031] Specifically, several features of standard numbers are extracted. If the features of the calling number all meet the features of the standard number, then the calling number is a standard number. For example, the features of a mobile phone number are: 11 natural numbers, the first digit is "1". If the called number consists of 11 natural numbers and the first digit is "1", then the called number is a standard number. If the called number has at least one feature that does not meet the features of a standard number, then the called number is a private number;
[0032] The format of a privacy number consists of a mobile phone number and an extension number, which are separated by a special symbol, i.e. "mobile phone number-extension number"; when the calling number is a privacy number, the number before the special symbol ("-"), i.e. the mobile phone number, is retained and a call is initiated.
[0033] Among them, the temporary parking call is sent by the call controller 180 to park.
[0034] Step 2: Extract the standard number to initiate a call, and start monitoring the key input prompt tone. When the key input prompt tone ends, send the DTMF event according to the key protocol in the signaling to determine whether the DTMF event is sent successfully; if not, modify the DTMF event sending method, resend, and proceed to step 3;
[0035] Specifically, the voice prompt signal received after the DTMF event is sent is input into the voice recognition model to identify and obtain the voice prompt text of the voice prompt signal; wherein the voice recognition model may be ASR voice recognition technology;
[0036] Sequentially perform semantic similarity analysis on the voice prompt text and the prompt text in the voice prompt database of successful transfer; wherein the voice prompt database of successful transfer stores several prompt texts with the same meaning as successful transfer;
[0037] It is determined whether the similarity exceeds a preset threshold; if yes, the voice prompt signal indicates that the transfer is successful and the DTMF event is sent successfully; if no, the voice prompt signal indicates that the transfer fails and the DTMF event fails to be sent.
[0038] Specifically, first, data preprocessing is performed to remove noise in the text, such as HTML tags, special characters, stop words, etc., and the text is converted to a unified format, such as lowercase, removal of numbers or punctuation marks, etc.; secondly, feature extraction is performed to map each word to a high-dimensional vector space using a pre-trained word vector model (such as Word2Vec, GloVe, FastText); finally, similarity is calculated in the following ways: 1. Cosine similarity: Calculate the cosine value of the angle between two vectors, ranging from [-1,1]. The larger the value, the higher the similarity; 2. Euclidean distance: Calculate the distance between two vectors. The smaller the distance, the higher the similarity; 3. Jaccard similarity coefficient: Applicable to binary vectors, calculates the ratio of the intersection to the union of two sets.
[0039] Step 3: Analyze the call status; the call status includes a connected state and an unconnected state.
[0040] Specifically, after the DTMF event is sent successfully, the privacy number call controller controls Freeswitch to start the detection function to detect the status of the actual receiver;
[0041] When the call status is not connected, hang up the call, inform the initiator that the call cannot be connected, and make the next call again;
[0042] When the call state is connected, the temporarily parked call initiator's phone is connected, and the initiator and the receiver are connected to realize a two-way conversation.
[0043] It should be noted that, because the broadcast voices of operators are in a unified form, the call status can be learned mainly by comparing the features of the broadcast voices.
[0044] For example, when the privacy number call controller instructs Freeswitch to make a call, Freeswitch will record all voice prompts received from the called party and extract the features of the voice prompts, which may include but are not limited to: keywords: such as "empty number", "cannot be connected", "out of service area", "busy tone", etc.; audio mode: such as mute, busy tone ("beep, beep...continuous short tone"), busy tone ("beep-beep-intermittent long tone", etc.);
[0045] The extracted features are compared with the features of known call states. These features may be stored in a database or configuration file for quick identification of call states. For example, suppose that during a call, FreeSWITCH records a voice prompt: "Sorry, the number you dialed is unavailable. Please check before dialing." The extracted keyword is "unavailable", and compared with the features of known call states, the call state is obtained as unconnected.
[0046] If it is detected that the user answers the call and speaks, the call state is connected.
[0047] Part of the data in the above formula is calculated by removing the dimension and taking its numerical value. The formula is a formula closest to the actual situation obtained by software simulation of a large amount of collected data; the preset parameters and preset thresholds in the formula are set by technical personnel in this field according to actual conditions or obtained through simulation of a large amount of data.
[0048] Working principle of the present invention: Please refer to Figure 2 The robot SIP service deploys the open source Freeswitch on the Linux server as the privacy number calling SIP service; after receiving the call, the privacy number calling SIP service will first determine the called number format of the call. If it is an 11-digit mobile phone number, it will directly make a normal call; when the number is an 11-digit mobile phone number plus an extension number of indefinite length, the privacy number calling controller sends 180 signaling for Park; then it intercepts the 11-digit number (privacy platform mobile phone number) for calling. After the privacy number service provider is connected (200 signaling is received), the privacy number call controller starts voice monitoring. When the prompt tone of the privacy number platform inputting keys is broadcast, the DTMF event is sent using RFC2833 or INBOUND according to the key protocol in the signaling. If the prompt tone of the transfer is not heard after sending or the prompt tone of the wrong key is received, the DTMF sending method needs to be modified and resent. After the key is sent, the privacy number call controller will control Freeswitch to start the detection function to detect the user's answering status. If the number is empty, the call is rejected, or the call is in progress, the call will be hung up. If the user is detected to answer and speak, the original Park call will be restored and the call will be made with the user.
[0049] The above embodiments are only used to illustrate the technical method of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical method of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical method of the present invention.
Claims
1. A method for outbound calling based on a private number telephone robot, characterized in that: The following steps are involved: Step 1: Configure the SIP service that provides private number calls and determine whether the called number is a standard number; If yes, the call is directly initiated and the process goes to step 3. If no, the number is a private number, the call is temporarily parked and the process goes to step 2. Step 2: Extract the standard number to initiate a call, and start monitoring the key input prompt tone. When the key input prompt tone ends, send a DTMF event according to the key protocol in the signaling to determine whether the DTMF event is sent successfully. If not, modify the DTMF event sending method, resend, and proceed to step 3; Step 3: Analyze the call status; the call status includes a connected state and an unconnected state.
2. According to claim 1, a telephone robot outbound calling method based on a private number is characterized in that: The step of determining whether the called number is a standard number includes: Several features of the standard number are extracted. If the features of the calling number all meet the features of the standard number, the calling number is a standard number.
3. According to claim 1, a method for outbound calling based on a private number telephone robot is characterized in that: The extracting the standard number to initiate a call includes: The format of a private number is a mobile phone number and an extension number, which are separated by a special symbol. When the calling number is a private number, the number before the special symbol is retained and a call is initiated.
4. According to claim 1, a telephone robot outbound calling method based on a private number is characterized in that: The step of determining whether the DTMF event is sent successfully includes: The voice prompt signal received after DTMF is sent is input into the speech recognition model to recognize the voice prompt text of the voice prompt signal. The voice prompt text is subjected to semantic similarity analysis with the prompt text in the voice prompt database of successful transfer to determine whether the similarity exceeds a preset threshold; if so, the voice prompt signal indicates that the transfer is successful and the DTMF event is sent successfully; if not, the voice prompt signal indicates that the transfer fails and the DTMF event fails to be sent.
5. According to claim 1, a telephone robot outbound calling method based on a private number is characterized in that: The analyzing the call status includes: The privacy number call controller starts the detection function to detect the status of the actual recipient; When the call status is not connected, hang up the call, inform the initiator that the call cannot be connected, and make the next call again; When the call state is connected, the temporarily parked call initiator's phone is connected, and the initiator and the receiver are connected to realize a two-way conversation.