CN105743892B - A kind of lightweight Media Gateway phonetic function implementation method - Google Patents

A kind of lightweight Media Gateway phonetic function implementation method Download PDF

Info

Publication number
CN105743892B
CN105743892B CN201610065140.6A CN201610065140A CN105743892B CN 105743892 B CN105743892 B CN 105743892B CN 201610065140 A CN201610065140 A CN 201610065140A CN 105743892 B CN105743892 B CN 105743892B
Authority
CN
China
Prior art keywords
media gateway
local side
side apparatus
order
dsp
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.)
Active
Application number
CN201610065140.6A
Other languages
Chinese (zh)
Other versions
CN105743892A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN201610065140.6A priority Critical patent/CN105743892B/en
Publication of CN105743892A publication Critical patent/CN105743892A/en
Application granted granted Critical
Publication of CN105743892B publication Critical patent/CN105743892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks 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/0081Network operation, administration, maintenance, or provisioning

Abstract

The invention discloses a kind of lightweight Media Gateway phonetic function implementation methods, comprising: Media Gateway sends out heartbeat message to local side;Local side sends out voice channel activation command to Media Gateway;Voice channel is set to available, IP address of the setting for rtp streaming transmission by Media Gateway;User's off-hook, Media Gateway put dialing tone;User makes a phone call, to local side report number;Local side receives in number first, and dialing tone is put in indicating media gateway stopping;After local side has received number, turn called, indicating media gateway puts back to ringing tone;Ringing tone is put back in called off-hook, the stopping of local side indicating media gateway;Local side sends out DSP content to Media Gateway, and DSP voice channel is arranged in Media Gateway;Media Gateway opens DSP voice channel;On-hook, to local side report onhook event;Local side indicating media gateway closes DSP voice channel;Rtp streaming disconnects, end of conversation.The present invention reduces the complexity of phonetic function, greatly reduces the failure rate of media gateway device.

Description

A kind of lightweight Media Gateway phonetic function implementation method
Technical field
The present invention relates to IP telephony system application fields, and in particular to a kind of lightweight Media Gateway phonetic function realization side Method.
Background technique
Voice module is one of highest module of technology complexity in Media Gateway modules, and voice technology covers in many ways Surface technology, including protocol integrated test system, speech chip control and network management technology.
But in order to realize that phonetic function, each producer's media gateway device need flat with various soft switch/IMS SIP Platform carries out compatibility test, and the complexity of phonetic function is caused to increase, and media gateway device failure rate increases.
In view of this, urgent need, which designs one kind, can simplify the complexity of phonetic function, reduce media gateway device failure rate Media Gateway phonetic function implementation method.
Summary of the invention
The technical problem to be solved by the present invention is to design one kind to simplify the complexity of phonetic function, reduction media net Close the Media Gateway phonetic function implementation method of equipment failure rate.
In order to solve the above-mentioned technical problem, the technical scheme adopted by the invention is that providing a kind of lightweight Media Gateway language Sound function implementation method, including voice communication foundation and voice communication release, wherein voice communication foundation specifically include following step It is rapid:
After step 101, Media Gateway starting, heartbeat message is sent to local side apparatus by Send Register order, and Report Media Gateway voice channel number and state;
After step 102, local side apparatus receive heartbeat message, issued by Active Channel order to Media Gateway Corresponding voice channel is set to available by voice channel activation command, Media Gateway;
Step 103, local side apparatus issue Send RTP Config order to Media Gateway, and Media Gateway setting is used for RTP Spread defeated IP address;
User's off-hook under step 104, Media Gateway, Media Gateway are set by Report Phone Event order to local side It is standby to report off-hook event;
Step 105, local side apparatus are broadcast by the corresponding FXS interface of Start Or Stop Tone order indicating media gateway Put dialing tone;
User makes a phone call number under step 106, Media Gateway, and by Report Dial Number order to local side Equipment reports telephone number;
After step 107, local side apparatus receive first in telephone number, pass through Start Or Stop Tone order Indicating media gateway stops playing dialing tone;
Step 108, after local side apparatus has received telephone number, speech channel is transferred to it is called, and pass through Start Or Stop Ring order indicating media gateway playing RBT;
After step 109, local side apparatus detect called off-hook, media net is indicated by Start Or Stop Ring order Shut down only playing RBT;
DSP message content after negotiation is sent to matchmaker by Set DSP Message order by step 110, local side apparatus DSP voice channel is arranged according to DSP message content in body gateway, Media Gateway;
Step 111, local side apparatus open DSP language by Open Or Close DSPChannel order indicating media gateway Sound channel;
Step 112, call are established;
Voice communication release specifically includes the following steps:
User's on-hook under step 113, Media Gateway, and reported by Report Phone Event order to local side apparatus Onhook event;
After step 114, local side apparatus receive onhook event, indicated by Open Or Close DSPChannel order Media Gateway closes DSP voice channel;
Step 115, rtp streaming disconnect, end of conversation.
In the above-mentioned technical solutions,
The Send Register order sends heartbeat message to the local side apparatus for the Media Gateway;
The Active Channel order issues activation to the voice channel of the Media Gateway for the local side apparatus Order;
The Send RTP Config order issues the setting address RTP to the Media Gateway for the local side apparatus and orders It enables;
The Report Phone Event order be the Media Gateway to the local side apparatus report off-hook, on-hook with And flash telephone event;
The Start Or Stop Tone order is that the local side apparatus indicates that the Media Gateway plays or stops dialling Number sound, busy tone, howler tone and secondary dial tone;
The Report Dial Number order reports telephone number to the local side apparatus for the Media Gateway;
The Start Or Stop Ring order issues ring or stopping to the Media Gateway for the local side apparatus Ring order;
The Set DSP Message order issues DSP message content to the Media Gateway for the local side apparatus;
The Open Or Close DSPChannel order issues opening to the Media Gateway for the local side apparatus Or close the order of DSP voice channel.
In the above-mentioned technical solutions, the local side apparatus includes but is not limited to embedded device or computer equipment.
The present invention reports telephone event to local side apparatus OLT by Media Gateway, and local side apparatus OLT is under Media Gateway Hair opens or closes media channel instruction, realizes the phonetic function of Media Gateway, each media gateway device be not necessarily to it is various soft Exchange or IMS SIP platform carry out compatibility test, reduce the complexity of phonetic function, greatly reduce media gateway device Failure rate.
Detailed description of the invention
Fig. 1 is the flow diagram that voice communication foundation provided in an embodiment of the present invention and voice communication discharge;
Fig. 2 is the specific flow chart that voice communication provided in an embodiment of the present invention is established;
Fig. 3 is the specific flow chart of voice communication provided in an embodiment of the present invention release.
Specific embodiment
The present invention is described in detail with specific embodiment with reference to the accompanying drawings of the specification.
For by an intelligent acess and having 2 mouthfuls of FXS channel speech Media Gateway and an OLT device to the present invention into Row explanation, as shown in Figure 1, the embodiment of the invention provides a kind of lightweight Media Gateway phonetic function implementation method, including language Sound call is established and voice communication release, wherein the detailed process that voice communication is established is as shown in Fig. 2, specifically include following step It is rapid:
After step 101, Media Gateway starting, heartbeat is sent to local side apparatus OLT by Send Register order and is disappeared Breath, and report Media Gateway voice channel number and state.
After step 102, local side apparatus OLT receive heartbeat message, by Active Channel order to Media Gateway Voice channel activation command is issued, corresponding voice channel is set to available by Media Gateway.
Step 103, local side apparatus OLT issue Send RTP Config order to Media Gateway, and Media Gateway receives After Send RTP Config order, IP address of the setting for rtp streaming transmission.
User's off-hook under step 104, Media Gateway, Media Gateway are set by Report Phone Event order to local side Standby OLT reports off-hook event.
After step 105, local side apparatus OLT receive off-hook event, matchmaker is indicated by Start Or Stop Tone order The corresponding FXS interface of body gateway plays dialing tone.
Wherein, media gateway controlling voice SLIC chip plays dialing tone to user.
User makes a phone call number under step 106, Media Gateway, and by Report Dial Number order to local side Equipment OLT reports telephone number.
After step 107, local side apparatus OLT receive first in telephone number, pass through Start Or Stop Tone Order indicating media gateway stops playing dialing tone.
Step 108, after local side apparatus OLT has received telephone number, speech channel is transferred to it is called, and pass through Start Or Stop Ring order indicating media gateway playing RBT.
After step 109, local side apparatus OLT detect called off-hook, matchmaker is indicated by Start Or Stop Ring order Body gateway stops playing RBT.
DSP message content after negotiation is sent to by step 110, local side apparatus OLT by Set DSP Message order DSP voice channel is arranged according to DSP message content in Media Gateway, Media Gateway.
Step 111, local side apparatus OLT are opened by Open Or Close DSPChannel order indicating media gateway DSP voice channel.
Step 112, call are established.
As shown in figure 3, the detailed process of voice communication release are as follows:
User's on-hook under step 113, Media Gateway, and by Report Phone Event order to local side apparatus OLT Report onhook event.
After step 114, local side apparatus OLT receive onhook event, pass through Open Or Close DSPChannel order Indicating media gateway closes DSP voice channel.
Step 115, rtp streaming disconnect, end of conversation.
Above-mentioned local side apparatus OLT includes but is not limited to embedded device or computer equipment.
In the above method,
Send Register order sends heartbeat message to local side apparatus OLT for Media Gateway;
Active Channel order issues activation command to the voice channel of Media Gateway for local side apparatus OLT;
Send RTP Config order issues setting RTP address command to Media Gateway for local side apparatus OLT;
Report Phone Event order reports off-hook, on-hook and flash electricity to local side apparatus OLT for Media Gateway Words event;
Start Or Stop Tone order be local side apparatus OLT indicating media gateway play or stop dialing tone, busy tone, Howler tone and secondary dial tone etc.;
Report Dial Number order reports telephone number to local side apparatus OLT for Media Gateway;
Start Or Stop Ring order is that local side apparatus OLT issues ring to Media Gateway or stops ring order;
Set DSP Message order issues DSP message content to Media Gateway for local side apparatus OLT;
Open Or Close DSPChannel order issues to Media Gateway for local side apparatus OLT and opens or closes DSP Voice channel order.
The present invention reports telephone event to local side apparatus OLT by Media Gateway, and local side apparatus OLT is under Media Gateway Hair opens or closes media channel instruction, realizes the phonetic function of Media Gateway, each media gateway device be not necessarily to it is various soft Exchange or IMS SIP platform carry out compatibility test, and the complexity of phonetic function reduces, and the failure rate of media gateway device is significantly It reduces.
The present invention is not limited to above-mentioned preferred forms, anyone structure change made under the inspiration of the present invention, The technical schemes that are same or similar to the present invention are fallen within the scope of protection of the present invention.It should be noted that The term used in embodiments of the present invention is only to be not intended to limit the invention merely for for the purpose of describing particular embodiments. Packet is also intended in the embodiment of the present invention and the "an" of singular used in the attached claims, " described " and "the" Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is Refer to and includes that one or more associated any or all of project listed may combine.

Claims (2)

1. a kind of lightweight Media Gateway phonetic function implementation method, which is characterized in that logical including voice communication foundation and voice Words release, wherein voice communication establish specifically includes the following steps:
After step 101, Media Gateway starting, heartbeat message is sent to local side apparatus by Send Register order, and report Media Gateway voice channel number and state;
After step 102, local side apparatus receive heartbeat message, voice is issued to Media Gateway by Active Channel order Corresponding voice channel is set to available by channel activation command, Media Gateway;
Step 103, local side apparatus issue Send RTP Config order to Media Gateway, and Media Gateway setting is passed for rtp streaming Defeated IP address;
User's off-hook under step 104, Media Gateway, Media Gateway is by Report Phone Event order on local side apparatus Report off-hook event;
Step 105, local side apparatus are played by the corresponding FXS interface of Start Or Stop Tone order indicating media gateway and are dialled Number sound;
User makes a phone call number under step 106, Media Gateway, and by Report Dial Number order to local side apparatus Report telephone number;
After step 107, local side apparatus receive first in telephone number, indicated by Start Or Stop Tone order Media Gateway stops playing dialing tone;
Step 108, after local side apparatus has received telephone number, speech channel is transferred to it is called, and pass through Start Or Stop Ring order indicating media gateway playing RBT;
After step 109, local side apparatus detect called off-hook, stopped by Start Or Stop Ring order indicating media gateway Only playing RBT;
DSP message content after negotiation is sent to media net by Set DSP Message order by step 110, local side apparatus It closes, DSP voice channel is arranged according to DSP message content in Media Gateway;
Step 111, local side apparatus are opened DSP voice by Open Or Close DSPChannel order indicating media gateway and are led to Road;
Step 112, call are established;
Voice communication release specifically includes the following steps:
User's on-hook under step 113, Media Gateway, and on-hook is reported to local side apparatus by Report Phone Event order Event;
After step 114, local side apparatus receive onhook event, media are indicated by Open Or Close DSPChannel order Gateway closes DSP voice channel;
Step 115, rtp streaming disconnect, end of conversation;
The Send Register order sends heartbeat message to the local side apparatus for the Media Gateway;
The Active Channel order issues activation command to the voice channel of the Media Gateway for the local side apparatus;
The Send RTP Config order issues setting RTP address command to the Media Gateway for the local side apparatus;
The Report Phone Event order reports off-hook, on-hook and sudden strain of a muscle to the local side apparatus for the Media Gateway Disconnected telephone event;
The Start Or Stop Tone order be the local side apparatus indicate the Media Gateway play or stop dialing tone, Busy tone, howler tone and secondary dial tone;
The Report Dial Number order reports telephone number to the local side apparatus for the Media Gateway;
The Start Or Stop Ring order is that the local side apparatus issues ring to the Media Gateway or stops ring Order;
The Set DSP Message order issues DSP message content to the Media Gateway for the local side apparatus;
The Open Or Close DSPChannel order issues to the Media Gateway for the local side apparatus and plays on or off Close DSP voice channel order.
2. lightweight Media Gateway phonetic function implementation method as described in claim 1, which is characterized in that the local side apparatus Including but not limited to embedded device or computer equipment.
CN201610065140.6A 2016-01-29 2016-01-29 A kind of lightweight Media Gateway phonetic function implementation method Active CN105743892B (en)

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 CN105743892A (en) 2016-07-06
CN105743892B true 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 (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100563282C (en) * 2005-05-29 2009-11-25 华为技术有限公司 The method of listening dailed signal sound at dail line terminal during network interworking

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN105743892A (en) 2016-07-06

Similar Documents

Publication Publication Date Title
CN100455008C (en) Video communication method and system
CN102025832B (en) Mobile terminal and incoming call emergency processing method thereof
WO2006017072A3 (en) System and method for managing messages in a packetized voice environment
CN103200469B (en) PON system access terminal realizes the method for ip voice service call emulation
CN104767856B (en) A kind of desktop telephones system
CN102281367B (en) The method and system of Three-Way Calling are realized in a kind of Click To Dial
CN101997997A (en) System for realizing Internet telephony call transfer by utilizing SIP protocol and method thereof
CN105187611A (en) Calling terminal polyphonic ringtone processing method and device
CN110213139A (en) A kind of audio communication method and system
CN105743892B (en) A kind of lightweight Media Gateway phonetic function implementation method
CN100518219C (en) Method for realizing color ring back tone service on terminal
CN101588562B (en) Multimedia coloring ring back tone realizing method based on bearing -independent call control protocol and system thereof
CN101465922B (en) NGN network system and method for rapidly switching corresponding medium channel of low speed Modem equipment
CN101605357B (en) Method for accessing public switched telephone network by wireless network device and wireless network device
CN101610426A (en) A kind of one number service implementation method based on enterprise converged communication platform
CN102624585A (en) Analog conversation method based on gateway terminal equipment and voice device detection device
CN101159891B (en) Voice activation detection control method and controll equipment thereof
CN107105110A (en) A kind of calling-control method based on PSTN
CN104702802B (en) Broadcasting, setting method and the device of CRBT
CN107333015B (en) A kind of the isdn user's cut-in method and system of voip gateway
CN104041087B (en) A kind of method of calling, apparatus and system
CN103139055B (en) Voice home gateway side realizes method and the device of internal call transfer
CN103647888B (en) A kind of magnetite phone communication means based on Asterisk and device
CN106878843A (en) The method for reducing power consumption of bluetooth headset
CN107948056A (en) A kind of missed call information notice method

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