CN111083295A - Telephone communication method and equipment based on browser - Google Patents

Telephone communication method and equipment based on browser Download PDF

Info

Publication number
CN111083295A
CN111083295A CN201911420147.5A CN201911420147A CN111083295A CN 111083295 A CN111083295 A CN 111083295A CN 201911420147 A CN201911420147 A CN 201911420147A CN 111083295 A CN111083295 A CN 111083295A
Authority
CN
China
Prior art keywords
browser client
server
proxy server
data
called user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911420147.5A
Other languages
Chinese (zh)
Inventor
涂海
郭书伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Infobird Software Co Ltd
Original Assignee
Beijing Infobird Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Infobird Software Co Ltd filed Critical Beijing Infobird Software Co Ltd
Priority to CN201911420147.5A priority Critical patent/CN111083295A/en
Publication of CN111083295A publication Critical patent/CN111083295A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
    • H04M3/5166Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing in combination with interactive voice response systems or voice portals, e.g. as front-ends
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
    • H04M3/5183Call or contact centers with computer-telephony arrangements
    • H04M3/5191Call or contact centers with computer-telephony arrangements interacting with the Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/50Centralised arrangements for answering calls; Centralised arrangements for recording messages for absent or busy subscribers ; Centralised arrangements for recording messages
    • H04M3/51Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing
    • H04M3/523Centralised call answering arrangements requiring operator intervention, e.g. call or contact centers for telemarketing with call distribution or queueing

Abstract

The invention discloses a telephone communication method and equipment based on a browser. The method comprises the following steps: the ws server receives an outbound request sent by the browser client, forwards the outbound request to the proxy server, prepares to establish channel data according to the outbound request sent by the browser client, pushes the established channel data to the browser client through the ws server by a callback address so as to establish a communication channel by the browser client, and establishes voice connection with the voice gateway; the proxy server monitors the answering event of the called user terminal corresponding to the browser client and receives the triggering event of the voice gateway, and when the proxy server determines that the answering event of the called user terminal is received, the proxy server pushes the call establishment data to the browser client through the call-back address through the ws server so that the browser client can know the call data and can communicate with the called user.

Description

Telephone communication method and equipment based on browser
Technical Field
The invention relates to a telephone communication method based on a browser, and also relates to telephone communication equipment based on the browser, belonging to the technical field of computer telephone communication.
Background
The Call center is an operation site which can automatically and flexibly process a large number of different telephone incoming and outgoing Call services and services by fully utilizing modern communication and computer technologies, such as IVR (Interactive voice response system), ACD (Automatic Call Distribution system) and the like.
In the scenario of customer service call, the number of calls to be called out or answered is huge, and the customer service call also involves assisting the customer in handling related problems, and besides the call system, a matched telephone communication device is also required to process corresponding service data. The telephone calling system and the other telephone communication equipment can complete corresponding service processing only by matching the two sets of equipment, the required equipment cost is high, and the operation requiring manual access is more.
Disclosure of Invention
The invention aims to provide a telephone communication method based on a browser.
Another technical problem to be solved by the present invention is to provide a browser-based telephone communication device.
In order to achieve the purpose, the invention adopts the following technical scheme:
according to a first aspect of embodiments of the present invention, there is provided a browser-based telephone communication method, including the steps of: the ws server receives an outbound request sent by a browser client, forwards the outbound request to a proxy server, prepares to establish channel data according to the outbound request sent by the browser client, pushes the established channel data to the browser client through a callback address through the ws server so as to facilitate the browser client to establish a communication channel, and establishes voice connection with a voice gateway; the proxy server also monitors the answering event of the called user terminal corresponding to the browser client and receives the triggering event of the voice gateway, wherein the voice gateway is used for the voice data of the call between the browser client and the called user terminal; and when the proxy server determines to receive the answering event of the called user terminal, pushing call establishment data to the browser client through the ws server by the callback address so that the browser client can acquire the call data and communicate with the called user.
In some embodiments of the invention, the outbound request comprises: call type, token, outbound account number and number of called user terminal.
In some embodiments of the present invention, the preparing, by the proxy server, channel data to be established according to the outbound request sent by the browser client includes: and the proxy server informs a telephone traffic control center to start a conversation transaction, establish a conversation, inquire the area where the number of the called user terminal is located and distribute a communication line for the outbound call request according to the outbound call request.
In some embodiments of the invention, the method further comprises: and after the browser client establishes voice connection with the voice gateway, modifying the call state of the browser client page into dialing.
In some embodiments of the invention, the browser client and the voice gateway are based on the Webrtc protocol.
In some embodiments of the invention, the method further comprises: the ws server receives a hang-up request sent by the browser client and sends the hang-up request to the proxy server; the proxy server returns response data to the browser client for the on-hook request through the ws server, wherein the response data comprises: a call identifier, the equipment state of the browser client and the number of the called user terminal.
In some embodiments of the invention, the method further comprises: and after receiving the response data of the on-hook request, the browser client modifies the processing state in the browser page according to the equipment state in the response data, and disconnects the connection between the browser client and the voice gateway.
In some embodiments of the invention, the method further comprises: and the proxy server receives the hang-up event of the called user terminal, responds to the hang-up event of the called user terminal to generate hang-up data, and returns the hang-up data to the browser client through the ws server by a callback address, so that the browser client responds to the hang-up data, changes the page state of the browser client into waiting, and disconnects the connection with the voice gateway.
According to a second aspect of the embodiments of the present invention, there is provided a telephone communication device, including a ws server, a proxy server communicating with the ws server, and a gateway module communicating with the proxy server, wherein the ws server is configured to receive an outbound request sent by a browser client, forward the outbound request to the proxy server, and prepare to establish channel data according to the outbound request sent by the browser client, and push the establishment channel data to the browser client through a callback address via the ws server so that the browser client establishes a communication channel, and establish a voice connection with the gateway module; the proxy server is also configured to monitor an answering event of a called user terminal corresponding to the browser client and receive a triggering event of the gateway module, wherein the voice gateway is used for voice data of a call between the browser client and the called user terminal; and the proxy server is also configured to push call establishment data to the browser client through the ws server by a callback address when the answer event of the called user terminal is determined to be received, so that the browser client can acquire the call data and can communicate with the called user.
In some embodiments of the invention, the outbound request comprises: call type, token, outbound account number and number of called user terminal.
In some embodiments of the present invention, the preparing, by the proxy server, channel data to be established according to the outbound request sent by the browser client includes: and the proxy server informs a telephone traffic control center to start a conversation transaction, establish a conversation, inquire the area where the number of the called user terminal is located and distribute a communication line for the outbound call request according to the outbound call request.
In some embodiments of the invention, the browser client and the voice gateway are based on the Webrtc protocol.
In some embodiments of the present invention, the ws server is further configured to receive a hang-up request sent by the browser client, and send the hang-up request to the proxy server; the proxy server is further configured to return response data to the browser client via the ws server for the on-hook request, where the response data includes: a call identifier, the equipment state of the browser client and the number of the called user terminal.
In some embodiments of the present invention, the proxy server is further configured to receive a hang-up event of the called user terminal, generate hang-up data in response to the hang-up event of the called user terminal, and return the hang-up data to the browser client through the ws server by using a callback address, so that the browser client modifies a page state of the browser client to wait in response to the hang-up data, and disconnects the connection with the voice gateway.
Compared with the prior art, the telephone communication method based on the browser, which is provided by the invention, is based on the webrtc technology, the call signaling of the browser client is forwarded to the proxy server through the websocket service, and the voice stream coding and decoding are provided through the janus gateway service, so that the telephone service of the browser end is realized, the traditional telephone and computer are not required to be matched to realize the customer service, and the telephone traffic configuration cost is reduced; the call and the related service information are simultaneously displayed on the browser page, the contact person related information is popped up while the call is carried out, manual intervention of an agent user is not needed, and the agent user can carry out processing on the related service while the call is carried out; the telephone communication service based on the browser can be conveniently used on a personal computer and a mobile terminal, so that the service processing related to the telephone traffic can be carried out anytime and anywhere, and the flexibility of the telephone traffic service is greatly improved.
Drawings
Fig. 1 shows a flow diagram of a browser-based telephony communication method according to an embodiment of the present invention.
Fig. 2 illustrates a flow diagram of the timing of a browser-based agent client initiating an outbound call in accordance with an embodiment of the present invention.
FIG. 3 illustrates a screenshot of a browser-based business process, according to an embodiment of the invention.
Fig. 4 shows a flowchart of an active hang time procedure of a browser client according to an embodiment of the present invention.
FIG. 5 illustrates a page view of a browser client actively hanging up, according to an embodiment of the present invention.
Fig. 6 is a flow chart illustrating the timing of the called subscriber terminal actively hanging up according to an embodiment of the present invention.
FIG. 7 shows a schematic diagram of a computer architecture according to an embodiment of the invention.
Fig. 8 shows an architectural diagram of a system for browser-based telephony according to an embodiment of the present invention.
Detailed Description
The technical contents of the invention are described in detail below with reference to the accompanying drawings and specific embodiments.
It is noted that well-known modules, units and their mutual connections, links, communications or operations are not shown or described in detail. Also, the described features, architectures, or functions may be combined in any manner in one or more embodiments. It will be understood by those skilled in the art that the various embodiments described below are illustrative only and are not intended to limit the scope of the present invention. It will also be readily understood that the modules or units or processes of the embodiments described herein and illustrated in the figures can be combined and designed in a wide variety of different configurations.
Fig. 1 shows a flow diagram of a browser-based telephony communication method according to an embodiment of the present invention. The telephone communication method based on the browser provided by the embodiment of the invention can comprise the following steps: step S101, step S102, step S103, and step S104. In some embodiments of the present invention, other steps may be included in addition to S101 to S104 described above. The above steps are described below with reference to specific examples.
S101, the ws server receives an outbound request sent by the browser client and forwards the outbound request to the proxy server.
The ws server of the embodiment of the invention can be a wsserver, and the proxy server is an aproxy and is positioned at one side of the server. The server provides corresponding service for the browser client. A browser client is a client that can be installed in a terminal (e.g., a personal computer, laptop, etc.) of an agent or customer service, which is presented on a terminal device in the form of a browser interface. On the page of the browser client, there is a menu of functions that call out. And clicking an outbound menu on a page of the browser client by the agent, and assembling an outbound request at one side of the browser page. The outbound request may include: call type, token, outbound account number, number of called user terminal, etc.
In a specific embodiment, as shown in fig. 2, an agent client (e.g., a browser client of a personal terminal device installed in an agent) sends an outbound request to a wsserver on the server side, and sends the outbound request sent by the agent client side to a proxy server aproxy through a websocket service. The outbound request data initiated by the agent client may be:
{"type":"MakeCall","token":"151N18cB17cK16YJ1d_l1f5w19Et1bWb1agY16Yv14sR14sQ14wN149O141P14kV14kV1","account":"01@test.com","accountType":"1","caller":"","calledDevice":"15201131389","calledDeviceType":"0","callType":"0"}
the outbound request data may include: the calling type is type, token, calling account, calling type account, caller, called device type, calling type, etc. The specifications and data types of these parameters can be seen in table 1 below.
TABLE 1
Figure BDA0002352159700000051
Figure BDA0002352159700000061
And S102, the proxy server prepares to establish channel data according to the outbound request sent by the browser client, pushes the established channel data to the browser client through the callback address through the ws server so as to facilitate the browser client to establish a communication channel, and establishes voice connection with the voice gateway.
In a specific embodiment, as shown in fig. 2, the proxy server aproxy returns response data for the outbound request to the browser client via the wsserver, where the response data may be in the form of:
{"account":"01@test.com","accountType":"8573706","callID":"N5DD4269D02BB01660005654D","deviceState":"10","result":"0","type":"MakeCallConf","outdialIframeUrl":"https:\/\/webqtb.info bird.com?url=http:\/\/qitongbao-ceh.infobird.com\/customer\/po p\/?actiontype=OutDial&callid=N5DD4269D02BB01660005654D&caller id=01%40test.com&calleeid=15201131389&calltype=-1&uuid=-1&corp name=%E6%B5%8B%E8%AF%95%E4%BC%81%E4%B8%9A999&deptname=webrtc%E6%B5%8B%E8%AF%95","calledDevice":"15201131389","fd":"121473","status":"\u62e8\u53f7","pre_agent_state":"1","starttime":1576487128,"link_nums":1,"monitorfd":"121473"}
the response data returned to the browser client may include: the calling account number, the calling account number type, the call ID, the calling device status, the result, the type, the called device calleddevice, the fd of the browser page, and the like. The coding and the corresponding state of the device state device of the page on the client side of the browser can be referred to the following table 2.
TABLE 2
Name of current state of seat Status code
Is not logged in 0
Wait for 1
Small break 3
Communication system 4
Passive mat call 5
Processing before talking 6
Post-speech processing 7
Holding 8
Is held by 9
Communication system 10
Hold down dialing 11
Hold down call 12
After receiving the response data returned by the proxy server, the browser client updates the service processing state in the page according to the device state in the response data on the browser page, and simultaneously pops up a client information link related to the called user in the current browser page, as shown in fig. 3. In the page screenshot shown in fig. 3, the popup includes customer information, customer type, contact information, and the like. In the page shot shown in fig. 3, in addition to the pop-up screen, the related function options of the telephone communication, which may include dialing, vacation, processing, muting, and the like, called numbers, processing status, and the like, are presented at the top of the page. The switching of the device state of the agent's browser client page may be as shown in table 3. In the embodiment of the invention, the popup screen of the browser client pops up on the telephone call service interface of the original browser page when the call is established, so that manual intervention of an agent user is not required, and great convenience is brought to the agent user for processing related services while calling.
TABLE 3
Figure BDA0002352159700000071
Figure BDA0002352159700000081
Figure BDA0002352159700000091
The proxy server returns response data to the browser client, and establishes channel data according to the outbound condition in the outbound request. The seat calling-out condition means that the current time period can be called out and can be distributed to communication lines, and the conditions are controlled by the ACD. The proxy server Aproxy informs the traffic control center ACD to execute the following operations for the outbound request: opening a conversation transaction, establishing a conversation, inquiring a calling number area, distributing a communication line and the like.
After the proxy server aproxy correctly responds to the outbound command, the call control center ACD is requested to service the request channel resource, and response data are returned by initializing a callback address transmitted to the aproxy. It should be noted that the callback address is a callback address provided to the aproxy when the browser client page is logged in, and is used for the aproxy to actively send a message to the wsserver for service. Calling back identification after dialing successfully and establishing a channel: the Established, callback data format may be as follows:
{"account":"01@test.com","accountType":"1","answeringDevice":"93978170","answeringDeviceType":"2","callID":"N5DD4269D02BB016600055D23","deviceState":"10","gateway_audio_codec":"G711\/20","gateway_audio_ip":"219.234.83.35","gateway_audio_port":"7180","gateway_audio_protocol":"udp\/rtp","trans_server_ip":"","trans_server_port":"11886","type":"Established","status":"\u62e8\u53f7","pre_agent_state":"10","starttime":1576483232,"monitorfd":"121473"}。
and after the browser client establishes voice connection with the voice gateway, modifying the call state of the browser client page into dialing. Specifically, the front end of the browser receives the callback identifier and establishes a voice flow channel with the voice gateway, and the call state of the browser page is dialing. The establishment of the voice stream path may take the following code:
port ═ msg [ "trans _ server _ port" ]; // Voice over IP
audioIp [ "gateway _ audio _ ip" ]; // Voice Port
audioPort ═ msg [ "gateway _ audio _ port" ]; // supported voice transmission protocol
audio _ protocol ═ msg [ "gateway _ audio _ codec" ]; // supported speech coding
if (msg [ "monitorfd" ]) {// current connection pool, establish media stream channel, call microphone.
infobirdStartMedia(m_agent.webrtcgateway,msg["trans_server_port"],msg["gateway_audio_ip"],
msg["gateway_audio_port"],msg["gateway_audio_codec"],false);
}
The voice gateway provided by the embodiment of the invention can be based on a WebRTC protocol, for example, the voice gateway can be a janus voice gateway which provides voice stream coding and decoding and realizes browser-side telephone service. The embodiment of the invention adopts the janus gateway to carry out voice call on the browser page based on the WebRTC, and can realize the real-time communication of the webpage end without installing any plug-in.
And S103, the proxy server also monitors the answering event of the called user terminal corresponding to the browser client and also receives the triggering event of the voice gateway, wherein the voice gateway is used for voice data of the call between the browser client and the called user terminal.
The proxy server also monitors the answering event of the called user terminal corresponding to the browser client, and also monitors the connection of the voice gateway, that is, monitors whether the voice gateway (e.g., Janus gateway) has established a voice stream communication channel with the browser client. After the voice gateway establishes a voice connection with the browser client, the voice gateway sends a trigger event that the voice connection has been established to the proxy server, indicating to the proxy server that the voice gateway is capable of starting a voice stream data processing service.
In a specific embodiment, the voice gateway may process the voice request in the following form:
infobirdStartMedia(webrtcgateway,[..[]]);
webrtcgateway: and the voice gateway is connected with the infoBIrdacd telephone traffic platform to interact voice media stream data.
And S104, when the proxy server determines to receive the answering event of the called user terminal, pushing the call establishment data to the browser client through the ws server by the callback address so that the browser client can acquire the call data and can communicate with the called user.
And when determining that the answer event of the called user terminal is received, the proxy server pushes the call establishment data to the browser client through the call-back address via the wsserver server. On the browser client side, the equipment state of the browser client page is modified into a call, and meanwhile, related call data are obtained from the voice gateway, and the call data are sent to the voice gateway by the proxy server and are processed by the voice gateway.
On one side of the browser client, the agent establishes a communication channel with an infobirdacd telephone traffic center through the browser client based on a webrtc protocol, and calls a microphone of the client to carry out voice communication with a called user.
The above describes the relevant operations executed on the server side and the browser client side in the client outbound scenario with reference to specific examples, and the implementation method of the present invention also provides a communication method for the browser client to actively hang up. Specifically, the method can comprise the following steps: the ws server receives a hang-up request sent by the browser client and sends the hang-up request to the proxy server; the proxy server returns response data to the browser client for the on-hook request through the ws server, wherein the response data comprises: a call identifier, the equipment state of the browser client and the number of the called user terminal. And after receiving the response data of the on-hook request, the browser client modifies the processing state in the browser page according to the equipment state in the response data, and disconnects the connection between the browser client and the voice gateway. In a specific embodiment, as shown in fig. 4, the browser client (e.g., via the ACD) notifies the proxy server aproxy of the client hang event message via the wsserver, the proxy server aproxy generates response data based on the hang request, and the response data is pushed via the ws server. The on-hook request sent by the browser client on the agent side to the wsserver may be:
{"type":"DropCall","token":"151N18cB17cK16YJ1d_l1f5w19Et1b Wb1agY16Yv14sR14sQ14wN149O141P14kV14kV1","account":"01@test.com","callID":"N5DD4269D02BB016600055D23","accountType":"1"}
the onhook request forwarded by the wserver to the proxy server may be in the format described above.
After receiving the response data of the on-hook request, the browser client modifies the processing state in the browser page according to the device state in the response data (for example, modifies the processing state into a waiting state), and disconnects the connection between the browser client and the voice gateway. In a specific embodiment, the browser client side presents the page shown in fig. 5 in a scenario where the client is actively on-hook.
In some embodiments, when the browser client processes the response data, a ring tone may be played through the browser client to prompt the agent that the call is hung up.
In a specific embodiment, the ACD pushes a client off-hook event message to notify the proxy server aproxy, which pushes callback data. The user connects the callback identifier: established real, callback data format is as follows:
{"account":"01@test.com","callID":"N5DD4269D02BB01660005654D","type":"EstablishedReal","deviceState":"4","status":"\u901a\u8bdd","pre_agent_state":"10","starttime":1576487141}
the browser client can receive a hang-up button of a page clicked by an agent, actively sends a hang-up request to a ws server and then to a proxy server, the proxy server returns hang-up response data, and the response data returned to the front end of the browser by the proxy server can be in the following format:
{"account":"01@test.com","accountType":"0","callID":"N5DD4269D02BB016600055D23","result":"0","type":"DropCallConf","fd":"121473","deviceState":"1","status":"\u7b49\u5f85","pre_agent_state":"10","starttime":1576483240,"monitorfd":"121473"}
after the hang-up is successful, the front end of the browser interrupts the voice stream and plays the on-hook music, which may be a static resource.
The above embodiment describes a scenario in which the browser client actively hangs up, and the embodiment of the present invention further includes a processing operation of each main body in the scenario in which the called user terminal actively hangs up. In the scene of active on-hook of the called user terminal, the proxy server receives an on-hook event of the called user terminal, responds to the on-hook event of the called user terminal to generate on-hook data, and returns the on-hook data to the browser client through the ws server by the callback address, so that the browser client responds to the on-hook data, changes the page state of the browser client into waiting, and disconnects the connection with the voice gateway. In a specific embodiment, as shown in fig. 6, in the process that an agent user is in a call with a called user terminal through a browser client, a proxy server always monitors whether an on-hook event exists at the called user terminal (i.e., the user client), if the user client is on hook, the called user terminal notifies the proxy server of the on-hook event of the called user terminal, the proxy server pushes on-hook data to a wsserver through a callback address, the wsserver pushes the on-hook data to the agent client, and the browser client of the agent makes a response to the on-hook data, which specifically includes disconnecting a voice connection with a janus voice gateway and modifying a device state view of a browser client page, for example, modifying a wait state and stopping a media streaming connection. In the called user terminal hang-up scenario, the callback data may be in the following format:
{"account":"02@test.com","accountType":"1","callID":"N5DD4269D02BB016600056AAD","cause":"","deviceState":"10","releasing Device":"93978178","releasingDeviceType":"-1","type":"CallRele ased","status":"\u7b49\u5f85","pre_agent_state":"10","starttime":1576490902,"monitorfd":"130031"}
the user hang-up callback identifier may set the seat state for the callleased user to hang up as waiting. And the user hangs up and closes the webrtc-based voice stream channel with the janus gateway.
The embodiment of the invention also provides a telephone communication device. As shown in fig. 7, the telephone communication device 700 includes a wsserver701, a proxy server 702 communicating with the wsserver, and a gateway module 703 communicating with the proxy server, wherein the ws server is configured to receive an outbound request sent by a browser client, forward the outbound request to the proxy server, and prepare to establish channel data according to the outbound request sent by the browser client, push the establishment channel data to the browser client through a callback address via the ws server so that the browser client establishes a communication channel, and establish a voice connection with the gateway module; the proxy server is also configured to monitor an answering event of a called user terminal corresponding to the browser client and receive a triggering event of the gateway module, wherein the voice gateway is used for voice data of a call between the browser client and the called user terminal; and the proxy server is also configured to push call establishment data to the browser client through the ws server by a callback address when the answer event of the called user terminal is determined to be received, so that the browser client can acquire the call data and can communicate with the called user. The wsserver in the embodiment of the invention can be a server, or a distributed computer cluster system consisting of a plurality of servers can provide services for the outside. The proxy server may also be a server or a distributed computer cluster system of multiple servers. The gateway module may be a janus gateway based on the WebRTC protocol. These servers are configured with a memory having stored thereon computer instructions and a processor configured to execute the computer instructions to cause the servers to perform corresponding functions.
In some embodiments of the invention, the outbound request comprises: call type, token, outbound account number and number of called user terminal.
In some embodiments of the present invention, the preparing, by the proxy server, channel data to be established according to the outbound request sent by the browser client includes: and the proxy server informs a telephone traffic control center to start a conversation transaction, establish a conversation, inquire the area where the number of the called user terminal is located and distribute a communication line for the outbound call request according to the outbound call request.
In some embodiments of the invention, the browser client and the voice gateway are based on the Webrtc protocol.
In some embodiments of the present invention, the ws server is further configured to receive a hang-up request sent by the browser client, and send the hang-up request to the proxy server; the proxy server is further configured to return response data to the browser client via the ws server for the on-hook request, where the response data includes: a call identifier, the equipment state of the browser client and the number of the called user terminal.
In some embodiments of the present invention, the proxy server is further configured to receive a hang-up event of the called user terminal, generate hang-up data in response to the hang-up event of the called user terminal, and return the hang-up data to the browser client through the ws server by using a callback address, so that the browser client modifies a page state of the browser client to wait in response to the hang-up data, and disconnects the connection with the voice gateway.
The operations that the wsserver, the proxy server and the gateway in the telephone communication device according to the embodiment of the present invention need to perform may refer to the description above with reference to fig. 1 to 6, and are not described again here.
The embodiment of the invention also provides a system for telephone communication based on the browser. As shown in fig. 8, the system 800 may include a wsserver801, a proxy server 802, a gateway module 803, and a browser client 804, where the wsserver801, the proxy server 802, and the gateway module 804 together provide the browser client 804 with the associated servers for telephony real-time communications, as described above in conjunction with fig. 1-6.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention can be implemented by combining software and a hardware platform. Based on such understanding, all or part of the technical solutions of the present invention contributing to the background may be embodied in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a telephone communication device (which may be a personal computer, a server, a smart phone, a network device, etc.) to execute the telephone communication method according to the embodiments or some parts of the embodiments of the present invention.
It should be noted that the above-described embodiments are only a part, not all, of the embodiments of the present invention. The various embodiments described above may be combined in various ways as desired. The terms and expressions used in the specification of the present invention are used as terms of illustration only and are not intended to limit the claims of the present invention.
It will be appreciated by those skilled in the art that changes could be made to the details of the above-described embodiments without departing from the underlying principles thereof. The scope of the invention is, therefore, indicated by the appended claims, in which all terms are intended to be interpreted in their broadest reasonable sense unless otherwise indicated.
It will be apparent to those skilled in the art that any obvious modifications thereof can be made without departing from the spirit of the invention, which infringes the patent right of the invention and bears the corresponding legal responsibility.

Claims (10)

1. A browser-based telephony communication method, comprising the steps of:
the ws server receives the outbound request sent by the browser client, forwards the outbound request to the proxy server,
the proxy server prepares to establish channel data according to an outbound request sent by the browser client, pushes the established channel data to the browser client through a ws server by a callback address so as to facilitate the browser client to establish a communication channel and establish voice connection with a voice gateway;
the proxy server also monitors the answering event of the called user terminal corresponding to the browser client and receives the triggering event of the voice gateway, wherein the voice gateway is used for the voice data of the call between the browser client and the called user terminal;
and when the proxy server determines to receive the answering event of the called user terminal, pushing call establishment data to the browser client through the ws server by the callback address so that the browser client can acquire the call data and communicate with the called user.
2. The telephony communication method of claim 1, wherein the outbound request comprises: call type, token, outbound account number and number of called user terminal.
3. The telephony communication method of claim 2, wherein the proxy server preparing set-up channel data based on the outbound request sent by the browser client comprises:
and the proxy server informs a telephone traffic control center to start a conversation transaction, establish a conversation, inquire the area where the number of the called user terminal is located and distribute a communication line for the outbound call request according to the outbound call request.
4. A telephone communication method according to any one of claims 1 to 3, further comprising:
and after the browser client establishes voice connection with the voice gateway, modifying the call state of the browser client page into dialing.
5. A telephone communication method according to any one of claims 1 to 3, wherein:
the browser client and the voice gateway are based on a Webrtc protocol.
6. A telephone communication method according to any one of claims 1 to 3, further comprising:
the ws server receives a hang-up request sent by the browser client and sends the hang-up request to the proxy server;
the proxy server returns response data to the browser client for the on-hook request through the ws server, wherein the response data comprises: a call identifier, the equipment state of the browser client and the number of the called user terminal.
7. The telephone communication method of claim 6, further comprising:
and after receiving the response data of the on-hook request, the browser client modifies the processing state in the browser page according to the equipment state in the response data, and disconnects the connection between the browser client and the voice gateway.
8. The telephony communication method of claim 5, further comprising:
and the proxy server receives the hang-up event of the called user terminal, responds to the hang-up event of the called user terminal to generate hang-up data, and returns the hang-up data to the browser client through the ws server by a callback address, so that the browser client responds to the hang-up data, changes the page state of the browser client into waiting, and disconnects the connection with the voice gateway.
9. A telephony communication device comprising a ws server, a proxy server in communication with said ws server, and a gateway module in communication with said proxy server, characterized by:
the ws server is configured to receive the outbound request sent by the browser client, forward the outbound request to the management server,
the proxy server is configured to prepare for establishing channel data according to the outbound request sent by the browser client, push the established channel data to the browser client through the ws server by the callback address so as to facilitate the browser client to establish a communication channel, and establish voice connection with the gateway module;
the proxy server is also configured to monitor an answering event of a called user terminal corresponding to the browser client and receive a triggering event of the gateway module, wherein the voice gateway is used for voice data of a call between the browser client and the called user terminal;
and the proxy server is also configured to push call establishment data to the browser client through the ws server by a callback address when the answer event of the called user terminal is determined to be received, so that the browser client can acquire the call data and can communicate with the called user.
10. The telephony communication device of claim 9, wherein:
the ws server is also configured to receive a hang-up request sent by the browser client and send the hang-up request to the proxy server;
the proxy server is further configured to return response data to the browser client via the ws server for the on-hook request, where the response data includes: a call identifier, the equipment state of the browser client and the number of the called user terminal.
CN201911420147.5A 2019-12-31 2019-12-31 Telephone communication method and equipment based on browser Pending CN111083295A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911420147.5A CN111083295A (en) 2019-12-31 2019-12-31 Telephone communication method and equipment based on browser

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911420147.5A CN111083295A (en) 2019-12-31 2019-12-31 Telephone communication method and equipment based on browser

