Lines Matching refs:cstate
103 if (c->cstate != state) {
105 c->cref, c->mine, callstates[c->cstate].name,
107 c->cstate = state;
167 c->cstate = CALLST_NULL;
600 map_callstate(c->cstate), NULL, 0);
784 map_callstate(c->cstate), NULL, 0);
793 map_callstate(c->cstate), NULL, 0);
798 if (c->cstate == CALLST_U1 || c->cstate == CALLST_N6)
800 else if (c->cstate == CALLST_U3 || c->cstate == CALLST_N9)
1100 map_callstate(c->cstate), NULL, 0);
1119 if (c->cstate == CALLST_U1 || c->cstate == CALLST_N6)
1121 else if (c->cstate == CALLST_U3 || c->cstate == CALLST_N9)
1123 else if (c->cstate == CALLST_U4 || c->cstate == CALLST_N7) {
1208 map_callstate(c->cstate), NULL, 0);
1275 map_callstate(c->cstate), NULL, 0);
1306 if (c->cstate == CALLST_U6 || c->cstate == CALLST_N1) {
1411 if (c->cstate != new_state) {
1515 map_callstate(c->cstate), &u->u.notify.epref,
1525 map_callstate(c->cstate), &u->u.notify.epref,
1717 ns = c->cstate;
1747 if (ns == c->cstate) {
1754 stat->my_state = map_callstate(c->cstate);
1821 ns = c->cstate;
1894 stat->my_state = map_callstate(c->cstate);
1901 if (ns == c->cstate) {
2076 MK_IE_CALLSTATE(u->u.status.callstate, map_callstate(c->cstate));
2308 if (c->cstate != CALLST_U11) {
2332 if (c->cstate != CALLST_U11) {
2360 if (c->cstate != CALLST_U11) {
2384 if (c->cstate != CALLST_U11) {
2412 if (c->cstate != CALLST_U11) {
2436 if (c->cstate != CALLST_U11) {
2736 map_callstate(c->cstate), &u->u.add_party.epref,
2745 map_callstate(c->cstate), &u->u.add_party.epref,
2771 map_callstate(c->cstate), NULL, 0);
2830 map_callstate(c->cstate), &u->u.add_party_ack.epref,
2838 map_callstate(c->cstate), &u->u.add_party_ack.epref,
2930 map_callstate(c->cstate), &u->u.party_alerting.epref,
2938 map_callstate(c->cstate), &u->u.party_alerting.epref,
3010 if (c->cstate != CALLST_U11 && c->cstate != CALLST_N12) {
3051 &u->u.hdr.cref, map_callstate(c->cstate),
3062 &u->u.hdr.cref, map_callstate(c->cstate),
3125 map_callstate(c->cstate),
3136 map_callstate(c->cstate),
3204 &u->u.hdr.cref, map_callstate(c->cstate),
3211 &u->u.hdr.cref, map_callstate(c->cstate),
3260 (c->cstate == CALLST_U11 ||
3261 c->cstate == CALLST_U12 ||
3262 c->cstate == CALLST_N11 ||
3263 c->cstate == CALLST_N12)) ||
3281 map_callstate(c->cstate));
3348 "; cookie %u", call_sigs[sig], callstates[c->cstate].name, c->cref,
3354 if (c->cstate == CALLST_U10 || c->cstate == CALLST_N10)
3365 if (c->cstate != CALLST_U10 && c->cstate != CALLST_N10) {
3368 callstates[c->cstate].name);
3377 switch (c->cstate) {
3406 callstates[c->cstate].name);
3411 if (c->cstate != CALLST_U10 && c->cstate != CALLST_N10) {
3414 callstates[c->cstate].name);
3429 if (c->cstate != CALLST_NULL) {
3444 if (c->cstate == CALLST_U1) {
3449 if (c->cstate == CALLST_N6) {
3460 if (c->cstate == CALLST_U1 || c->cstate == CALLST_U3) {
3466 if (c->cstate == CALLST_N6) {
3478 if (c->cstate == CALLST_U1 || c->cstate == CALLST_U3 ||
3479 c->cstate == CALLST_U4) {
3486 if (c->cstate == CALLST_N6 || c->cstate == CALLST_N7 ||
3487 c->cstate == CALLST_N9) {
3500 if (c->cstate == CALLST_U8) {
3505 if (c->cstate == CALLST_N10) {
3514 switch (c->cstate) {
3568 if (c->cstate == CALLST_U11 || c->cstate == CALLST_U12 ||
3569 c->cstate == CALLST_N11 || c->cstate == CALLST_N12) {
3596 switch (c->cstate) {
3624 switch (c->cstate) {
3651 switch (c->cstate) {
3675 switch (c->cstate) {
3705 switch (c->cstate) {
3753 switch (c->cstate) {
3798 if (c->cstate == CALLST_NULL) {
3808 callstates[c->cstate].name);
3814 if (c->cstate == CALLST_U6 || c->cstate == CALLST_U9 ||
3815 c->cstate == CALLST_U7) {
3822 if (c->cstate == CALLST_N1 || c->cstate == CALLST_N3 ||
3823 c->cstate == CALLST_N4) {
3831 callstates[c->cstate].name);
3837 if (c->cstate == CALLST_N8) {
3843 callstates[c->cstate].name);
3849 if (c->cstate == CALLST_U6) {
3854 if (c->cstate == CALLST_N1) {
3860 callstates[c->cstate].name);
3866 if (c->cstate == CALLST_U6 || c->cstate == CALLST_U9) {
3872 if (c->cstate == CALLST_N1 || c->cstate == CALLST_N3) {
3879 callstates[c->cstate].name);
3885 switch (c->cstate) {
3918 callstates[c->cstate].name);
3927 if (c->cstate == CALLST_U6 || c->cstate == CALLST_U12 ||
3928 c->cstate == CALLST_N1 || c->cstate == CALLST_N11) {
3937 callstates[c->cstate].name);
3955 if (c->cstate == CALLST_U4 || c->cstate == CALLST_U10 ||
3956 c->cstate == CALLST_N7 || c->cstate == CALLST_N10) {
3965 callstates[c->cstate].name);
3971 if (c->cstate == CALLST_U7 || c->cstate == CALLST_U8 ||
3972 c->cstate == CALLST_U10 ||
3973 c->cstate == CALLST_N4 || c->cstate == CALLST_N10) {
3984 callstates[c->cstate].name);
3990 if (c->cstate == CALLST_U10 || c->cstate == CALLST_N10) {
3998 callstates[c->cstate].name);
4004 if (c->cstate == CALLST_U7 || c->cstate == CALLST_U8 ||
4005 c->cstate == CALLST_U10 ||
4006 c->cstate == CALLST_N4 || c->cstate == CALLST_N10) {
4017 callstates[c->cstate].name);
4023 if (c->cstate != CALLST_U11 && c->cstate != CALLST_U12 &&
4024 c->cstate != CALLST_N11 && c->cstate != CALLST_N12 &&
4025 c->cstate != CALLST_NULL) {
4034 callstates[c->cstate].name);
4040 if (c->cstate != CALLST_U11 && c->cstate != CALLST_U12 &&
4041 c->cstate != CALLST_N11 && c->cstate != CALLST_N12 &&
4042 c->cstate != CALLST_NULL) {
4052 callstates[c->cstate].name);
4070 if (c->cstate == CALLST_U4 || c->cstate == CALLST_N7) {
4077 callstates[c->cstate].name);
4081 if (c->cstate == CALLST_U1 || c->cstate == CALLST_N6) {
4088 callstates[c->cstate].name);
4092 if (c->cstate == CALLST_U11 || c->cstate == CALLST_N12) {
4099 callstates[c->cstate].name);
4103 if (c->cstate == CALLST_U3 || c->cstate == CALLST_N9) {
4110 callstates[c->cstate].name);
4114 if (c->cstate == CALLST_U8) {
4120 callstates[c->cstate].name);
4169 else if(c->cstate != CALLST_U11) {
4181 else if (c->cstate != CALLST_U11) {
4273 if ((c->cstate == CALLST_U1 ||
4274 c->cstate == CALLST_U3 ||
4275 c->cstate == CALLST_U4) &&
4282 if ((c->cstate == CALLST_N6 ||
4283 c->cstate == CALLST_N7 ||
4284 c->cstate == CALLST_N8 ||
4285 c->cstate == CALLST_N9) &&
4294 (c->cstate == CALLST_U6 ||
4295 c->cstate == CALLST_U7 ||
4296 c->cstate == CALLST_U8 ||
4297 c->cstate == CALLST_N9))
4304 (c->cstate == CALLST_N1 ||
4305 c->cstate == CALLST_N3 ||
4306 c->cstate == CALLST_N4))
4309 return (c->cstate);