[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 08:54:47 CDT 2010


branch "master" has been updated
       via  6a2dd6761ebbd38b4b2053f083aca1c7fd9f0df2 (commit)
      from  5733cc76b810439c7099114807f96849852dcf99 (commit)

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


- Log -----------------------------------------------------------------
commit 6a2dd6761ebbd38b4b2053f083aca1c7fd9f0df2
Author: Joshua Colp <jcolp at digium.com>
Date:   Mon Sep 27 10:57:47 2010 -0300

    State items should default to not needing to be removed.

diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 64b0d21..150639c 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -38,7 +38,7 @@ using namespace AsteriskSCF::SIP::V1;
 //to retrieve PJSIP URI strings.
 const int URI_SIZE = 64;
 
-PJSipDialogModInfo::PJSipDialogModInfo(pjsip_dialog *dialog) : mDialogState(new SipDialogStateItem) , mNeedsReplication(true)
+PJSipDialogModInfo::PJSipDialogModInfo(pjsip_dialog *dialog) : mDialogState(new SipDialogStateItem) , mNeedsReplication(true), mNeedsRemoval(false)
 {
    //XXX Is there a way to tell ICE to make the default
    //constructor for SipStateItem set key?
@@ -101,7 +101,7 @@ void PJSipDialogModInfo::updateDialogState(pjsip_dialog *dialog)
    mNeedsReplication = true;
 }
 
-PJSipTransactionModInfo::PJSipTransactionModInfo(pjsip_transaction *transaction) : mTransactionState(new SipTransactionStateItem), mNeedsReplication(true)
+PJSipTransactionModInfo::PJSipTransactionModInfo(pjsip_transaction *transaction) : mTransactionState(new SipTransactionStateItem), mNeedsReplication(true), mNeedsRemoval(false)
 {
    mTransactionState->key = IceUtil::generateUUID();
    updateTransactionState(transaction);
@@ -157,7 +157,7 @@ TransactionState PJSipTransactionModInfo::transactionStateTranslate(pjsip_tsx_st
    return retState;
 }
 
-PJSipSessionModInfo::PJSipSessionModInfo(pjsip_inv_session *inv_session) : mSessionState(new SipSessionStateItem), mInviteState(new SipInviteSessionStateItem), mNeedsReplication(true)
+PJSipSessionModInfo::PJSipSessionModInfo(pjsip_inv_session *inv_session) : mSessionState(new SipSessionStateItem), mInviteState(new SipInviteSessionStateItem), mNeedsReplication(true), mNeedsRemoval(false)
 {
    mSessionState->key = IceUtil::generateUUID();
    updateSessionState(inv_session);

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list