Author: sayer
Date: 2008-07-16 15:00:59 +0200 (Wed, 16 Jul 2008)
New Revision: 1049

Modified:
   trunk/core/plug-in/session_timer/SessionTimer.cpp
Log:
more verbose logging, so we know where the reinvite/bye comes from

Modified: trunk/core/plug-in/session_timer/SessionTimer.cpp
===================================================================
--- trunk/core/plug-in/session_timer/SessionTimer.cpp   2008-07-15 18:48:07 UTC 
(rev 1048)
+++ trunk/core/plug-in/session_timer/SessionTimer.cpp   2008-07-16 13:00:59 UTC 
(rev 1049)
@@ -315,6 +315,7 @@
   int timer_id = timeout_ev->data.get(0).asInt();
 
   if (timer_id == ID_SESSION_REFRESH_TIMER) {
+    DBG("Session Timer: initiating refresh (Re-Invite)\n");
     if (session_refresher == refresh_local) 
       // send reinvite with SDP
       s->sendReinvite(true);
@@ -323,10 +324,9 @@
   } else if (timer_id == ID_SESSION_INTERVAL_TIMER) {
     //     // let the session know it got timeout
     //     onTimeout();
-       
+    DBG("Session Timer: Timerout, ending session.\n");
     s->dlg.bye();
     s->setStopped();
-
   } else {
     DBG("unknown timeout event received.\n");
   }

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to