A method for collecting numbers based on the media gateway control protocol, comprising: A. a media gateway reporting an off-hook signal to a media gateway controller; the media gateway controller sending a notification request RQNT to the media gateway, wherein the RQNT comprises number receiving request information; B. the media gateway receiving the number receiving request information, matching a number list distributed by the media gateway controller with number information buffered in a quarantine list, and sending matched number(s) to the media gateway controller via a notification message NTFY; C. the media gateway controller determining the quantity of numbers to be received according to the matched number(s), sending the RQNT and an Embedded Notification Request to the media gateway when the quantity of numbers to be received is two or more, after which step D is performed; and sending the RQNT to the media gateway when the quantity of numbers to be received is one, after which step E is performed; wherein the method is ended when the quantity of numbers to be received is zero, wherein the number receiving request information is comprised in both the RQNT and the Embedded Notification Request (104,105,107,109); D. the media gateway extracting a number at the highest position in the quarantine list and reporting the same to the media gateway controller via the NTFY; after receiving the NTFY, the media gateway controller extracting the number at the highest position and returning an acknowledgment message to the media gateway; the media gateway then reporting a number at the second highest position via the NTFY; and then returning to step C; and E. the media gateway extracting a first number in the quarantine list and reporting the same to the media gateway controller via the NTFY; after the NTFY is received, the media gateway controller extracting the first number and returning an acknowledgement message to the media gateway; and then the method being ended. A. a media gateway reporting an off-hook signal to a media gateway controller; the media gateway controller sending a notification request RQNT to the media gateway, wherein the RQNT comprises number receiving request information; B. the media gateway receiving the number receiving request information, matching a number list distributed by the media gateway controller with number information buffered in a quarantine list, and sending matched number(s) to the media gateway controller via a notification message NTFY; C. the media gateway controller determining the quantity of numbers to be received according to the matched number(s), sending the RQNT and an Embedded Notification Request to the media gateway when the quantity of numbers to be received is two or more, after which step D is performed; and sending the RQNT to the media gateway when the quantity of numbers to be received is one, after which step E is performed; wherein the method is ended when the quantity of numbers to be received is zero, wherein the number receiving request information is comprised in both the RQNT and the Embedded Notification Request (104,105,107,109); D. the media gateway extracting a number at the highest position in the quarantine list and reporting the same to the media gateway controller via the NTFY; after receiving the NTFY, the media gateway controller extracting the number at the highest position and returning an acknowledgment message to the media gateway; the media gateway then reporting a number at the second highest position via the NTFY; and then returning to step C; and E. the media gateway extracting a first number in the quarantine list and reporting the same to the media gateway controller via the NTFY; after the NTFY is received, the media gateway controller extracting the first number and returning an acknowledgement message to the media gateway; and then the method being ended.