Commit cacceac0 authored by Pekka Pessi's avatar Pekka Pessi

It is nua_callstate_completed, not nua_callstate_complete.

darcs-hash:20051010172501-65a35-62b88887f1c41d8450fa98c2e5d6c97eca4a46af.gz
parent b1eb34d8
......@@ -244,7 +244,7 @@ char const *nua_callstate_name(enum nua_callstate state)
case nua_callstate_completing: return "completing";
case nua_callstate_received: return "received";
case nua_callstate_early: return "early";
case nua_callstate_complete: return "complete";
case nua_callstate_completed: return "completed";
case nua_callstate_ready: return "ready";
case nua_callstate_terminating: return "terminating";
case nua_callstate_terminated: return "terminated";
......
......@@ -4269,7 +4269,7 @@ void respond_to_invite(nua_t *nua, nua_handle_t *nh,
status >= 300
? nua_callstate_init
: status >= 200
? nua_callstate_complete
? nua_callstate_completed
: nua_callstate_early,
autoanswer && sr->sr_offer_recv ? "offer" : 0,
offer ? "offer" : answer ? "answer" : 0);
......
......@@ -775,7 +775,7 @@ CONDITION_FUNCTION(receive_basic_call)
"a=rtcp:5011"),
TAG_END());
return 0;
case nua_callstate_complete:
case nua_callstate_completed:
return 0;
case nua_callstate_ready:
fprintf(stderr, "%s.nua(%p): nua_bye()\n", ep->name, nh);
......@@ -820,7 +820,7 @@ int test_basic_call(struct context *ctx)
TEST_1(e = e->next); TEST(e->data->e_event, nua_i_state);
TEST(callstate(e), nua_callstate_early); /* EARLY */
TEST_1(e = e->next); TEST(e->data->e_event, nua_i_state);
TEST(callstate(e), nua_callstate_complete); /* COMPLETE */
TEST(callstate(e), nua_callstate_completed); /* COMPLETE */
TEST_1(e = e->next); TEST(e->data->e_event, nua_i_ack);
TEST_1(e = e->next); TEST(e->data->e_event, nua_i_state);
TEST(callstate(e), nua_callstate_ready); /* READY */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment