From 09ddedb2f17ff4c6259df504be09cb7efcefd623 Mon Sep 17 00:00:00 2001 From: Benny Prijono Date: Mon, 8 Feb 2010 17:42:35 +0000 Subject: More ticket #1033: - fixed the problem that caused ACK not to be sent. This happened when TCP switching is used, and the TCP fails to send the request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3090 74dad513-b988-da41-8d7b-12977e46ad98 --- pjsip/src/pjsip/sip_transaction.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'pjsip') diff --git a/pjsip/src/pjsip/sip_transaction.c b/pjsip/src/pjsip/sip_transaction.c index ffffed16..3ff1301c 100644 --- a/pjsip/src/pjsip/sip_transaction.c +++ b/pjsip/src/pjsip/sip_transaction.c @@ -1805,6 +1805,10 @@ static void send_msg_callback( pjsip_send_state *send_state, pjsip_endpt_schedule_timer( tsx->endpt, &tsx->timeout_timer, &timeout_timer_val); } + + /* Put again pending tdata */ + tdata->mod_data[mod_tsx_layer.mod.id] = tsx; + tsx->pending_tx = tdata; } } -- cgit v1.2.3