Handle AT+CHLD=1 when there is no active call
1. Connect to headset/carkit with 3-way calling support.
2. Make an incoming call or put active call on hold.
3. Send AT+CHLD=1 command from remote headset.
AG responds with error for AT+CHLD=1 from remote since there is
no active call. Incoming ringing call is not accepted. If there
is a call on hold, it remains on hold.
Since there is no active call, we are returning error instead of
checking for presence of incoming or held call to make it active.
When AT+CHLD=1 is received, end the active call if any and accept
the incoming call or make the held call to active if exists.
1 file changed