Method and device for obtaining calling number of incoming call
暂无分享,去创建一个
The embodiment of the invention discloses a method and device for obtaining a calling number of an incoming call, relating to the technical field of communication. The method and device disclosed by the invention are used for correctly obtaining the calling number and enabling some application programs of a called terminal, which cannot work until the calling number is obtained, can normally work. The method comprises the following steps of; receiving a calling message from a calling terminal, and enabling an answering line progress of the called terminal to enter a waiting state from an idle state when the calling message does not contain number information of the calling terminal, and waiting to receive a supplemental message including the number information of the calling terminal; and after receiving the supplemental message, reporting a calling state change message to all system application programs for monitoring the calling state, and enabling the answering line progress of the called terminal to enter a completion state from the waiting state, wherein the calling state change message comprises the number information of the calling terminal.