Patent ID: 8909533

Claim:
A method for performing speech recognition and enrollment, comprising: receiving, by a media gateway (MG), a Speech Enrollment Start Request for triggering a grammar enrollment session from a media gateway controller (MGC); after receiving the Speech Enrollment Start Request, establishing, by the MG, the grammar enrollment session according to the Speech Enrollment Start Request; receiving, by the MG, a Speech Recognition Request instructing the MG to enroll a phrase in a grammar associated with the grammar enrollment session, from the MGC after the grammar enrollment session is established; performing, by the MG, an enrollment for the phrase according to the Speech Recognition Request; and sending, by the MG, an enrollment result to the MGC, wherein the enrollment result is carried in a parameter of an Enrollment Results event of an H.248 protocol, the enrollment result comprises information indicating the number of consistent pronunciations that must still be obtained before the phrase is added to the grammar.