[go: up one dir, main page]

CN103442150A - Conversation method and system based on VOIP voice gateway and VOIP voice gateway - Google Patents

Conversation method and system based on VOIP voice gateway and VOIP voice gateway Download PDF

Info

Publication number
CN103442150A
CN103442150A CN2013103808769A CN201310380876A CN103442150A CN 103442150 A CN103442150 A CN 103442150A CN 2013103808769 A CN2013103808769 A CN 2013103808769A CN 201310380876 A CN201310380876 A CN 201310380876A CN 103442150 A CN103442150 A CN 103442150A
Authority
CN
China
Prior art keywords
terminal
voip
user
voip voice
voice gateway
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.)
Granted
Application number
CN2013103808769A
Other languages
Chinese (zh)
Other versions
CN103442150B (en
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.)
Shenzhen Hongdian Technologies Corp
Original Assignee
Shenzhen Hongdian Technologies Corp
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 Shenzhen Hongdian Technologies Corp filed Critical Shenzhen Hongdian Technologies Corp
Priority to CN201310380876.9A priority Critical patent/CN103442150B/en
Publication of CN103442150A publication Critical patent/CN103442150A/en
Application granted granted Critical
Publication of CN103442150B publication Critical patent/CN103442150B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种基于VOIP语音网关的通话方法、系统及该网关,接收获到到终端的VOIP语音电话请求报文,判断终端的用户请求类型,若判断为匿名用户,则修改请求报文,增加该VOIP语音网关的识别标识,发送修改后的请求报文给VOIP服务器,判断终端是否为随机用户,若判断为随机用户则VOIP服务器根据随机用户的用户权限,生成账户信息,将账户信息和对应于该用户权限的列表信息返回给该VOIP语音网关;VOIP语音网关将VOIP服务器返回的账户信息和对应的列表信息返回给客户端;上述的基于VOIP语音网关的通话方法、系统及VOIP语音网关,用户无需记住任何任何参数或信息,即可通过VOIP语音网关向VOIP服务器获取相应的账户信息及列表信息,并可根据获取的账户信息及列表信息拨打电话,实现通话,方便用户使用。

A call method and system based on a VOIP voice gateway, and the gateway, receiving a VOIP voice call request message obtained from a terminal, judging the user request type of the terminal, and modifying the request message if it is judged to be an anonymous user, and adding the VOIP The identification mark of the voice gateway, send the modified request message to the VOIP server, and judge whether the terminal is a random user. If it is judged as a random user, the VOIP server generates account information according to the user authority of the random user, and compares the account information with the corresponding The list information of user rights is returned to the VOIP voice gateway; the VOIP voice gateway returns the account information and the corresponding list information returned by the VOIP server to the client; the above-mentioned call method, system and VOIP voice gateway based on the VOIP voice gateway do not need to Remember any parameters or information, you can obtain the corresponding account information and list information from the VOIP server through the VOIP voice gateway, and make a call according to the obtained account information and list information to realize the call, which is convenient for users.

Description

Call method based on the VOIP voice gateways, system and this gateway
Technical field
The present invention relates to a kind of networking telephone, particularly relate to a kind of call method based on the VOIP voice gateways and system, and these VOIP voice gateways.
Background technology
What when people call at present, use is the mobile communications network of three large operators foundation or the PSTN network of telecommunications, and the communication costs such as various Monthly Fees, toll fee, roaming charges are high.The networking telephone based on the VOIP technology pays the cost of the phone call of great number without the user, more removed roaming charges/toll fee etc. from.
Along with the continuous speed-raising of 3G/4G wireless network, the continuous of WIFI technology popularized, and the wireless communication technology based on the VOIP technology is also popularized rapidly.Enterprise, by building the VOIP system of oneself, can reduce communication cost greatly.
Existing VOIP generally comprises: the soft phone of VOIP voice gateways and VOIP.The VOIP voice gateways provide limited physics RJ11 plain old telephone interface, and the soft phone of VOIP can use on PC or mobile-terminal platform.
In general often combine both when disposing the VOIP system and realize, but that existing VOIP system is used is not too convenient, the VOIP voice gateways generally only provide the plain old telephone of a small amount of RJ11 interface, and layout is very inconvenient; Can expand the scope of application by the soft phone of VOIP, but, concerning the general user, use procedure is still too loaded down with trivial details, the user often needs sip server, user name, password etc. parameter is set, and also needs to remember the other side's number when making a phone call.
Summary of the invention
Based on this, be necessary to provide a kind of accounts information and the call method based on VOIP voice gateways of list to be user-friendly to that can obtain the VOIP conversation.
Simultaneously, provide a kind of accounts information and the phone system based on VOIP voice gateways of list to be user-friendly to that can obtain the VOIP conversation.
A kind of accounts information and the VOIP voice gateways of list to be user-friendly to that can obtain the VOIP conversation also are provided.
A kind of call method based on the VOIP voice gateways, comprise the steps:
Receive request: receive the VOIP voice call request message that obtains terminal,
User's judgement: judge user's request type of terminal according to the request message of terminal,
If the judgement terminal is anonymous,
Revise message: revise request message, increase the identification marking of these VOIP voice gateways, send amended request message to the VOIP server,
Random account judgement: judge whether terminal is random user,
If be judged as random user
The VOIP server returns: the VOIP server is according to the user right of random user, generates accounts information, by accounts information with corresponding to the list information of this user right, returns to this VOIP voice gateways;
The VOIP voice gateways are returned: the accounts information that the VOIP voice gateways are returned to the VOIP server and corresponding list information return to client.
In a preferred embodiment, described random account judgement also comprises: the identity information that judges whether to receive terminal;
If do not receive, the judgement terminal is random user;
If receive and carry out
Identity judgement: search the accounts information of corresponding terminal according to the identity information of terminal, and judge that whether this terminal is registered, if judge, whether this terminal is registered, according to the authority of the accounts information of terminal, returns to corresponding accounts information and list information; If unregistered, be judged as random account.
In a preferred embodiment, if being used anonymous to send request acquiescence, terminal sends request the voice gateways to VOIP, the address that the Server Default in request message is these VOIP voice gateways;
Described modification message also comprises: inquiry is arranged on the address of the VOIP server of these VOIP voice gateways, revises request message, records source IP and the transmit port of terminal.
In a preferred embodiment, described VOIP server also returns and comprises: upgrade the user list state according to the address of VOIP voice gateways and the terminal that is connected to the VOIP voice gateways, identifying user, generate returned packet, sends to the VOIP voice gateways,
The VOIP voice gateways are received returned packet, and returned packet is transmitted to terminal;
Terminal is according to accounts information and the VOIP server address Information generation standard request information of returned packet;
The described list corresponding to random user is the local user's list that is connected to same VOIP voice gateways.
In a preferred embodiment, also comprise:
The online request of receiving terminal,
Judge that terminal is whether in register list,
If judgement, not in register list, pushes the VOIP voice call page or dialog box to terminal;
If receive the solicited message of terminal, be standard VOIP voice call information, the SIP of operative norm is mutual;
If receiving the solicited message of terminal is the anonymous solicited message, revises request message, and record the source IP of terminal and the VOIP signaling port of acquiescence in the VOIP signaling.
A kind of phone system based on the VOIP voice gateways comprises:
The VOIP voice gateways comprise:
Receive request module: receive the VOIP voice call solicited message of obtaining terminal,
User's judge module: judge user's request type of terminal according to the solicited message of terminal,
If the judgement terminal is anonymous, be connected to
Revise the message module: revise the request message of terminal transmission, increase the identification marking of these VOIP voice gateways, send amended request message to the VOIP server,
The VOIP server comprises:
Random account judge module: judge whether terminal is random user,
If being judged as random user is connected to
The VOIP server returns to module: the VOIP server is according to the user right of random user, generates accounts information, by accounts information with corresponding to the list information of this user right, returns to this VOIP voice gateways;
The VOIP voice gateways also comprise:
The VOIP voice gateways are returned to module: the list information of the accounts information of the random user that the VOIP server is transmitted and respective user authority returns to client.
In a preferred embodiment, described random account judge module also comprises:
Identity judging unit: the identity information that judges whether to receive terminal;
If do not receive, the judgement terminal is random user;
If receive and be connected to
Registration judging unit: search the accounts information of corresponding terminal according to the identity information of terminal, and judge that whether this terminal is registered, if unregistered, be judged as random account;
If judge, this terminal is registered, and according to terminal, corresponding user right returns to corresponding accounts information and list information; If unregistered, be judged as random account.
In a preferred embodiment, if being used anonymous to send request acquiescence, terminal sends request the voice gateways to VOIP, the address that the Server Default in request message is these VOIP voice gateways;
Described modification message module also comprises: inquiry is arranged on the address of the VOIP server of these VOIP voice gateways, revises request message, records source IP and the transmit port of terminal.
In a preferred embodiment, described VOIP server returns to module and also comprises: upgrade the user list state according to the address of VOIP voice gateways and the terminal that is connected to these VOIP voice gateways, identifying user, generate returned packet, sends to the VOIP voice gateways,
The VOIP voice gateways are received returned packet, and returned packet is transmitted to terminal;
Terminal, according to accounts information and the VOIP server address information of returned packet, is resolved the standard request information that generates;
The described list corresponding to random user is the local user's list that is connected to same VOIP voice gateways.
A kind of VOIP voice gateways comprise:
Receive request module: receive the VOIP voice call solicited message of obtaining terminal,
User's judge module: judge user's request type of terminal according to the solicited message of terminal,
If the judgement terminal is anonymous, be connected to
Revise the message module: revise the request message of terminal transmission, increase the identification marking of these VOIP voice gateways, send amended request message to the VOIP server,
The VOIP voice gateways are returned to module: receive the VOIP server and generate accounts information and, to list information that should user right, return to client according to the user right of terminal.
The above-mentioned call method based on the VOIP voice gateways, system and VOIP voice gateways, the user is without remembeing any parameter or information, can obtain corresponding accounts information and list information to the VOIP server by the VOIP voice gateways, and can call according to the accounts information obtained and list information, realize conversation, be user-friendly to; In conjunction with the function of VOIP voice gateways and the soft phone of VOIP, allow the user when using the soft phone of VOIP without too much setting, the accounts information can automatic acquisition needed to VOIP and user's list information, more convenient to use, more easily deployment.
The accompanying drawing explanation
The schematic flow sheet of the call method based on the VOIP voice gateways that Fig. 1 is one embodiment of the invention;
The schematic flow sheet of the call method based on the VOIP voice gateways that Fig. 2 is another preferred embodiment of the present invention;
The schematic flow sheet of the call method based on the VOIP voice gateways that Fig. 3 is further embodiment of this invention;
Fig. 4 be one embodiment of the invention realize the functional block diagram schematic diagram of phone system based on the VOIP voice gateways;
The functional block diagram schematic diagram of the phone system based on the VOIP voice gateways that Fig. 5 is another preferred embodiment of the present invention;
The functional block diagram schematic diagram of the VOIP voice gateways that Fig. 6 is one embodiment of the invention.
Embodiment
As shown in Figure 1, one embodiment of the invention realize call method based on VOIP (the Voice over Internet Protocol networking telephone) voice gateways, comprise the steps:
The VOIP voice gateways are carried out
Step S101 receives request: receive the VOIP voice call request message that obtains terminal;
Step S103, user's judgement: the user's request type that judges terminal according to the request message of terminal;
If the judgement terminal is anonymous,
Step S105, revise message: revise request message, increase the identification marking of these VOIP voice gateways, send amended request message to the VOIP server;
VOIP server 40 is carried out
Step S107, random account judgement: judge whether terminal is random user,
If be judged as random user
Step S109, the VOIP server returns: the VOIP server is according to the random user rights of using, generates accounts information, by accounts information with corresponding to the list information of random user authority, returns to this VOIP voice gateways;
The VOIP voice gateways are carried out
Step S111, the VOIP voice gateways are returned: the accounts information that the VOIP voice gateways are returned to the VOIP server and corresponding list information return to client.
As shown in Fig. 1 and 2, further, the step S107 of the present embodiment, random account judgement also comprises:
Step S108, identity judgement: the identity information that judges whether to receive terminal;
If do not receive, the judgement terminal is random user;
If receive and carry out
Step S112, registration judgement: search the accounts information of corresponding terminal according to the identity information of terminal, and judge that whether this terminal is registered, if unregistered, be judged as random account; If judge, this terminal is registered, according to the authority of the accounts information of terminal, returns to corresponding accounts information and list information.Wherein, VOIP server 40 returns to corresponding accounts information and list information to VOIP voice gateways 20 according to the authority of the accounts information of terminal; The accounts information that the VOIP voice gateways are returned to the VOIP server and corresponding list information return to client.
Further, in the present embodiment, if being used anonymous to send request acquiescence, terminal 60 sends request to VOIP voice gateways 20 address that the VOIP Server Default in request message is these VOIP voice gateways.
Preferably, as worked as terminal 60 in requests for page, when the input message of corresponding account name and password all is Guest, be judged as anonymous.Certainly solicited message also is not limited to this, and when terminal, in requests for page, its solicited message is not the SIP communicating request information of standard, can think anonymous.
Further, the step S105 of the present embodiment, revise message and also comprise: inquiry is arranged on the address of the VOIP server of these VOIP voice gateways, revises request message, records source IP and the transmit port of terminal.
Further, the step S109 of the present embodiment, the VOIP server also returns and comprises: upgrade the user list state according to the address of VOIP voice gateways and the terminal that is connected to these VOIP voice gateways, identifying user, generate returned packet, sends to the VOIP voice gateways.Wherein, identifying user mainly carries out class indication according to user's type of service, as the user is identified for the local user.The local user is the random user terminal that is connected to the VOIP voice gateways, and rights of using can be set in all terminals that are connected on these VOIP voice gateways.
Further, the VOIP voice gateways 20 of the present embodiment are received the returned packet of VOIP server 40, and returned packet is transmitted to terminal 60.Terminal 60 generates standard request information according to accounts information and VOIP server 40 address informations of returned packet; It is mutual that terminal 60 can be carried out the SIP of standard by input standard request information.
Further, the list corresponding to random user of the present embodiment is the local user's list that is connected to same VOIP voice gateways.
One embodiment of the invention realize call method based on VOIP (the Voice over Internet Protocol networking telephone) voice gateways, also comprise:
VOIP voice gateways 20
The online request of receiving terminal 60; Obtain IP and send the online request as terminal is connected to the VOIP voice gateways by WIFI etc.The IP that terminal is obtained is the IP in the local area network (LAN) that the VOIP voice gateways arrange.
Judge that terminal is whether in register list;
If judgement, not in register list, pushes the VOIP voice call page or dialog box to terminal; As login or First Contact Connections for the first time to the terminal of these VOIP voice gateways, or the terminal that again is connected to these VOIP voice gateways after the setting-up time of interval.
If receive the solicited message of terminal, be standard VOIP voice call solicited message, the SIP of operative norm is mutual;
If receiving the solicited message of terminal is the anonymous solicited message, revises request message, and record the source IP of terminal and the VOIP signaling port of acquiescence in the VOIP signaling.When terminal adopts anonymous to be asked, transmit port is the VOIP signaling port (this port can maybe need to be arranged according to actual requirement) of acquiescence.
The present embodiment realize call method, the protocol stack based on standard Session Initiation Protocol stack and expansion thereof based on VOIP (the Voice over Internet Protocol networking telephone) voice gateways.Be mainly concerned with the parts such as the soft phone of VOIP, VOIP voice gateways, VOIP server.
The VOIP server of the present embodiment: mainly comprise the registration management of VOIP and the function of call manager, and support user list, the generation random user account obtained of the present invention.
The VOIP voice gateways of the present embodiment, for supporting the VOIP voice gateway router of Session Initiation Protocol stack, support the VOIP signaling to forward, and at least one uplink network communication modes such as WIFI is provided.
Terminal can be the VOIP calling customer terminal based on the Android/IOS mobile terminal, supports the Session Initiation Protocol stack of standard, the VOIP-SIP server of compatible main flow.By being connected to VOIP voice gateways of the present invention, realize automatic acquisition and the user list automatic acquisition of SIP account/password.Can be also the PC network phone: run on the VOIP networking telephone client on PC, support the Session Initiation Protocol stack of standard.Can be also common phone: by the RJ11 mouth, directly receive the ordinary telephone set on the VOIP voice gateways.
As shown in Figure 3, the another preferred embodiment of the present invention realize call method based on VOIP (the Voice over Internet Protocol networking telephone) voice gateways, comprising:
Step S501, terminal is connected to the VOIP voice gateways by modes such as WIFI and gets IP (agreement interconnected between Internet Protocol network), to be surfed the Net.
VOIP voice gateways 20 judge that terminal 60 is whether in register list, and according to whether determining whether to push the VOIP voice call page or dialog box to terminal in register list.
Step S505, terminal can open the soft phone of VOIP or the VOIP voice call page pushed in the VOIP voice gateways or dialog box on carry out, if the user inputs the isoparametric standard request information of sip server, SIP account, SIP password of standard, the SIP interaction flow of Application standard, this reciprocal process adopts existing network phone request interaction flow to realize, does not repeat them here; If the user does not input SIP information or parameter, it is anonymous account, give tacit consent to the VOIP voice gateways of connection and send the i.e. anonymous voice call request message that sends of registration request, the address that now server of this request message is the VOIP voice gateways, account name and password can be given tacit consent to employing Guest.
Preferably, in request message, also can add the sign that can identify this terminal, be convenient to sip server and be assigned to applicable SIP account to terminal; Terminal sends request the VOIP signaling side slogan (this port numbers can arrange as required) that the port numbers of message is acquiescence.
Step S507, the VOIP voice gateways receive the request message that mails to this gateway address, and the account name and the password that receive are Guest, inquiry is arranged on the address of SIP account server in the VOIP server 40 of these VOIP voice gateways or VOIP server, revise request message, and record source IP and the transmit port of terminal in the route of the VOIP signaling in request message, and increase the sign of identifying these VOIP voice gateways in request message, amended request message is transmitted to VOIP server 40.
Step S509, the VOIP server receives that account name/password is the request message of Guest, according to the terminal iidentification in message, the user right set, generation accounts information, according to the address of VOIP voice gateways, upgrade the user list state, which identifies for the local user, generate returned packet, send to the VOIP voice gateways.If in the request message that the VOIP server receives or request, the phone number of the identity information of terminal as user's input arranged, whether the identity information that judges this terminal is as registered as the phone number of user's input, if registered, according to the identity information of this terminal, the user right of corresponding account returns to accounts information and reaches the user list corresponding to this user right.If unregistered, be judged as random user, according to the authority of random user, generate accounts information, the list of the accounts information of generation and corresponding random user authority is returned to VOIP voice gateways 20.
Step S511, the VOIP voice gateways are received returned packet, and the judgement message is to need oneself to forward, and then forwarding the packet to the purpose terminal is the soft phone of SIP.
Terminal is that the soft phone of SIP is received returned packet, the accounts information returned according to returned packet and VOIP server address information, and the VOIP voice call solicited message of generation standard, then the Session Initiation Protocol according to standard carries out voice call or is made a phone call.
The present invention utilize the logon message of existing Session Initiation Protocol and VOIP signaling to E-Packet to realize account with the obtaining of user list, comprise: terminal is that to send request message to destination address be the VOIP voice gateways to soft phone, the VOIP voice gateways detect the request message that destination address is this VOIP voice gateways address, after obtaining the VOIP server configured be the sip server address information on these VOIP voice gateways, this request message is revised as to the request message that the VOIP signaling forwards, added VOIP voice gateways sign in request message, after the VOIP server is received this request message, according to setting the corresponding SIP accounts information of permission build, and send to the VOIP voice gateways, the VOIP voice gateways forward returned packet, terminal is that the soft phone of SIP is received returned packet, parse SIP (Session Initiation Protocol) accounts information and the user list information of the inside.The solicited message of terminal input standard, the SIP of the flow process of after this making a phone call and standard (Session Initiation Protocol) agreement is the same.
As shown in Figure 4, the phone system based on the VOIP voice gateways 100 of one embodiment of the invention comprises:
VOIP voice gateways 20 comprise:
Receive request module 22: receive the VOIP voice call solicited message of obtaining terminal,
User's judge module 24: judge user's request type of terminal according to the solicited message of terminal,
If the judgement terminal is anonymous, be connected to
Revise message module 26: revise the request message of terminal transmission, increase the identification marking of these VOIP voice gateways, send amended request message to VOIP server 40,
VOIP server 40 comprises:
Random account judge module 42: judge whether terminal is random user,
If being judged as random user is connected to
The VOIP server returns to module 44:VOIP server according to the random user rights of using, generates accounts information, by accounts information with corresponding to the list information of random user authority, returns to this VOIP voice gateways;
VOIP voice gateways 20 also comprise:
The VOIP voice gateways are returned to module 28: random client account information and list information that the VOIP server is transmitted return to client 60.
As shown in Figure 5, further, the random account judge module 42 of the present embodiment also comprises: identity judging unit 422.
Identity judging unit 422: the identity information that judges whether to receive terminal 60;
If do not receive, judgement terminal 60 is random user;
If receive and be connected to
Registration judging unit 424: search the accounts information of corresponding terminal according to the identity information of terminal, and judge that whether this terminal is registered, if unregistered, be judged as random account; If judge, this terminal is registered, according to the authority of the accounts information of terminal, returns to corresponding accounts information and list information.
Preferably, the registration judging unit of the present embodiment mainly judge terminal whether with existing relevant cooperation agreement or the User Agreement of service provider, and according to different User Agreement permission matchs different user list as local user's list, long-distance user's list etc.; Or give different services according to different User Agreements or authority.
Identity judging unit 422 can be judged according in request message or in solicited message, whether containing identity information; As terminal can be passed through to input identity information as phone number or telephone number or MAC Address etc. in soft telephone interface or request interface, and automatically be carried in request message.The sign that certainly also can directly in the request message generated, automatically add mounted terminal is carried out as the identity information sign.
If terminal 60 is used anonymous to send request acquiescence and is sent request the voice gateways to VOIP, the address that the Server Default in request message is these VOIP voice gateways.Use input Guest login as terminal 60 on dialog box or client, be judged as anonymous.
Further, the modification message module 26 of the present embodiment also comprises: inquiry is arranged on the address of the VOIP server 40 on these VOIP voice gateways 20, revises request message, records source IP and the transmit port of terminal 60.
Further, the VOIP voice gateways of the present embodiment are returned to module 28 and are also comprised: according to the address of VOIP voice gateways 20 and the terminal 60 that is connected to these VOIP voice gateways 20, upgrade the user list states, identifying user, generate returned packet, sends to VOIP voice gateways 20.
The VOIP voice gateways of the present embodiment are returned to the main identifying user of module 28 identifying user for the local user, and the registered user of related service agreement is still arranged with service provider.
Further, the VOIP voice gateways 20 of the present embodiment are received returned packet, and returned packet is transmitted to terminal 60.
Terminal 60 is according to accounts information and the VOIP server address Information generation standard request information of returned packet.It is mutual that on client, solicited message corresponding to input can be carried out the SIP of standard.
Further, the list corresponding to random user of the present embodiment is the local user's list that is connected to same VOIP voice gateways 20.
As shown in Figure 6, the VOIP voice gateways 20 of one embodiment of the invention comprise: reception request module 22, user's judge module 24, modification message module 26, VOIP voice gateways are returned to module 28.
Receive request module 22: receive the VOIP voice call solicited message of obtaining terminal;
User's judge module 24: the user's request type that judges terminal according to the solicited message of terminal;
If the judgement terminal is anonymous, be connected to
Revise message module 26: revise the request message of terminal transmission, increase the identification marking of these VOIP voice gateways, send amended request message to VOIP server 40;
The VOIP voice gateways are returned to module 28: receive that VOIP server 40 generates accounts information according to the rights of using of terminal 60 and to the list information of rights of using that should terminal 60, and return to client 20.
The present invention combines VOIP server, VOIP voice gateways and mobile terminal, a kind of talking mode has more easily been proposed, the user can use the phone system 100 based on the VOIP voice gateways of the present invention, more quick and easy being made a phone call, make popularization more effective, use the phone system 100 based on the VOIP voice gateways of the present invention, enterprise, businessman, school, individual etc. can be convenient the VOIP communication system of foundation oneself, the cost of communication can be reduced greatly, also the convenience that mobile communication is brought can be enjoyed.
Enterprise is without disposing complicated VOIP telephone line, also without using expensive mobile communications network, by disposing the phone system 100 based on the VOIP voice gateways of the present invention, can realize the mobile communications network of enterprises, and realize efficiently, link up easily by the WIFI network.
VOIP server 40: for VOIP Account Registration management and call manager, can be the VOIP server of native system inside, can be also the server that outside VOIP operator provides.The VOIP server generally comprises SIP registrar server, sip proxy server, STUN server etc.; SIP registrar server provides the user to register.
VOIP voice gateways 20: support the voice gateway router of WIFI, Ethernet interface and WIFI are supported in the downlink network access, support the access of RJ11 plain old telephone mouth, and uplink network is supported the accesses such as ADSL/3G/LTE, and networking mode very flexibly is provided.
The terminal of the present embodiment can adopt mobile terminal, also can adopt the PC network phone, also can adopt common phone.
Mobile terminal: can be the VOIP calling customer terminal based on the Android/IOS mobile terminal, the Session Initiation Protocol stack of support standard, the VOIP-SIP server of compatible main flow, support VOIP account management agreement simultaneously, by being connected to VOIP voice gateways 20, realize the automatic acquisition of SIP account/password and the automatic acquisition of local account list and remote account list.PC network phone: run on the VOIP networking telephone client on PC, support the Session Initiation Protocol stack of standard.Common phone: directly receive the ordinary telephone set on VOIP voice gateways 20 by the RJ11 mouth, but depend on the interface quantity of VOIP voice gateways.
The VOIP signaling protocol of the present embodiment is for setting up and cancelling and calling out, and transmission is for consumer positioning and the required information of negotiation ability.
The terminal of the present embodiment sends the request of obtaining accounts information to VOIP voice gateways 20, and VOIP voice gateways 20 can be obtained subscriber identity information as phone number.VOIP voice gateways 20 according to the VOIP server 40 configured as SIP account server address to this VOIP server 40 as SIP account server Forward-reques message, whether VOIP server 40 inputs identity information as the SIP account server according to the user is carried out the authority processing as loCal number, if inputted identity information as loCal number, search information corresponding to SIP account corresponding to the terminal of this identity information, if registered setting, return to corresponding SIP accounts information and list information, not being used as the casual user processes, return to local user list as be connected to the user list of same VOIP voice gateways according to casual user's authority, the VOIP voice gateways receive that VOIP server 40 records the current accounts information returned as the returned packet of SIP account server, the information that can be used as the local account renewal is notified to the terminal that is connected to these VOIP voice gateways.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (10)

1.一种基于VOIP语音网关的通话方法,其特征在于,包括如下步骤: 1. a method for talking based on VOIP voice gateway, is characterized in that, comprises the steps: 接收请求:接收获取终端的VOIP语音电话请求报文, Receive request: receive and obtain the VOIP voice call request message of the terminal, 用户判断:根据终端的请求报文判断终端的用户请求类型, User judgment: judge the user request type of the terminal according to the request message of the terminal, 若判断终端为匿名用户,则 If it is determined that the terminal is an anonymous user, then 修改报文:修改请求报文,增加该VOIP语音网关的识别标识,发送修改后的请求报文给VOIP服务器, Modify the message: modify the request message, increase the identification mark of the VOIP voice gateway, send the modified request message to the VOIP server, 随机账户判断:判断终端是否为随机用户, Random account judgment: judge whether the terminal is a random user, 若判断为随机用户则 If it is judged as a random user then VOIP服务器返回:VOIP服务器根据随机用户的用户权限,生成账户信息,将账户信息和对应于该用户权限的列表信息返回给该VOIP语音网关; The VOIP server returns: the VOIP server generates account information according to the user authority of a random user, and returns the account information and the list information corresponding to the user authority to the VOIP voice gateway; VOIP语音网关返回:VOIP语音网关将VOIP服务器返回的账户信息和对应的列表信息返回给客户端。 VOIP voice gateway return: The VOIP voice gateway returns the account information and corresponding list information returned by the VOIP server to the client. 2.根据权利要求1所述的基于VOIP语音网关的通话方法,其特征在于: 2. the talking method based on VOIP voice gateway according to claim 1, is characterized in that: 所述随机账户判断还包括:判断是否接收到终端的身份信息; The random account judgment also includes: judging whether the identity information of the terminal is received; 若未收到,判断终端为随机用户; If not received, it is judged that the terminal is a random user; 若收到则进行 proceed if received 身份判断:根据终端的身份信息查找对应的终端的账户信息,并判断该终端是否已注册,若判断该终端是否已注册,则根据终端的账户信息的权限返回对应的账户信息及列表信息;若未注册则判断为随机账户。 Identity judgment: Find the account information of the corresponding terminal according to the identity information of the terminal, and judge whether the terminal has been registered. If it is judged whether the terminal has been registered, return the corresponding account information and list information according to the authority of the account information of the terminal; if If it is not registered, it will be judged as a random account. 3.根据权利要求1所述的基于VOIP语音网关的通话方法,其特征在于:若终端使用匿名用户发送请求则默认发送请求给VOIP语音网关,请求报文中的VOIP服务器默认为该VOIP语音网关的地址; 3. the talking method based on VOIP voice gateway according to claim 1, it is characterized in that: if terminal uses anonymous user to send request then send request to VOIP voice gateway by default, the VOIP server in the request message is this VOIP voice gateway by default the address of; 所述修改报文还包括:查询设置在该VOIP语音网关的VOIP服务器的地址,修改请求报文,记录终端的源IP和发送端口。 The modification message also includes: querying the address of the VOIP server set on the VOIP voice gateway, modifying the request message, and recording the source IP and sending port of the terminal. 4.根据权利要求1至3任意一项所述的基于VOIP语音网关的通话方法,其特征在于: 所述VOIP服务器返回还包括:根据VOIP语音网关的地址及连接到VOIP语音网关的终端更新用户列表状态,标识用户,生成返回报文,发送给VOIP语音网关, 4. according to the call method based on the VOIP voice gateway described in any one of claims 1 to 3, it is characterized in that: the VOIP server returns and also includes: according to the address of the VOIP voice gateway and the terminal update user connected to the VOIP voice gateway List status, identify the user, generate a return message, and send it to the VOIP voice gateway, VOIP语音网关收到返回报文,将返回报文转发给终端; The VOIP voice gateway receives the return message and forwards the return message to the terminal; 终端根据返回报文的账户信息和VOIP服务器地址信息生成标准请求信息; The terminal generates standard request information according to the account information and VOIP server address information of the returned message; 所述对应于随机用户的列表为连接到同一VOIP语音网关的本地用户列表。 The list corresponding to random users is a list of local users connected to the same VOIP voice gateway. 5.根据权利要求1至3任意一项所述的基于VOIP语音网关的通话方法,其特征在于:还包括: 5. according to the call method based on VOIP voice gateway described in any one of claim 1 to 3, it is characterized in that: also comprise: 接收终端的上网请求, Receive the Internet access request of the terminal, 判断终端是否在注册列表中, Determine whether the terminal is in the registration list, 若判断不在注册列表中,则推送VOIP语音电话页面或对话框给终端; If it is judged that it is not in the registration list, push the VOIP voice phone page or dialog box to the terminal; 若接收到终端的请求信息为标准VOIP语音电话信息,则执行标准的SIP交互; If the request information received from the terminal is standard VOIP voice call information, standard SIP interaction is performed; 若接收到终端的请求信息为匿名用户请求信息,则修改请求报文,并在VOIP信令中记录终端的源IP和默认的VOIP信令端口。 If the request information received from the terminal is anonymous user request information, then modify the request message, and record the source IP of the terminal and the default VOIP signaling port in the VOIP signaling. 6.一种基于VOIP语音网关的通话系统,其特征在于,包括: 6. A communication system based on VOIP voice gateway, characterized in that, comprising: VOIP语音网关包括: VOIP voice gateway includes: 接收请求模块:接收获取终端的VOIP语音电话请求信息, Receiving request module: receiving and obtaining the VOIP voice call request information of the terminal, 用户判断模块:根据终端的请求信息判断终端的用户请求类型, User judgment module: judge the user request type of the terminal according to the request information of the terminal, 若判断终端为匿名用户,则连接到 If it is determined that the terminal is an anonymous user, connect to 修改报文模块:修改终端传输的请求报文,增加该VOIP语音网关的识别标识,发送修改后的请求报文给VOIP服务器, Modify the message module: modify the request message transmitted by the terminal, increase the identification mark of the VOIP voice gateway, send the modified request message to the VOIP server, VOIP服务器包括: VOIP servers include: 随机账户判断模块:判断终端是否为随机用户, Random account judgment module: judge whether the terminal is a random user, 若判断为随机用户则连接到 If it is judged as a random user, connect to VOIP服务器返回模块:VOIP服务器根据随机用户的用户权限,生成账户信息,将账户信息和对应于该用户权限的列表信息返回给该VOIP语音网关; VOIP server returns module: the VOIP server generates account information according to the user authority of a random user, and returns the account information and the list information corresponding to the user authority to the VOIP voice gateway; VOIP语音网关还包括: VOIP voice gateway also includes: VOIP语音网关返回模块:将VOIP服务器传输过来的随机用户的账户信息和对应用户权限的列表信息返回给客户端。 VOIP voice gateway return module: returns the account information of random users and the list information of corresponding user rights transmitted by the VOIP server to the client. 7.根据权利要求6所述的基于VOIP语音网关的通话系统,其特征在于: 7. the communication system based on VOIP voice gateway according to claim 6, is characterized in that: 所述随机账户判断模块还包括: The random account judgment module also includes: 身份判断单元:判断是否接收到终端的身份信息; Identity judging unit: judging whether the identity information of the terminal is received; 若未收到,判断终端为随机用户; If not received, it is judged that the terminal is a random user; 若收到则连接到 If received, connect to 注册判断单元:根据终端的身份信息查找对应的终端的账户信息,并判断该终端是否已注册,若未注册则判断为随机账户; Registration judging unit: according to the identity information of the terminal, search for the account information of the corresponding terminal, and judge whether the terminal has been registered, if not registered, it is judged as a random account; 若判断该终端已注册,则根据终端对应的用户权限返回对应的账户信息及列表信息;若未注册则判断为随机账户。 If it is determined that the terminal has been registered, the corresponding account information and list information will be returned according to the user authority corresponding to the terminal; if it is not registered, it will be determined as a random account. 8.根据权利要求6所述的基于VOIP语音网关的通话系统,其特征在于:若终端使用匿名用户发送请求则默认发送请求给VOIP语音网关,请求报文中的服务器默认为该VOIP语音网关的地址; 8. The communication system based on the VOIP voice gateway according to claim 6, characterized in that: if the terminal uses an anonymous user to send a request, it sends a request to the VOIP voice gateway by default, and the server in the request message defaults to the VOIP voice gateway. address; 所述修改报文模块还包括:查询设置在该VOIP语音网关的VOIP服务器的地址,修改请求报文,记录终端的源IP和发送端口。 The modification message module also includes: querying the address of the VOIP server set on the VOIP voice gateway, modifying the request message, and recording the source IP and sending port of the terminal. 9.根据权利要求6至8任意一项所述的基于VOIP语音网关的通话系统,其特征在于: 所述VOIP服务器返回模块还包括:根据VOIP语音网关的地址及连接到该VOIP语音网关的终端更新用户列表状态,标识用户,生成返回报文,发送给VOIP语音网关, 9. The communication system based on VOIP voice gateway according to any one of claims 6 to 8, characterized in that: said VOIP server return module also includes: according to the address of VOIP voice gateway and the terminal connected to this VOIP voice gateway Update the status of the user list, identify the user, generate a return message, and send it to the VOIP voice gateway, VOIP语音网关收到返回报文,将返回报文转发给终端; The VOIP voice gateway receives the return message and forwards the return message to the terminal; 终端根据返回报文的账户信息和VOIP服务器地址信息,解析生成标准请求信息; The terminal parses and generates standard request information according to the account information and VOIP server address information of the returned message; 所述对应于随机用户的列表为连接到同一VOIP语音网关的本地用户列表。 The list corresponding to random users is a list of local users connected to the same VOIP voice gateway. 10.一种VOIP语音网关,其特征在于,包括: 10. A VOIP voice gateway, characterized in that, comprising: 接收请求模块:接收获到到终端的VOIP语音电话请求信息, Receive request module: receive the VOIP voice call request information obtained to the terminal, 用户判断模块:根据终端的请求信息判断终端的用户请求类型, User judgment module: judge the user request type of the terminal according to the request information of the terminal, 若判断终端为匿名用户,则连接到 If it is determined that the terminal is an anonymous user, connect to 修改报文模块:修改终端传输的请求报文,增加该VOIP语音网关的识别标识,发送修改后的请求报文给VOIP服务器, Modify the message module: modify the request message transmitted by the terminal, increase the identification mark of the VOIP voice gateway, send the modified request message to the VOIP server, VOIP语音网关返回模块:接收VOIP服务器根据终端的用户权限生成的账户信息和对应该用户权限的列表信息,返回给客户端。 VOIP voice gateway return module: receive the account information generated by the VOIP server according to the user authority of the terminal and the list information corresponding to the user authority, and return it to the client.
CN201310380876.9A 2013-08-28 2013-08-28 Call method, system and this gateway based on VOIP voice gateways Active CN103442150B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310380876.9A CN103442150B (en) 2013-08-28 2013-08-28 Call method, system and this gateway based on VOIP voice gateways

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310380876.9A CN103442150B (en) 2013-08-28 2013-08-28 Call method, system and this gateway based on VOIP voice gateways

Publications (2)

Publication Number Publication Date
CN103442150A true CN103442150A (en) 2013-12-11
CN103442150B CN103442150B (en) 2016-05-04

Family

ID=49695812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310380876.9A Active CN103442150B (en) 2013-08-28 2013-08-28 Call method, system and this gateway based on VOIP voice gateways

Country Status (1)

Country Link
CN (1) CN103442150B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737671A (en) * 2017-04-20 2018-11-02 中兴通讯股份有限公司 A kind of VOIP communication means, device, equipment and home gateway system
CN109040476A (en) * 2018-08-31 2018-12-18 北京云迹科技有限公司 The method and apparatus for detecting the unregistered state of phone box
CN109379328A (en) * 2018-09-04 2019-02-22 北京云迹科技有限公司 The operating status querying method and device of voice gateways
CN110311852A (en) * 2019-07-24 2019-10-08 广东商路信息科技有限公司 Method, terminal and the system of VoIP terminal configuration
CN110784359A (en) * 2019-10-31 2020-02-11 四川天邑康和通信股份有限公司 One-key diagnosis method for voice state of home gateway
CN112153035A (en) * 2020-09-18 2020-12-29 支付宝(杭州)信息技术有限公司 Privacy-protecting user protocol processing method and device
CN112241130A (en) * 2019-07-18 2021-01-19 上汽通用汽车有限公司 Vehicle-mounted processing equipment and remote equipment control system
TWI732721B (en) * 2020-12-08 2021-07-01 中華電信股份有限公司 Method for dynamically configuring sip accounts on voip and voip server
CN114598679A (en) * 2022-02-17 2022-06-07 宏图智能物流股份有限公司 Single-bin platform voice transmission method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656785A (en) * 2002-05-31 2005-08-17 索福帮股份有限公司 Terminal connection device, connection control device and multifunctional telephone terminal
CN102239676A (en) * 2009-10-29 2011-11-09 思科技术公司 Using pstn reachability in anonymous verification of voip call routing information
CN102421082A (en) * 2011-11-28 2012-04-18 华为终端有限公司 Call account configuration method, call device and gateway

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1656785A (en) * 2002-05-31 2005-08-17 索福帮股份有限公司 Terminal connection device, connection control device and multifunctional telephone terminal
CN102239676A (en) * 2009-10-29 2011-11-09 思科技术公司 Using pstn reachability in anonymous verification of voip call routing information
CN102421082A (en) * 2011-11-28 2012-04-18 华为终端有限公司 Call account configuration method, call device and gateway

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737671A (en) * 2017-04-20 2018-11-02 中兴通讯股份有限公司 A kind of VOIP communication means, device, equipment and home gateway system
CN109040476A (en) * 2018-08-31 2018-12-18 北京云迹科技有限公司 The method and apparatus for detecting the unregistered state of phone box
CN109379328A (en) * 2018-09-04 2019-02-22 北京云迹科技有限公司 The operating status querying method and device of voice gateways
CN112241130A (en) * 2019-07-18 2021-01-19 上汽通用汽车有限公司 Vehicle-mounted processing equipment and remote equipment control system
CN112241130B (en) * 2019-07-18 2023-02-17 上汽通用汽车有限公司 Vehicle-mounted processing equipment and remote equipment control system
CN110311852A (en) * 2019-07-24 2019-10-08 广东商路信息科技有限公司 Method, terminal and the system of VoIP terminal configuration
CN110311852B (en) * 2019-07-24 2021-11-19 广东商路信息科技有限公司 VoIP terminal configuration method, terminal and system
CN110784359B (en) * 2019-10-31 2022-06-21 四川天邑康和通信股份有限公司 One-key diagnosis method for voice state of home gateway
CN110784359A (en) * 2019-10-31 2020-02-11 四川天邑康和通信股份有限公司 One-key diagnosis method for voice state of home gateway
CN112153035A (en) * 2020-09-18 2020-12-29 支付宝(杭州)信息技术有限公司 Privacy-protecting user protocol processing method and device
TWI732721B (en) * 2020-12-08 2021-07-01 中華電信股份有限公司 Method for dynamically configuring sip accounts on voip and voip server
CN114598679A (en) * 2022-02-17 2022-06-07 宏图智能物流股份有限公司 Single-bin platform voice transmission method
CN114598679B (en) * 2022-02-17 2024-02-06 宏图智能物流股份有限公司 Single-bin in-platform voice transmission method

