summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2009-08-17 12:59:21 +0000
committerNanang Izzuddin <nanang@teluu.com>2009-08-17 12:59:21 +0000
commit02a717192abbd056e7ec6e754c9b42ddb972b755 (patch)
tree56a7ac6a4de01c85e483f0d92a0a57f82e7a30f2
parentf30ffc6ffcbf688897809460c713a4614ab05d8a (diff)
Ticket #833: Fixed bug in session timer, timer callback shouldn't perform re-INVITE or BYE when there is pending INVITE.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2889 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjsip/src/pjsip-ua/sip_timer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pjsip/src/pjsip-ua/sip_timer.c b/pjsip/src/pjsip-ua/sip_timer.c
index af885ffb..2c86c207 100644
--- a/pjsip/src/pjsip-ua/sip_timer.c
+++ b/pjsip/src/pjsip-ua/sip_timer.c
@@ -332,6 +332,10 @@ void timer_cb(pj_timer_heap_t *timer_heap, struct pj_timer_entry *entry)
PJ_UNUSED_ARG(timer_heap);
+ /* Must NOT have a pending INVITE transaction */
+ if (inv->invite_tsx != NULL)
+ return;
+
/* Lock dialog. */
pjsip_dlg_inc_lock(inv->dlg);