projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72d68e5
)
Allow sending DTMF tones in alerting state
author
Pekka Pessi
<Pekka.Pessi@nokia.com>
Thu, 8 Oct 2009 16:59:53 +0000
(19:59 +0300)
committer
Denis Kenzior
<denkenz@gmail.com>
Thu, 8 Oct 2009 17:55:41 +0000
(12:55 -0500)
2nd stage dialing may be done before call gets connected.
src/voicecall.c
patch
|
blob
|
history
diff --git
a/src/voicecall.c
b/src/voicecall.c
index
1be907a
..
bd5358c
100644
(file)
--- a/
src/voicecall.c
+++ b/
src/voicecall.c
@@
-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;