The invention discloses a method for executing
voice production measurement based on single-voice hole devices. The method comprises the following steps: setting
voice communication parameters by virtue of a data configuration module; creating a voice progress by virtue of a
data input interface, and allocating progress number to the
data input interface; initializing a voice drive, invoking a speaking test
staring function to create a voice
stream structural body object and allocate memory to the voice
stream structural body object, and filling values into the
voice communication parameters; storing the
voice communication parameters, and simultaneously sending signals to a business
processing module; and after the signals are received by the business
processing module, operating SLIC to open a
media channel, and carrying out the
voice production measurement. According to the method, the registering on OLT is omitted, the registering of a voice
server is omitted, and single board IP is configured to connect two single-voice hole devices, so that the problem that the single-voice-hole devices cannot be subjected to a speaking test is solved, and the dependence on a specific testing environment is reduced without increasing the hardware cost.