Voice short number mutual dialing method and system based on enterprise gateway, gateway and medium

By configuring short numbers for phones connected to the enterprise gateway and modifying the voice port mapping relationship, direct communication between phones within the gateway can be achieved, solving the problems of cumbersome communication and reliance on external servers in traditional enterprise gateways, improving efficiency and reliability, and reducing costs.

CN121125907APending Publication Date: 2025-12-12FUJIAN STAR NET WISDOM TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511137369.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-08-14
Publication Date
2025-12-12

AI Technical Summary

Technical Problem

Traditional enterprise gateways involve cumbersome communication with handsets, rely on external servers, resulting in high costs, low reliability, and insufficient flexibility, making it difficult to meet the needs of modern enterprises' rapid development.

Method used

By configuring a unique short number for each phone and modifying the mapping relationship between the physical voice port and the virtual voice port, as well as redirecting the virtual voice port input stream, direct communication between different phones within the gateway can be achieved, avoiding reliance on external servers.

Benefits of technology

It improves internal communication efficiency, reduces costs, enhances system reliability and flexibility, reduces the risk of single points of failure, and enables efficient voice transmission within the local area network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121125907A_ABST
    Figure CN121125907A_ABST
Patent Text Reader

Abstract

The invention discloses a voice short number mutual dialing method and system based on an enterprise gateway, the gateway and a medium, and relates to the technical field of enterprise voice communication. The method comprises the following steps: a short number configuration process: configuring a unique short number for each telephone, and establishing a corresponding relationship between each short number and each telephone to form a short number list; a call control process: when it is detected that the first phone dials the short number in the short number list, a second phone in the short number list is matched according to the short number, and a ringing signal is sent to a virtual voice port of the second phone; and when an off-hook event of the second telephone is detected, modifying a mapping relationship between the physical voice ports and the virtual voice ports of the first telephone and the second telephone, and performing input stream redirection on the virtual voice ports of the first telephone and the second telephone, thereby realizing conversation between different telephones under the same gateway. According to the invention, the short number mutual dialing conversation between the telephones under one gateway is realized without depending on an external PBX / SIP server, so that the internal communication cost of an enterprise is reduced, and the reliability is high.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of enterprise voice communication, in particular to a voice short number interdialing method and system based on an enterprise gateway, a gateway and a medium. BACKGROUND

[0002] In the communication mode of the phone under the traditional enterprise gateway, there are many technical defects: 1. Complicated and inefficient dialing operation: the phone under the traditional enterprise gateway (including SIP phone, analog phone and other common types) generally needs to dial the complete external number or long extension number when performing internal communication. Such numbers are usually composed of 7 to 11 digits, which are long in length and lack intuitive and easy-to-remember, making the dialing operation complicated and prone to errors, which greatly reduces the communication efficiency. Especially in large enterprises, the internal phone numbers are numerous and complex, making it difficult for employees to remember, which seriously affects the continuity and response speed of work. 2. Over-reliance on external servers: Currently, most phone systems under the enterprise gateway rely on external servers (such as PBX or SIP servers) to realize the short number routing function. This centralized architecture has significant drawbacks. On the one hand, deploying external servers requires enterprises to invest a lot of manpower, material resources and financial resources in hardware equipment procurement, installation and debugging, and subsequent maintenance, significantly increasing the communication construction and operation cost of enterprises. At the same time, when dialing between branches, additional communication costs are generated through public network links. On the other hand, once the external server fails, such as hardware damage, software failure, network connection interruption, etc., the entire internal communication system will be at risk of paralysis, and the communication service cannot be normally carried out, which brings great inconvenience and potential loss to the daily operation of the enterprise, and the reliability and stability of the system are seriously threatened. 3. Lack of flexibility: the existing system has obvious limitations in short number configuration. The setting and modification of short numbers usually require complicated configuration operations on external servers, which limits the response speed of enterprises in response to changes, and the flexibility and scalability of the system cannot meet the needs of the rapid development of modern enterprises. SUMMARY

[0003] The technical problem to be solved by the present application is to provide a voice short number interdialing method and system based on an enterprise gateway, a gateway and a medium, which realizes communication between different phones under one gateway by modifying the mapping relationship between the physical voice port and the virtual voice port and redirecting the input stream of the virtual voice port, greatly facilitating the use of the company, improving the internal communication efficiency of the enterprise, reducing the internal communication cost of the enterprise, and being highly reliable.

[0004] In a first aspect, the present application provides a voice short number interdialing method based on an enterprise gateway, applied to a gateway with multiple phones hung down, the method comprising:

[0005] Short number configuration process: configure a unique short number for each phone, and each short number corresponds to each phone to form a short number list;

[0006] Call control process: when detecting that the first phone dials a short number in the short number list, match the second phone in the short number list according to the short number, and send a ring signal to the virtual voice port of the second phone; when detecting that the second phone is off-hook, modify the mapping relationship between the physical voice port and the virtual voice port of the first phone and the second phone, and redirect the input stream of the virtual voice ports of the first phone and the second phone, to realize the call between different phones under the same gateway; when detecting that the first phone or the second phone is on-hook, restore the default mapping relationship between the virtual voice port and the physical voice port of the first phone and the second phone, and close the input stream redirection of the virtual voice ports.

[0007] Further, in the call control process, modifying the mapping relationship between the physical voice port and the virtual voice port of the first phone and the second phone specifically includes mapping the input of the physical voice port of the first phone to the input of the virtual voice port of the second phone, and mapping the input of the physical voice port of the second phone to the input of the virtual voice port of the first phone.

[0008] Further, in the call control process, redirecting the virtual voice ports of the first phone and the second phone specifically includes directing the input of the virtual voice port of the first phone to the output of the virtual voice port of the first phone, and directing the input of the virtual voice port of the second phone to the output of the virtual voice port of the second phone.

[0009] Further, the short number configuration process further includes setting and modifying the short number of each phone through the gateway management page, and synchronizing the modified short number to the short number list database in real time.

[0010] In a second aspect, the present application provides a voice short number inter-call system based on an enterprise gateway, which includes a gateway and a plurality of phones connected to the gateway, and the gateway includes:

[0011] A short number configuration module is configured to configure a unique short number for each phone, and each short number corresponds to each phone to form a short number list;

[0012] The call control module is used for, when detecting that the first phone dials a short number in a short number list, matching the second phone in the short number list according to the short number, sending a ring signal to a virtual voice port of the second phone, when detecting that the second phone is off-hook, modifying a mapping relationship between the physical voice ports of the first phone and the second phone and the virtual voice ports and performing input stream redirection on the virtual voice ports of the first phone and the second phone, realizing the call between the different phones under the same gateway, and when detecting that the first phone or the second phone is on-hook, restoring a default mapping relationship between the virtual voice ports and the physical voice ports of the first phone and the second phone and closing the input stream redirection of the virtual voice ports.

[0013] Further, in the call control module, the modifying of the mapping relationship between the physical voice ports of the first phone and the second phone and the virtual voice ports is specifically mapping the input of the physical voice port of the first phone to the input of the virtual voice port of the second phone and mapping the input of the physical voice port of the second phone to the input of the virtual voice port of the first phone.

[0014] Further, in the call control module, the redirection of the virtual voice ports of the first phone and the second phone is specifically orienting the input of the virtual voice port of the first phone to the output of the virtual voice port of the first phone and orienting the input of the virtual voice port of the second phone to the output of the virtual voice port of the second phone.

[0015] Further, the short number configuration module is further used for setting and modifying the short number of each phone through a gateway management page and synchronizing the modified short number to the short number list database in real time.

[0016] In a third aspect, the application provides a gateway, comprising a memory, a processor and a computer program stored in the memory and executable on the processor, and the processor implements the method in the first aspect when executing the program.

[0017] In a fourth aspect, the application provides a computer readable storage medium, which stores a computer program executable by a processor to implement the method in the first aspect.

[0018] The technical scheme provided in the embodiments of the application has at least the following technical effects:

[0019] 1. The short number inter-call voice communication between the phones connected to the gateway can be realized, the short number routing does not need to depend on external PBX / SIP servers, the internal communication cost of an enterprise is reduced, and the reliability is high.

[0020] 2. Real-time monitoring and local routing triggering: The gateway device monitors dialing requests in real time, and when it detects that the dialed number matches the short number format, it immediately triggers the local routing processing flow. This technical point can ensure that internal calls are processed and forwarded within the enterprise intranet, avoiding the involvement of external servers, improving communication efficiency, reducing communication costs, and reducing the risk of single-point failure.

[0021] 3. Call direction based on mapping table and voice transmission within local area network: By querying the short number mapping table, the call is accurately directed to the target phone, and the voice transmission is completed within the local area network throughout. This not only ensures the quality and stability of the call, but also realizes the efficiency and economy of enterprise internal communication, while avoiding additional costs generated by public network links when dialing between branches.

[0022] 4. Short number configuration and mapping mechanism: Each phone connected to the gateway is assigned a unique short number, and the short number is associated with the physical address or device identifier of the phone, generating a short number mapping table. This configuration mechanism enables quick association and identification of phone devices and short numbers, providing basic data support for subsequent internal call routing, and can also be conveniently managed through the management interface or configuration tool of the gateway device.

[0023] 5. Through the innovative short number dialing system and method, an efficient, convenient, economical and stable solution is provided for enterprise internal communication, with significant technical advantages and practical application value.

[0024] The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the following specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS

[0025] The present application will be further described below with reference to the accompanying drawings and embodiments.

[0026] Figure 1 The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the following specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described.

[0027] Figure 2 The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the following specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described.

[0028] Figure 3 The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the following specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described.

[0029] Figure 4 The above description is only a summary of the technical solutions of the present application. In order to more clearly understand the technical means of the present application, the following specific embodiments of the present application can be implemented according to the content of the specification, and in order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described.

[0030] Figure 5The flowchart of the call establishment in the embodiment one of the present application is shown in the figure.

[0031] Figure 6 The flowchart of the call end in the embodiment one of the present application is shown in the figure.

[0032] Figure 7 The framework of the system in the embodiment two of the present application is shown in the figure. DETAILED DESCRIPTION

[0033] The embodiment of the present application provides a voice short number intercommunication method, system, gateway and medium based on enterprise gateway, and the mapping relationship between the physical voice port and the virtual voice port is modified and the virtual voice port input stream is redirected to realize the call between different telephones under one gateway, which greatly facilitates the use of the company, improves the communication efficiency of the enterprise, reduces the communication cost of the enterprise, and has high reliability.

[0034] The technical solution of the embodiment of the present application has the following general idea:

[0035] The technical problems to be solved are as follows: when the telephone under the traditional enterprise gateway is used for internal communication, there are four defects of operation redundancy (7-11 long number needs to be dialed), centralized architecture dependence (high cost and single point failure caused by short number routing through external PBX / SIP server), resource waste (additional cost caused by cross-lan intercommunication bypassing public network) and insufficient flexibility (trouble of short number configuration).

[0036] In view of the above defects, the present application aims to provide a voice short number intercommunication system and method for the telephone under the enterprise gateway, by setting a short number for the telephone connected to the enterprise gateway device, when the gateway detects that the telephone dials the short number, internal intercommunication is realized, which greatly facilitates the use of the company, improves the communication efficiency of the enterprise, and reduces the communication cost.

[0037] Embodiment one

[0038] The embodiment provides a voice short number intercommunication method based on enterprise gateway, which is applied to the gateway with multiple telephones hung thereon, as shown in the figure. Figure 1 The method comprises the following steps.

[0039] S1, short number configuration process: a unique short number is configured for each telephone, and each short number is in a corresponding relationship with each telephone to form a short number list, as shown in the figure. Figure 2

[0040] ​S2, call control process: when detecting that the first phone dials a short number in the short number list, the second phone is matched according to the short number, and a ring signal is sent to the virtual voice port of the second phone; when detecting that the second phone is off-hook, the mapping relationship between the first phone and the second phone and the virtual voice port is modified, and the input stream of the virtual voice port of the first phone and the second phone is redirected, realizing the call between different phones under the same gateway; when detecting that the first phone or the second phone is on-hook, the default mapping relationship between the virtual voice port and the physical voice port of the first phone and the second phone is restored, and the input stream redirection of the virtual voice port is closed, as shown in Figure 3

[0041] The physical voice port refers to the physical interface of the entity with an identifier on the gateway device, which is connected to the phone device through a telephone line. The virtual voice port is a software-defined logical voice port, which is a logical endpoint for processing voice signaling and media stream inside the gateway. In the prior art, the two are one-to-one mapping. The embodiment of the application innovatively exchanges the mapping relationship of the call side and the called side voice port input, so that the called side voice port input is actually directed to the call side voice port input. In this way, the input of the virtual voice port of the call side and the called side is redirected to the output of the virtual voice port, so that the voice input of the call side is output in the called side, and the voice input of the called side is output in the call side, thereby realizing the two-way call without relying on an external voice server. The gateway device realizes the call between different phones under the same gateway by modifying the mapping relationship between the physical voice port and the virtual voice port and the virtual voice port redirection.

[0042] When the phone user dials a short number, the phone sends the dialed short number signal to the gateway device. After receiving the short number, the gateway device first analyzes the received signal and extracts the dialed short number information. Then, the gateway device queries the corresponding hanging phone device in the database. If the matching phone device is found, the gateway device directly establishes the communication link between the dialing phone and the called phone, realizes the internal call, and the voice data in the call process is forwarded and exchanged in real time through the gateway device, without passing through the external communication network, thereby improving the call quality and reducing the communication cost. By querying the short number mapping table, the call is accurately directed to the target phone, and the whole voice transmission is completed in the local area network. This not only guarantees the quality and stability of the call, but also realizes the efficiency and economy of the internal communication of the enterprise, and avoids the additional cost generated by the public network link when dialing between branches.

[0043] ​When an external incoming call accesses the enterprise gateway, the gateway device processes the incoming call according to the existing call rules of the enterprise, such as transferring the incoming call to a designated receiving phone or performing automatic voice response, which is consistent with the traditional incoming call processing mode and does not need to be specially changed.

[0044] Specifically, as shown in Figure 3 the call control process, the mapping relationship between the physical voice port of the first phone and the virtual voice port of the second phone is modified, specifically, the input of the physical voice port 1 of the first phone is mapped to the input of the virtual voice port 2 of the second phone, and the input of the physical voice port 2 of the second phone is mapped to the input of the virtual voice port 1 of the first phone. The redirection of the virtual voice ports of the first phone and the second phone is specifically to direct the input of the virtual voice port 1 of the first phone to the output of the virtual voice port 1 of the first phone, and to direct the input of the virtual voice port 2 of the second phone to the output of the virtual voice port 2 of the second phone.

[0045] The first phone is the phone that initiates the call (the calling side), and the second phone is the phone that is called by the first phone (the called side). The gateway can simultaneously perform the call control process of multiple first phones and their corresponding second phones. When inter-branch intercommunication occurs, as long as the phones of different branches are connected to the same gateway and short number configuration is performed, internal communication can be ensured to be processed and forwarded in the enterprise internal network, avoiding the participation of external servers, improving communication efficiency, reducing communication cost, and reducing the risk of single point failure.

[0046] In a specific embodiment, the execution process is as follows:

[0047] 1. Short number configuration

[0048] The system administrator sets a short number for each phone connected to the gateway through a computer connected to the gateway management page, and the short number and the phone are in a corresponding relationship, and these corresponding relationships are stored in the short number list database of the gateway device. The short number and the physical address or device identifier of the phone are in a corresponding relationship. According to the organizational structure and communication needs of the enterprise, the short number can be managed in groups, such as being divided according to departments, floors, etc., to facilitate subsequent call routing optimization and permission control. When modification is needed, it can be modified at any time through the gateway management page, and the gateway will synchronize the modification to the short number list database of the gateway device to achieve instant effect.

[0049] Each phone connected to the gateway is assigned a unique short number, and the short number and the physical address or device identifier of the phone are in a corresponding relationship through the management interface or configuration tool of the gateway device, and a short number mapping table is generated. This configuration mechanism can realize the quick association and identification of the phone device and the short number, and provide basic data support for subsequent internal call routing.

[0050] 2. Call ringing

[0051] When the calling side user dials a phone in the short number list on the handset, the call control module matches the number input by the user with the number in the single number list. If a match is found, the call control module finds the voice port to be dialed according to the correspondence between the short number list and the physical voice port, and sends a ringing signal to the corresponding voice port. Thus, the called handset starts to ring, as shown in Figure 4 .

[0052] 3. Call establishment

[0053] When the called side user picks up the handset to answer the call, the call control module detects the corresponding off-hook event, and then prepares to establish a voice call. The call is implemented without relying on an external voice server. The gateway device implements the call between different handsets under the same gateway by modifying the mapping relationship between the physical voice port and the virtual voice port and the redirection of the virtual voice port, as shown in Figure 5 . Since only the mapping and redirection need to be modified, there is almost no delay.

[0054] 4. Call termination

[0055] When one of the handsets hangs up, the call control module detects the corresponding on-hook event. Then, the call control module restores the original mapping relationship between the virtual voice port and the physical voice port on both sides of the call, and closes the redirection of the input stream of the virtual voice port on both sides. At this time, the call is terminated, and the user on the other side can no longer hear the voice of the other party. Finally, the call control module plays a hang-up tone to the user on the other side to prompt that the call has ended, and waits for the user on the other side to hang up. After the user on the other side also hangs up, the call is terminated, as shown in Figure 6 .

[0056] Based on the same inventive concept, the present application also provides a system corresponding to the method in Embodiment 1, which is described in detail in Embodiment 2.

[0057] Embodiment 2

[0058] In this embodiment, a voice short number inter-dialing system based on an enterprise gateway is provided, which includes a gateway and a plurality of handsets hung thereunder, as shown in Figure 7 . The gateway includes:

[0059] a short number configuration module configured to configure a unique short number for each handset, and establish a corresponding relationship between each short number and each handset to form a short number list;

[0060] The call control module is used for, when detecting that the first phone dials a short number in the short number list, matching the second phone in the short number list according to the short number, sending a ringing signal to the virtual voice port of the second phone, when detecting that the second phone is off-hook, modifying the mapping relationship between the physical voice port of the first phone and the virtual voice port and the mapping relationship between the physical voice port of the second phone and the virtual voice port and performing input stream redirection on the virtual voice port of the first phone and the virtual voice port of the second phone, realizing the call between different phones under the same gateway, and when detecting that the first phone or the second phone is on-hook, restoring the default mapping relationship between the virtual voice port and the physical voice port of the first phone and the second phone and closing the input stream redirection of the virtual voice port.

[0061] Specifically, in the call control module, the mapping relationship between the physical voice port of the first phone and the virtual voice port is modified by mapping the input of the physical voice port of the first phone to the input of the virtual voice port of the second phone and mapping the input of the physical voice port of the second phone to the input of the virtual voice port of the first phone.

[0062] Specifically, in the call control module, the virtual voice port of the first phone and the virtual voice port of the second phone are redirected by orienting the input of the virtual voice port of the first phone to the output of the virtual voice port of the first phone and orienting the input of the virtual voice port of the second phone to the output of the virtual voice port of the second phone.

[0063] Specifically, the short number configuration module is further used for setting and modifying the short number of each phone through a gateway management page, and the modified short number is synchronized to the short number list database in real time.

[0064] Since the system introduced in the second embodiment of the application is the system used for implementing the method of the first embodiment of the application, the specific structure and deformation of the system can be understood by those skilled in the art based on the method introduced in the first embodiment of the application, and thus will not be described here again. Any system used for the method of the first embodiment of the application belongs to the scope of the application.

[0065] Based on the same inventive concept, the present application provides a gateway corresponding to the first embodiment, which is described in detail in the third embodiment.

[0066] Embodiment three

[0067] The embodiment provides a gateway, which comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, and the processor can implement any of the embodiments of the first embodiment when executing the computer program.

[0068] Since the gateway described in the embodiment is the device used to implement the method in Embodiment One of the application, the specific implementation of the gateway of the embodiment and its various forms can be understood by those skilled in the art based on the method described in Embodiment One of the application, so the method of how the gateway implements the method in the embodiment of the application will not be described in detail here. As long as the gateway used to implement the method in the embodiment of the application is implemented by those skilled in the art, it belongs to the scope of the application.

[0069] Based on the same inventive concept, the application provides a storage medium corresponding to Embodiment One, which is described in detail in Embodiment Four.

[0070] Embodiment Four

[0071] The embodiment provides a computer readable storage medium, which stores a computer program. The computer program is executed by a processor, and can implement any of the embodiments in Embodiment One.

[0072] The embodiment of the application has at least the following technical effects:

[0073] 1. Based on the gateway, short number interdialing voice calls between the phones connected to the gateway can be realized, and there is no need to rely on external PBX / SIP servers to realize short number routing, thereby reducing the internal communication cost of an enterprise and improving the reliability.

[0074] 2. Real-time monitoring and local routing triggering: the gateway device monitors the dialing request in real time, and when it is detected that the dialed number matches the short number format, the local routing processing flow is triggered immediately. This technical point can ensure that the internal call is processed and forwarded in the enterprise internal network in priority, avoids the participation of external servers, improves the communication efficiency, reduces the communication cost, and reduces the risk of single point failure.

[0075] 3. Call orientation based on the mapping table and voice transmission in the local area network: the call is accurately oriented to the target phone by querying the short number mapping table, and the voice transmission is completed in the local area network throughout. This not only ensures the quality and stability of the call, but also realizes the efficiency and economy of the internal communication of the enterprise, and avoids the additional cost generated by the public network link when dialing between branches.

[0076] 4. Short number configuration and mapping mechanism: a unique short number is allocated to each phone connected to the gateway, and the short number is corresponded to the physical address or device identifier of the phone, and a short number mapping table is generated. This configuration mechanism can realize the quick association and identification of the phone device and the short number, provide basic data support for the subsequent internal call routing, and also can be conveniently managed through the management interface or configuration tool of the gateway device.

[0077] 5. The innovative short number dialing system and method provide an efficient, convenient, economical and stable solution for enterprise internal communication, and have significant technical advantages and practical application value.

[0078] Those skilled in the art will appreciate that embodiments of the application can be supplied as methods, systems, or computer program products. Accordingly, the application can be embodied in the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the application can be embodied in the form of a computer program product on one or more computer readable storage media (including, but not limited to, disk memory, CD-ROMs, optical storage media, etc.) having computer usable program code embodied therein.

[0079] The present application is described in reference to the flowchart and / or block diagrams of the method, apparatus (system) and computer program product according to embodiments of the present application. It should be understood that each flow and / or block in the flowchart and / or block diagram, as well as combinations of flows and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions, which are executed via the processor of the computer or other programmable data processing apparatus, create a means for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more flows and / or blocks Figure 1 means for functionally implementing the

[0080] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions means that implement the function specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more flows and / or blocks Figure 1 means for functionally implementing the

[0081] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process so that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart and / or block diagram block or blocks. Figure 1 one or more flows and / or blocks Figure 1 means for functionally implementing the

[0082] While the foregoing description has described specific embodiments of the application, one ordinary skill in the art will appreciate that various modifications and changes can be made thereto without departing from the spirit and scope of the application, as set forth in the appended claims.

Claims

1. A method for interworking voice short number based on enterprise gateway, characterized in that, The method is applied to a gateway with multiple phones hung thereunder, and comprises the following steps: a short number configuration process: a unique short number is configured for each phone, and a corresponding relationship is established between each short number and each phone to form a short number list; a call control process: when it is detected that a first phone dials a short number in the short number list, a second phone in the short number list is matched according to the short number, a ring signal is sent to a virtual voice port of the second phone, when it is detected that the second phone is off-hook, a mapping relationship between physical voice ports of the first phone and the second phone and virtual voice ports is modified, and input flow of the virtual voice ports of the first phone and the second phone is redirected, so that a call between different phones under the same gateway is realized, and when it is detected that the first phone or the second phone is on-hook, a default mapping relationship between virtual voice ports of the first phone and the second phone and physical voice ports is restored, and input flow redirection of the virtual voice ports is closed.

2. The method of claim 1, wherein: In the call control process, the mapping relationship between the physical voice ports of the first phone and the second phone and the virtual voice ports is modified by mapping input of the physical voice port of the first phone to input of the virtual voice port of the second phone and mapping input of the physical voice port of the second phone to input of the virtual voice port of the first phone.

3. The method of claim 1, wherein: In the call control process, the virtual voice ports of the first phone and the second phone are redirected by orienting input of the virtual voice port of the first phone to output of the virtual voice port of the first phone and orienting input of the virtual voice port of the second phone to output of the virtual voice port of the second phone.

4. The method of claim 1, wherein: The short number configuration process further comprises setting and modifying the short number of each phone through a gateway management page, and the modified short number is immediately synchronized to a short number list database.

5. A system for voice short number interworking based on enterprise gateway, characterized in that, The gateway comprises: a short number configuration module configured to configure a unique short number for each phone, and to establish a corresponding relationship between each short number and each phone to form a short number list; a call control module configured to, when it is detected that a first phone dials a short number in the short number list, match a second phone in the short number list according to the short number, send a ring signal to a virtual voice port of the second phone, when it is detected that the second phone is off-hook, modify a mapping relationship between physical voice ports of the first phone and the second phone and virtual voice ports, and redirect input flow of the virtual voice ports of the first phone and the second phone, so that a call between different phones under the same gateway is realized, and when it is detected that the first phone or the second phone is on-hook, restore a default mapping relationship between virtual voice ports of the first phone and the second phone and physical voice ports, and close input flow redirection of the virtual voice ports.

6. The system of claim 5, wherein: In the call control module, the mapping relationship between the physical voice ports of the first phone and the second phone and the virtual voice ports is modified by mapping input of the physical voice port of the first phone to input of the virtual voice port of the second phone and mapping input of the physical voice port of the second phone to input of the virtual voice port of the first phone.

7. The system of claim 5, wherein: The redirection of the virtual voice ports of the first phone and the second phone in the call control module is specifically redirection of the input of the virtual voice port of the first phone to the output of the virtual voice port of the first phone and redirection of the input of the virtual voice port of the second phone to the output of the virtual voice port of the second phone.

8. The system of claim 5, wherein: The short number configuration module is further configured to set and modify the short number of each phone through a gateway management page and to synchronize the modified short number to the short number list database in real time.

9. A gateway comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, The processor executes the program to implement the method in any one of claims 1 to 4.

10. A computer-readable storage medium having stored thereon a computer program, characterized in that, The program is executed by the processor to implement the method in any one of claims 1 to 4.