Call processing method and apparatus, storage medium, and electronic
AssigneeBeijing Xiaomi Mobile Software Co., Ltd.
InventorShilong Pei
Life of this patent
Estimating the term…
Abstract
A call processing method includes: receiving, in response to determining a voice over Internet protocol (VOIP) call needs to be initiated through a first application on a terminal, a call state query request message sent by the first application, where the call state query request message is used to request querying whether the terminal is engaged in a telephone call; and always sending, to the first application, a response message used to indicate that the terminal is not engaged in a telephone call, so that the first application establishes the VOIP call with a first peer device based on the response message.
Claims20
A call processing method, wherein the call processing method is performed by a terminal, and the call processing method comprises:
- receiving, in response to determining a voice over Internet protocol (VOIP) call needs to be initiated through a first application on the terminal, a call state query request message sent by the first application, wherein the call state query request message is used to request querying whether the terminal is engaged in a telephone call;
- and
- always sending, to the first application, a response message used to indicate that the terminal is not engaged in the telephone call, so that the first application establishes the VOIP call with a first peer device based on the response message;
- wherein always sending, to the first application, the response message used to indicate that the terminal is not engaged in the telephone call comprises:
- returning, in response to determining that a function allowing coexistence of the telephone call and the VOIP call is enabled, the response message that the terminal is not engaged in the telephone call to the first application, regardless as to whether current monitoring indicates that the terminal is engaged in the telephone call.
A non-transitory computer-readable storage medium storing a computer program, wherein the computer program, when executed by one or more processors, causes the one or more processors to perform a method comprising:
- receiving, in response to determining a voice over Internet protocol (VOIP) call needs to be initiated through a first application on a terminal, a call state query request message sent by the first application, wherein the call state query request message is used to request querying whether the terminal is engaged in a telephone call;
- always sending, to the first application, a response message used to indicate that the terminal is not engaged in the telephone call, so that the first application establishes the VOIP call with a first peer device based on the response message;
- and
- returning, in response to determining that a function allowing coexistence of the telephone call and the VOIP call is enabled, the response message that the terminal is not engaged in the telephone call to the first application, regardless as to whether current monitoring indicates that the terminal is engaged in the telephone call.
An electronic device, comprising:
- one or more processors;
- and
- a memory configured to store processor executable instructions,
- wherein the one or more processors, when executing the processor executable instructions, are collectively configured to:
- receive, in response to determining a voice over Internet protocol (VOIP) call needs to be initiated through a first application on a terminal, a call state query request message sent by the first application, wherein the call state query request message is used to request querying whether the terminal is engaged in a telephone call;
- always send, to the first application, a response message used to indicate that the terminal is not engaged in the telephone call, so that the first application establishes the VOIP call with a first peer device based on the response message;
- and
- return, in response to determining that a function allowing coexistence of the telephone call and the VOIP call is enabled, the response message that the terminal is not engaged in the telephone call to the first application, regardless as to whether current monitoring indicates that the terminal is engaged in the telephone call.
Dependencies are inferred from the claim text.