fixed bug in call state control with newly created slots not

having last activity time recorded at creation.
This commit is contained in:
gardners 2012-04-21 09:09:01 +09:30
parent 6713ff67cb
commit 68b2778c93

1
vomp.c
View File

@ -114,6 +114,7 @@ vomp_call_state *vomp_find_or_create_call(unsigned char *remote_sid,
vomp_call_states[i].local.state=VOMP_STATE_NOCALL;
vomp_call_states[i].remote.state=VOMP_STATE_NOCALL;
vomp_call_states[i].create_time=overlay_gettime_ms();
vomp_call_states[i].last_activity=vomp_call_states[i].create_time;
return &vomp_call_states[i];
}