System and method for realizing speech apparatus function test

This invention discloses the system and method of realizing voice equipment test function. The system of realizing voice equipment test function includes: the tested voice equipment, TTCN2 module and tested voice simulation module. TTCN2 module connects with tested voice equipment and tested voice simulation module, it is used to test the tested voice equipment; the tested voice simulation moduleis used to send test voice to tested voice equipment. The method includes: send the control information written in accordance with TTCN2 which tested voice equipment requires; send test voice to tested voice equipment, it has a response to test voice; compare the tested voice equipment's response and the predetermined outcome of test, determine whether the test is correct. The system and the method of this invention introduce protocol testing tools TTCN2 at the stage of voice equipment test, it realizes voice equipment functional test's automation, and it simplifies the testing environment and saves the equipment investment.