Fixed more bugs caused by ticket #221
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1250 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
parent
c71ad43666
commit
54f6d8d442
|
@ -2516,7 +2516,14 @@ static pj_status_t tsx_on_state_proceeding_uac(pjsip_transaction *tsx,
|
||||||
pj_time_val timeout;
|
pj_time_val timeout;
|
||||||
pjsip_tx_data *ack_tdata = NULL;
|
pjsip_tx_data *ack_tdata = NULL;
|
||||||
|
|
||||||
|
/* Cancel retransmission timer */
|
||||||
|
if (tsx->retransmit_timer.id != 0) {
|
||||||
|
pjsip_endpt_cancel_timer(tsx->endpt, &tsx->retransmit_timer);
|
||||||
|
tsx->retransmit_timer.id = 0;
|
||||||
|
}
|
||||||
|
|
||||||
/* Stop timer B. */
|
/* Stop timer B. */
|
||||||
|
tsx->timeout_timer.id = 0;
|
||||||
pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer );
|
pjsip_endpt_cancel_timer( tsx->endpt, &tsx->timeout_timer );
|
||||||
|
|
||||||
/* Generate and send ACK (for INVITE) */
|
/* Generate and send ACK (for INVITE) */
|
||||||
|
|
Loading…
Reference in New Issue