{
Edje_Message_Float msgf = {0};
Evas_Object *ed;
+ OFono_Call_State state = ofono_call_state_get(c);
double start, now, elapsed;
char part[128], buf[128] = "";
+ if ((state != OFONO_CALL_STATE_ACTIVE) &&
+ (state != OFONO_CALL_STATE_HELD))
+ goto end;
+
if (ofono_call_multiparty_get(c))
start = ctx->multiparty.start;
else
{
Edje_Message_Float msgf = {0};
Evas_Object *ed;
+ OFono_Call_State state = ofono_call_state_get(ctx->calls.current);
double start, now, elapsed;
char buf[128] = "";
+ if ((state != OFONO_CALL_STATE_ACTIVE) &&
+ (state != OFONO_CALL_STATE_HELD))
+ goto end;
+
if (ofono_call_multiparty_get(ctx->calls.current))
start = ctx->multiparty.start;
else