Also Published As

Publication number Publication date
CN103442150B (en) 2016-05-04

Similar Documents

Publication Publication Date Title
CN103442150A (en) Conversation method and system based on VOIP voice gateway and VOIP voice gateway
US7787600B1 (en) Handling emergency calls using EAP
CN102124810B (en) Communication control system, communication system and communication control method
US20070242672A1 (en) Unlicensed mobile access (UMA) communications using decentralized security gateway
US20190394647A1 (en) Communication system, connection control apparatus, mobile terminal, base station control method, service request method, and program
US7742578B1 (en) Location determination capabilities for emergency call services
US20090043891A1 (en) Mobile WiMax network system including private network and control method thereof
RU2005132174A (en) ORGANIZING INTER-NETWORK INTERACTION BETWEEN THE FIRST NETWORK AND THE SECOND NETWORK
RU2008116625A (en) SYSTEM AND METHOD FOR DISTRIBUTING WIRELESS NETWORK ACCESS PARAMETERS
US10791464B2 (en) Method for establishing a secure connection
CN103209462A (en) Mobile communication method, mobile communication server and mobile communication system
CN101068439B (en) Communicating method, mobile terminal, insertion point equipment and communication system
JP6137848B2 (en) Network communication system
JP2010141850A (en) Communication apparatus and mobile terminal
US20110044334A1 (en) Communication system and communication method
CN116782192A (en) Method, device and storage medium for establishing service connection
CN117295049A (en) Inter-operator tracing method and system based on interconnection and interworking
CN101507251A (en) Method for forwarding emergency messages from a terminal in a communication network
US20240314178A1 (en) Method and system in 3gpp networks for reporting of vowifi calls over untrusted non-3gpp access
JP2014023052A (en) Voicemail server device, voicemail method, and voicemail program
KR101270241B1 (en) Method for call setup based on fmc communication and call connection infra
EP3879866B1 (en) Method for establishing a secure connection for the internet of things
KR101087676B1 (en) Billing server for packet service providing system, method and packet service using small base station
JP5359677B2 (en) Roaming system, radio base station, communication control method and program
JP2008124979A (en) Unit charge area specifying system in wireless LAN and unit charge area specifying method in wireless LAN

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Call method, system and gateway based on VOIP voice gateway

Granted publication date: 20160504

Pledgee: China Construction Bank Co.,Ltd. Shenzhen Branch

Pledgor: SHENZHEN HONGDIAN TECHNOLOGIES Corp.

Registration number: Y2025980022573

PE01 Entry into force of the registration of the contract for pledge of patent right