Publications (1)

Publication Number Publication Date
CN111083295A true CN111083295A (en) 2020-04-28

Family

ID=70321250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911420147.5A Pending CN111083295A (en) 2019-12-31 2019-12-31 Telephone communication method and equipment based on browser

Country Status (1)

Country Link
CN (1) CN111083295A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822169A (en) * 2020-12-30 2021-05-18 上海浦东发展银行股份有限公司 Integration system and method suitable for seat Web telephone application system
CN113923306A (en) * 2021-10-13 2022-01-11 上海淇馥信息技术有限公司 Internet online voice communication method and device and electronic equipment

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112822169A (en) * 2020-12-30 2021-05-18 上海浦东发展银行股份有限公司 Integration system and method suitable for seat Web telephone application system
CN112822169B (en) * 2020-12-30 2023-02-07 上海浦东发展银行股份有限公司 Integration system and method suitable for seat Web telephone application system
CN113923306A (en) * 2021-10-13 2022-01-11 上海淇馥信息技术有限公司 Internet online voice communication method and device and electronic equipment
CN113923306B (en) * 2021-10-13 2023-10-20 上海淇馥信息技术有限公司 Internet online voice communication method and device and electronic equipment

Similar Documents

Publication Publication Date Title
EP2067346B1 (en) Methods, systems, and computer program products for flexible call jumping
US8953769B2 (en) Calling party controlled ringback tones
EP1175074A2 (en) IP-based Interactive Voice Response system for servicing calls from a PSTN
EP2150013A1 (en) System, equipment and method for implementing special calling services
JP2001326737A (en) Message monitoring application and performance
EP1619865B1 (en) Methods and apparatus for accomplishing call-state synchronization and event notification between multiple private branch exchanges
JPH11506292A (en) Voice Call Notification and Message Control by Data Path
US20080317234A1 (en) System and Method for Avoiding Hold Times on a Telephone Call
EP1677503A1 (en) Audible calling party identification for a call waiting service
CN111083295A (en) Telephone communication method and equipment based on browser
KR20220055409A (en) Method for processing outbound call based ringback tone analysis, outbound server providing the method
US8194843B2 (en) Method and apparatus for busy override in an internet protocol-based telephone system
EP2093987A1 (en) Method, device and system for controlling mobile terminal to transfer call
US7187762B2 (en) Conferencing additional callers into an established voice browsing session
US6724886B1 (en) System and method for assuring connection of TTY telephone calls to a call center
CN111711726A (en) Method and system for realizing automatic voice notification based on analog telephone
CN101027917A (en) Intellight network mode personized ring back tone calling protection method and device
US8837459B2 (en) Method and apparatus for providing asynchronous audio messaging
CN106658435B (en) Early media playback method, network system and terminal
CN103095936A (en) Controlling method and controlling device and calling system for customer service representative callings
KR100640289B1 (en) Method of internet protocol terminals for providing a plurality of call services and ip terminals enabling the method
US7599357B1 (en) Method and apparatus for detecting and correcting electrical interference in a conference call
US11470673B2 (en) Method and system for detecting interruption of communications and for automatically re-establishing the communications
EP2166789A1 (en) Emergency call alert
US9667785B2 (en) System and method for preserving call language settings for session initiation protocol diverted calls

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Huang Qihui

Inventor after: Tu Hai

Inventor after: Guo Shuwei

Inventor before: Tu Hai

Inventor before: Guo Shuwei

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination