[asterisk-scf-commits] asterisk-scf/integration/sip.git branch "master" updated.

Commits to the Asterisk SCF project code repositories asterisk-scf-commits at lists.digium.com
Mon Sep 27 16:19:20 CDT 2010


branch "master" has been updated
       via  8de263c0a89d9dba02b180e6f7023ef074f5ceaf (commit)
       via  f81257a63d02315258facbcf21945eb88e9c2fbf (commit)
      from  4c3ee8cc8a5df18878d8d54df684aaa386231540 (commit)

Summary of changes:
 src/PJSipSessionModule.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


- Log -----------------------------------------------------------------
commit 8de263c0a89d9dba02b180e6f7023ef074f5ceaf
Merge: f81257a 4c3ee8c
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Sep 27 16:19:48 2010 -0500

    Merge branch 'master' of git.asterisk.org:asterisk-scf/integration/sip


commit f81257a63d02315258facbcf21945eb88e9c2fbf
Author: Mark Michelson <mmichelson at digium.com>
Date:   Mon Sep 27 16:18:49 2010 -0500

    Add to debug messages and create a key for the invite session state.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 8e4e5f2..8b4b69b 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -163,6 +163,7 @@ PJSipSessionModInfo::PJSipSessionModInfo(pjsip_inv_session *inv_session, SipSess
 									   mNeedsRemoval(false), mSession(session)
 {
    mSessionState->key = IceUtil::generateUUID();
+   mInviteState->key = IceUtil::generateUUID();
    mSessionState->mSessionId = mSessionState->key;
    mInviteState->mSessionId = mSessionState->key;
    updateSessionState(inv_session);
@@ -718,12 +719,12 @@ static void invOnTransactionStateChanged(pjsip_inv_session *inv, pjsip_transacti
 		{
 			session_mod_info->updateSessionState(inv);
 		}
-		std::cerr << "[DEBUG] Replicating state on transaction state change" << std::endl;
+		std::cerr << "[DEBUG] Replicating state on transaction state change to " << tsx->state << std::endl;
 		replicateState(dlg_mod_info, tsx_mod_info, session_mod_info);
 	}
 	else if (e->type == PJSIP_EVENT_TIMER)
 	{
-		std::cerr << "[DEBUG] Replicating state on transaction state change" << std::endl;
+		std::cerr << "[DEBUG] Replicating state on transaction state change to " << tsx->state << std::endl;
 		replicateState(NULL, tsx_mod_info, NULL);
 	}
 }

-----------------------------------------------------------------------


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list