Partager via


3.2.2.2.1 Packet Retransmission Timer

The packet retransmission timer is started when the client call transmits a REQUEST, FACK, PING, or QUIT packet. The timer is canceled when the client receives a response from the server. If the timer expires, the previously transmitted packet SHOULD be considered lost, and the client SHOULD send new packets following the procedure specified in section 3.2.1.5.3. If the call's F_CANCELED flag is set, a QUIT packet is sent; otherwise, the packet type depends on the Call State:

  • STATE_SEND_FRAGS -> REQUEST

  •  STATE_DISPATCHED-> PING

  • STATE_RECEIVE_FRAGS ->FACK

The timer interval SHOULD be initially 1 second. When a call in STATE_DISPATCHED receives a WORKING packet or a NOCALL packet with a body that specifies a window size of zero, the timer interval SHOULD be doubled. The interval SHOULD be limited to a maximum of 32 seconds. In addition, when a call's F_CANCELED flag is set, the timer interval SHOULD be limited to the max of 2 seconds or the cancel time-out. If the timer expires, the previously transmitted packet SHOULD be considered as lost, and the client SHOULD send new packets following the procedure specified in section 3.2.1.5.3.