mirror of git://git.sysmocom.de/ofono
Allow sending DTMF tones in alerting state
2nd stage dialing may be done before call gets connected.
This commit is contained in:
parent
72d68e5001
commit
0063db3a74
|
@ -138,7 +138,7 @@ static const char *call_status_to_string(int status)
|
|||
case CALL_STATUS_DIALING:
|
||||
return "dialing";
|
||||
case CALL_STATUS_ALERTING:
|
||||
return "alerting";
|
||||
return "alerting";
|
||||
case CALL_STATUS_INCOMING:
|
||||
return "incoming";
|
||||
case CALL_STATUS_WAITING:
|
||||
|
@ -561,6 +561,10 @@ static gboolean voicecalls_have_connected(struct ofono_voicecall *vc)
|
|||
|
||||
if (v->call->status == CALL_STATUS_ACTIVE)
|
||||
return TRUE;
|
||||
|
||||
/* Connected for 2nd stage dialing */
|
||||
if (v->call->status == CALL_STATUS_ALERTING)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in New Issue