Patent attributes
A system for debugging an Internet protocol (IP) phone (104) includes an embedded media terminal adapter (EMTA) (100) connected to the IP phone, and a central office device (102) connected to the EMTA via a network. The EMTA includes a data obtaining module (1001) for obtaining operation data of the IP phone, a buffering module (1003) for temporarily storing the operation data, a data determining module (1005) for determining whether the buffering module is, a log file generating module (1007) for accessing the operation data in the buffering module and generating log files, and a storage module (1009) for storing the log files. The central office device is used for calling the log files when there is a malfunction in the IP phone, and restoring normal function to the IP phone via the network.