CN105743892A - Method for realizing lightweight media gateway voice function - Google Patents
Method for realizing lightweight media gateway voice function Download PDFInfo
- Publication number
- CN105743892A CN105743892A CN201610065140.6A CN201610065140A CN105743892A CN 105743892 A CN105743892 A CN 105743892A CN 201610065140 A CN201610065140 A CN 201610065140A CN 105743892 A CN105743892 A CN 105743892A
- Authority
- CN
- China
- Prior art keywords
- local side
- wmg
- order
- side apparatus
- media 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/10—Architectures or entities
- H04L65/102—Gateways
- H04L65/1023—Media gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M7/00—Arrangements for interconnection between switching centres
- H04M7/006—Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
- H04M7/0081—Network operation, administration, maintenance, or provisioning
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Telephonic Communication Services (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method for realizing a lightweight media gateway voice function. The method comprises the following steps: a media gateway sends a heartbeat message to a local side; the local side sends a voice channel active command to the media gateway; the media gateway sets a voice channel as available and sets an IP address for RTP stream transmission; a user hooks off and the media gateway plays a dial tone; the user dials a telephone and reports a number to the local side; the local side, after receiving the first digit in the number, indicates the media gateway to stop playing the dial tone; the local side, after receiving the number, forwards to a called party and indicates the media gateway to play a ring-back tone; the called party hooks off, and the local side indicates the media gateway to stop playing the ring-back tone; the local side sends a DSP content to the media gateway, and the media gateway sets a DSP voice channel; the media gateway opens the DSP voice channel; the user hooks on and reports an on-hook event to the local side; the local side indicates the media gateway to close the DSP voice channel; and an RTP stream is disconnected and the communication is finished. According to the method disclosed by the invention, the complexity of the voice function is reduced, and the failure rate of a media gateway device is greatly reduced.
Description
Technical field
The present invention relates to IP telephony system application, be specifically related to a kind of lightweight WMG phonetic function and realize method.
Background technology
Voice module is one of module that in WMG modules, technical sophistication degree is the highest, and voice technology contains many-sided technology, controls and network management technology including protocol integrated test system, speech chip.
But, in order to realize phonetic function, each producer's media gateway device needs to carry out compatibility test with various soft switch/IMSSIP platform, causes that the complexity of phonetic function increases, and media gateway device fault rate raises.
In view of this, be badly in need of a kind of complexity that can simplify phonetic function of design, the WMG phonetic function that reduces media gateway device fault rate realizes method.
Summary of the invention
The technical problem to be solved is that a kind of complexity that can simplify phonetic function of design, the WMG phonetic function that reduces media gateway device fault rate realize method.
In order to solve above-mentioned technical problem, the technical solution adopted in the present invention is to provide a kind of lightweight WMG phonetic function and realizes method, discharges including voice call foundation and voice call, and wherein voice call is set up and specifically included following steps:
After step 101, WMG start, send heartbeat message by SendRegister order to local side apparatus, and report WMG voice channel number and state;
After step 102, local side apparatus receive heartbeat message, issuing voice channel activation command by ActiveChannel order to WMG, correspondence voice channel is set to available by WMG;
Step 103, local side apparatus issue SendRTPConfig order to WMG, and WMG is arranged to the IP address of rtp streaming transmission;
User's off-hook under step 104, WMG, WMG reports off-hook event by ReportPhoneEvent order to local side apparatus;
Step 105, local side apparatus play dialing tone by the corresponding FXS interface of StartOrStopTone order indicating media gateway;
Under step 106, WMG, user calls number, and reports telephone number by ReportDialNumber order to local side apparatus;
After step 107, local side apparatus receive first in telephone number, stop playing dialing tone by StartOrStopTone order indicating media gateway;
Step 108, after local side apparatus has received telephone number, speech channel is transferred to called, and by StartOrStopRing order indicating media gateway playing RBT;
After step 109, local side apparatus detect called off-hook, stop playing RBT by StartOrStopRing order indicating media gateway;
DSP message content after negotiation is sent to WMG by SetDSPMessage order by step 110, local side apparatus, and WMG arranges DSP voice channel according to DSP message content;
Step 111, local side apparatus open DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway;
Step 112, call are set up;
Voice call release specifically includes following steps:
User's on-hook under step 113, WMG, and report onhook event by ReportPhoneEvent order to local side apparatus;
After step 114, local side apparatus receive onhook event, close DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway;
Step 115, rtp streaming disconnect, end of conversation.
In technique scheme,
Described SendRegister order is that described WMG sends heartbeat message to described local side apparatus;
Described ActiveChannel order is that described local side apparatus issues activation command to the voice channel of described WMG;
Described SendRTPConfig order issues to described WMG for described local side apparatus and arranges RTP address command;
Described ReportPhoneEvent order reports off-hook, on-hook and flash telephone event for described WMG to described local side apparatus;
Described StartOrStopTone order is that described local side apparatus indicates described WMG to play or stops dialing tone, busy tone, howler tone and secondary dial tone;
Described ReportDialNumber order reports telephone number for described WMG to described local side apparatus;
Described StartOrStopRing order is that described local side apparatus issues ring to described WMG or stops ring order;
Described SetDSPMessage order issues DSP message content for described local side apparatus to described WMG;
Described OpenOrCloseDSPChannel order issues to described WMG for described local side apparatus and opens or closes DSP voice channel order.
In technique scheme, described local side apparatus includes but not limited to embedded device or computer equipment.
The present invention, telephone event is reported to local side apparatus OLT by WMG, local side apparatus OLT issues to WMG and is turned on and off media channel instruction, realize the phonetic function of WMG, each media gateway device is without carrying out compatibility test with various soft switch or IMSSIP platform, reduce the complexity of phonetic function, greatly reduce the fault rate of media gateway device.
Accompanying drawing explanation
Voice call foundation that Fig. 1 provides for the embodiment of the present invention and the schematic flow sheet of voice call release;
The particular flow sheet that Fig. 2 sets up for the voice call that the embodiment of the present invention provides;
The particular flow sheet of the voice call release that Fig. 3 provides for the embodiment of the present invention.
Detailed description of the invention
Below in conjunction with specification drawings and specific embodiments, the present invention is described in detail.
For an intelligent acess and possess 2 mouthfuls of FXS channel speech WMGs and an OLT device the present invention will be described, as shown in Figure 1, embodiments provide a kind of lightweight WMG phonetic function and realize method, discharge including voice call foundation and voice call, wherein, the detailed process that voice call is set up is as in figure 2 it is shown, specifically include following steps:
After step 101, WMG start, send heartbeat message by SendRegister order to local side apparatus OLT, and report WMG voice channel number and state.
Step 102, local side apparatus OLT issue voice channel activation command by ActiveChannel order to WMG after receiving heartbeat message, and correspondence voice channel is set to available by WMG.
Step 103, local side apparatus OLT issue SendRTPConfig order to WMG, after WMG receives SendRTPConfig order, are arranged to the IP address of rtp streaming transmission.
User's off-hook under step 104, WMG, WMG reports off-hook event by ReportPhoneEvent order to local side apparatus OLT.
After step 105, local side apparatus OLT receive off-hook event, play dialing tone by the corresponding FXS interface of StartOrStopTone order indicating media gateway.
Wherein, media gateway controlling voice SLIC chip plays dialing tone to user.
Under step 106, WMG, user calls number, and reports telephone number by ReportDialNumber order to local side apparatus OLT.
After step 107, local side apparatus OLT receive first in telephone number, stop playing dialing tone by StartOrStopTone order indicating media gateway.
Step 108, after local side apparatus OLT has received telephone number, speech channel is transferred to called, and by StartOrStopRing order indicating media gateway playing RBT.
After step 109, local side apparatus OLT detect called off-hook, stop playing RBT by StartOrStopRing order indicating media gateway.
DSP message content after negotiation is sent to WMG by SetDSPMessage order by step 110, local side apparatus OLT, and WMG arranges DSP voice channel according to DSP message content.
Step 111, local side apparatus OLT open DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway.
Step 112, call are set up.
As it is shown on figure 3, the detailed process of voice call release is:
User's on-hook under step 113, WMG, and report onhook event by ReportPhoneEvent order to local side apparatus OLT.
After step 114, local side apparatus OLT receive onhook event, close DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway.
Step 115, rtp streaming disconnect, end of conversation.
Above-mentioned local side apparatus OLT includes but not limited to embedded device or computer equipment.
In said method,
SendRegister order is that WMG sends heartbeat message to local side apparatus OLT;
ActiveChannel order is that local side apparatus OLT issues activation command to the voice channel of WMG;
SendRTPConfig order issues to WMG for local side apparatus OLT and arranges RTP address command;
ReportPhoneEvent order reports off-hook, on-hook and flash telephone event for WMG to local side apparatus OLT;
StartOrStopTone order is that local side apparatus OLT indicating media gateway is play or stops dialing tone, busy tone, howler tone and secondary dial tone etc.;
ReportDialNumber order reports telephone number for WMG to local side apparatus OLT;
StartOrStopRing order is that local side apparatus OLT issues ring to WMG or stops ring order;
SetDSPMessage order issues DSP message content for local side apparatus OLT to WMG;
OpenOrCloseDSPChannel order issues to WMG for local side apparatus OLT and opens or closes DSP voice channel order.
The present invention, telephone event is reported to local side apparatus OLT by WMG, local side apparatus OLT issues to WMG and is turned on and off media channel instruction, realize the phonetic function of WMG, each media gateway device is without carrying out compatibility test with various soft switch or IMSSIP platform, the complexity of phonetic function reduces, and the fault rate of media gateway device is substantially reduced.
The present invention is not limited to above-mentioned preferred forms, and the structure change that anyone makes under the enlightenment of the present invention, every have same or like technical scheme with the present invention, each falls within protection scope of the present invention.It should be noted that the term used in embodiments of the present invention is only merely for the purpose describing specific embodiment, and it is not intended to be limiting the present invention." one ", " described " and " being somebody's turn to do " of the singulative used in the embodiment of the present invention and appended claims is also intended to include most form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and comprises any or all of one or more project of listing being associated and be likely to combination.
Claims (3)
1. a lightweight WMG phonetic function realizes method, it is characterised in that including voice call foundation and voice call release, wherein voice call is set up and specifically included following steps:
After step 101, WMG start, send heartbeat message by SendRegister order to local side apparatus, and report WMG voice channel number and state;
After step 102, local side apparatus receive heartbeat message, issuing voice channel activation command by ActiveChannel order to WMG, correspondence voice channel is set to available by WMG;
Step 103, local side apparatus issue SendRTPConfig order to WMG, and WMG is arranged to the IP address of rtp streaming transmission;
User's off-hook under step 104, WMG, WMG reports off-hook event by ReportPhoneEvent order to local side apparatus;
Step 105, local side apparatus play dialing tone by the corresponding FXS interface of StartOrStopTone order indicating media gateway;
Under step 106, WMG, user calls number, and reports telephone number by ReportDialNumber order to local side apparatus;
After step 107, local side apparatus receive first in telephone number, stop playing dialing tone by StartOrStopTone order indicating media gateway;
Step 108, after local side apparatus has received telephone number, speech channel is transferred to called, and by StartOrStopRing order indicating media gateway playing RBT;
After step 109, local side apparatus detect called off-hook, stop playing RBT by StartOrStopRing order indicating media gateway;
DSP message content after negotiation is sent to WMG by SetDSPMessage order by step 110, local side apparatus, and WMG arranges DSP voice channel according to DSP message content;
Step 111, local side apparatus open DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway;
Step 112, call are set up;
Voice call release specifically includes following steps:
User's on-hook under step 113, WMG, and report onhook event by ReportPhoneEvent order to local side apparatus;
After step 114, local side apparatus receive onhook event, close DSP voice channel by OpenOrCloseDSPChannel order indicating media gateway;
Step 115, rtp streaming disconnect, end of conversation.
2. lightweight WMG phonetic function as claimed in claim 1 realizes method, it is characterised in that
Described SendRegister order is that described WMG sends heartbeat message to described local side apparatus;
Described ActiveChannel order is that described local side apparatus issues activation command to the voice channel of described WMG;
Described SendRTPConfig order issues to described WMG for described local side apparatus and arranges RTP address command;
Described ReportPhoneEvent order reports off-hook, on-hook and flash telephone event for described WMG to described local side apparatus;
Described StartOrStopTone order is that described local side apparatus indicates described WMG to play or stops dialing tone, busy tone, howler tone and secondary dial tone;
Described ReportDialNumber order reports telephone number for described WMG to described local side apparatus;
Described StartOrStopRing order is that described local side apparatus issues ring to described WMG or stops ring order;
Described SetDSPMessage order issues DSP message content for described local side apparatus to described WMG;
Described OpenOrCloseDSPChannel order issues to described WMG for described local side apparatus and opens or closes DSP voice channel order.
3. lightweight WMG phonetic function as claimed in claim 1 realizes method, it is characterised in that described local side apparatus includes but not limited to embedded device or computer equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610065140.6A CN105743892B (en) | 2016-01-29 | 2016-01-29 | A kind of lightweight Media Gateway phonetic function implementation method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610065140.6A CN105743892B (en) | 2016-01-29 | 2016-01-29 | A kind of lightweight Media Gateway phonetic function implementation method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105743892A true CN105743892A (en) | 2016-07-06 |
CN105743892B CN105743892B (en) | 2019-04-16 |
Family
ID=56247049
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610065140.6A Active CN105743892B (en) | 2016-01-29 | 2016-01-29 | A kind of lightweight Media Gateway phonetic function implementation method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105743892B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070201663A1 (en) * | 2005-05-29 | 2007-08-30 | Huawei Technologies Co., Ltd. | Method for listening to signal tone from a called party by a calling party during network interworking |
CN102118526A (en) * | 2009-12-30 | 2011-07-06 | 北京大唐高鸿数据网络技术有限公司 | VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol) |
CN102196108A (en) * | 2011-05-23 | 2011-09-21 | 太仓市同维电子有限公司 | Method for realizing color ring back tone playing of Internet protocol (IP) telephone based on media gateway control protocol |
CN105119932A (en) * | 2015-09-10 | 2015-12-02 | 烽火通信科技股份有限公司 | Method for realizing internal voice calls of ONU (Optical Network Unit) devices in passive optical network |
-
2016
- 2016-01-29 CN CN201610065140.6A patent/CN105743892B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070201663A1 (en) * | 2005-05-29 | 2007-08-30 | Huawei Technologies Co., Ltd. | Method for listening to signal tone from a called party by a calling party during network interworking |
CN102118526A (en) * | 2009-12-30 | 2011-07-06 | 北京大唐高鸿数据网络技术有限公司 | VoIP (Voice over Internet Protocol) media communication method based on SIP (Session Initiation Protocol) |
CN102196108A (en) * | 2011-05-23 | 2011-09-21 | 太仓市同维电子有限公司 | Method for realizing color ring back tone playing of Internet protocol (IP) telephone based on media gateway control protocol |
CN105119932A (en) * | 2015-09-10 | 2015-12-02 | 烽火通信科技股份有限公司 | Method for realizing internal voice calls of ONU (Optical Network Unit) devices in passive optical network |
Also Published As
Publication number | Publication date |
---|---|
CN105743892B (en) | 2019-04-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103200469B (en) | PON system access terminal realizes the method for ip voice service call emulation | |
CN101997997A (en) | System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof | |
CN1288884C (en) | IP access method and system of phonetic service | |
CN104767856B (en) | A kind of desktop telephones system | |
CN1860775A (en) | Subscriber's side powered telephony system | |
CN101068230B (en) | Method for realizing user exchanger in media gateway | |
TW200737918A (en) | Method for placing VoIP calls through a web-based interface and system of the same | |
CN105721727A (en) | Call forwarding method and apparatus | |
CN101605357B (en) | Method for accessing public switched telephone network by wireless network device and wireless network device | |
CN101465922B (en) | NGN network system and method for rapidly switching corresponding medium channel of low speed Modem equipment | |
CN101753667B (en) | Method for realizing speech business through wireless network and communication terminal | |
CN105743892A (en) | Method for realizing lightweight media gateway voice function | |
CN101030999A (en) | System and method for utilizing narrow-band color bell by wide-band user | |
CN107105110A (en) | A kind of calling-control method based on PSTN | |
CN101197888B (en) | Method and system for implementing hang-up selection when non-intelligent SIP terminal call waiting | |
CN100452786C (en) | Large compositive gateway access system based on NGN | |
CN103139055B (en) | Voice home gateway side realizes method and the device of internal call transfer | |
CN1588977A (en) | Method for realizing multimedia communication and its realizing terminal and system | |
CN101068268B (en) | Method and system for realizing one-machine and several-number in switch-in gateway | |
CN1822625A (en) | Call extension system and call processing method | |
CN103647888B (en) | A kind of magnetite phone communication means based on Asterisk and device | |
CN102457622B (en) | Method and system for processing voice calls, as well as switch and voice dialing server | |
CN107333015A (en) | The isdn user's cut-in method and system of a kind of voip gateway | |
CN100550942C (en) | Realize the method and system of media ring function in a kind of broadband network | |
CN104125236B (en) | The method of media gateway realization INCOM intercom |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |