Transferred from: http://blog.csdn.net/wangwenwen/article/details/82649251. DTMF principleDTMF (double Tone mulitifrequency, dual tone multi-frequency) as a technology to achieve fast and reliable transmission of telephone numbers, it has strong anti-jamming ability and high transmission speed, so it can be widely used in telephone communication system. But most of the audio dialing is used as a telephone. In addition, it can be widely used in data co
Background
System Structure
Extension 1026 and extension 1027 are used in the existing telephone system, and an asterisk is implemented under extension 1026 and extension 1027. A: In the 1027 system, ext. B: 1011 in the 1026 system, ext. 1012 is now called B through a. Because the language menu is implemented in the 1026 system, first, you can use the 91026 incoming call 1026 system (with an external dialing 9), and then enter 1012 according to the prompt. The existing vswitch does not sup
1, DTMF (dual-tone multi-frequency) Definition: By the high-frequency and low-frequency sound two sine wave synthesis represents the digital keys (0~9 * # A B C D).2. Methods for detecting DTMF data in sip: Sipinfo, RFC2833, Inband1) SipinfoFor out-of-band detection, DTMF data is transmitted through the SIP signaling channel. There is no uniform implementation st
value range between 32768 to 32767, if you get an already encoded media stream, such as g.711 encoding, then need to decode first), do the following calculation:When the above calculation is complete, we can get the energy value p of the frequency F reflected in these n samples:DTMF RecognitionThe above is the whole idea of Goertzel algorithm. If we want to use it for DTMF recognition, we still need to do some work.
DTMF definition: Digital keys (0 ~ 9 * # a B C D ).
There are usually three methods for detecting DTMF in VoIP: SIP info, inband, and out band (rfc2833). In addition, the latest RFC has been adopted for the requirements of DTMF In the 3GPP IMS specification.4733 replaces RFC 2833.
1. Sip info
For out-of-band detection, DTMF
Pjsip source code is relatively powerful. Let's talk about what DTMF is?
Dual-Tone Multi-frequency DTMF (Dual Tone Multi frequency), dual-Tone Multi-frequency, composed of high frequency groups and low frequency groups, each of which contains four frequencies. A high-frequency signal and a low-frequency signal are combined to form a combined signal, representing a number. The
This item is the starting point for accurate identification of DTMF signals. After detecting this item, the DTMF decoder is triggered to decode the received data and wait until the corresponding dial key value is reached.1. analysis of input signal features: the signal is the circuit noise in the DTMF signal plus the channel. Now, preliminary analysis shows that
DTMF encoding transmitted by rfc2833 in Voice Transmission
2007-03-23 11:13:48
The class is defined as follows:
# If! Defined (afx_head_2833_h000093b5c358_6f19_475b_a49f_13bfcc9dfe1c00000000ded _)# DefineAfx_head_2833_h000093b5c358_6f19_475b_a49f_13bfcc9dfe1c00000000ded _
# If _ msc_ver> 1000# Pragma once# Endif // _ msc_ver> 1000
Class chead_2833{Public:Bool dispelhead (char *Cvalue );Int btodd (char * cvalue );Char * dtob (intNvalue );Che
This article from csdn ucser, http://blog.csdn.net/perfectpdl reprinted to indicate the source, thank you!
DTMF is called multi-tone dual-join, also called secondary dialing. There are three methods for VoIP to carry DTMF: inband, RFC 2833 (the latest RFC is 4733, which is referenced in IMS), and SIP info.
The inband mode transfers the buffer generated by keys to the audio RTP stream, instead of definin
In the blog that introduces the four main objects, you can basically understand the process of program initiation:Main-->uiapplicationmain--> Create instances of UIApplication and app proxy appdelegate and set up proxy---> After the program starts, that is, after the splash screen is displayed, Appdelegate Create UIWindow (can be created automatically, or can be created manually)The question now is how to create a controller and set it as the root
Jump from the Controller on one item of tabBarController to the Controller on another item, and redirect mvc to another controller.
First, from the habitual tabBarController, many application boxes start with this, and from the Controller on one item of tabBarController to the other, usually, you can directly switch by
The controller is part of the MVC pattern, an object that inherits the Yii\base\controller class, and is responsible for processing requests and generating responses. Specifically, the controller analyzes the request data and transmits it to the model, transmits the model results to the view, and finally generates the output response information from the applicat
AngularJS controller inherits from another controller, and angularjs controller inherits
Controller inheritance in AngularJS, commonly used is the scope nested scope. By default, when an attribute cannot be found in the current scope, it will be searched in the parent scope. If it cannot be found until $ rootScope is
A container view controller is a way to combine the contents of multiple view controllers into a single user interface. The container view controller is often used to make navigation easier, creating a new user interface type based on what already exists. For example, the container view controller in Uikit includes Uinavigationcontroller,uitabbarcontroller and Ui
There are two ways to implement a view controller to the screen: embed it in a container view controller or directly render it. The container view Controller provides a primary navigation function for an application, but the present view controller is also an important navigation tool. You can directly use presentation
Describes how to create a controller (createController) in Yii2. Default controller in yii2
This example describes how to create a controller (createController) in yii2. We will share this with you for your reference. The details are as follows:
In yii, the controller is created by parsing the routing information throu
Read the catalogue:
1. Introduction
Ingress of the 2.ASP.NETMVC controller controllers (execution flow of director)
3.ASP.NETMVC Controller's entry (System of Controllers inheritance)
4.ASP.NETMVC IController Factory Controllers factory (controller creation)
1 "IntroductionAfter the previous article . Net/asp.net routing Routing (in-depth analysis of the routing system Architecture
Reference: http://www.cnblogs.com/xiaoxi/p/5695783.html1, directly the parameter of the form is written in the parameters of the controller corresponding method, applicable to the Get method submission, not for post mode submission. /** * 1. Write the parameters of the form directly in the parameter of the controller corresponding method * @param username * @param password * @return *
1. Requirements backgroundRequirement: The spring MVC Framework controller jumps between the controllers and needs to be redirected. There are several situations: without parameter jump, with the parameter splicing URL form jump, with parameters do not join parameters jump, the page can also be displayed.I thought it was a simple thing, and personally think that the more commonly used one way, 100 degrees all have, these are not problems, but 100 degr
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.