comparison sip-in/call_list.c @ 68:709b78a4ebf0

sip-in: implement retransmission of INVITE responses
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 18 Sep 2022 21:56:20 -0800
parents e5aee661e3b2
children 915f0f397fb6
comparison
equal deleted inserted replaced
67:15c9e1f8f756 68:709b78a4ebf0
50 call->mncc_callref = next_callref; 50 call->mncc_callref = next_callref;
51 return(0); 51 return(0);
52 } 52 }
53 } 53 }
54 } 54 }
55
56 void
57 scan_call_list_for_timeouts(retrans)
58 int *retrans;
59 {
60 struct call *call;
61
62 for (call = call_list; call; call = call->next) {
63 switch (call->sip_state) {
64 case SIP_STATE_INVITE_200:
65 case SIP_STATE_INVITE_ERR:
66 *retrans = 1;
67 break;
68 }
69 }
70 }