[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
Tue Oct 19 21:52:34 CDT 2010


branch "master" has been updated
       via  adf748377411cb3c17fbee0fc140d4975d275abc (commit)
      from  820136c5f8de501804c9a3e066849c7f25941fc2 (commit)

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


- Log -----------------------------------------------------------------
commit adf748377411cb3c17fbee0fc140d4975d275abc
Author: Joshua Colp <jcolp at digium.com>
Date:   Tue Oct 19 19:51:31 2010 -0700

    Preserve the dialog module information on the dialog when adding our own module.

diff --git a/src/SipStateReplicatorListener.cpp b/src/SipStateReplicatorListener.cpp
index e750a9c..8dc526e 100644
--- a/src/SipStateReplicatorListener.cpp
+++ b/src/SipStateReplicatorListener.cpp
@@ -185,7 +185,8 @@ public:
 
 	       i->second->getSession()->setInviteSession(localInviteSession);
 
-	       pjsip_dlg_add_usage(localDialog, &mManager->getSessionModule()->getModule(), NULL);
+	       PJSipDialogModInfo *dlg_mod_info = static_cast<PJSipDialogModInfo *>(localDialog->mod_data[mManager->getSessionModule()->getModule().id]);
+	       pjsip_dlg_add_usage(localDialog, &mManager->getSessionModule()->getModule(), (void *)dlg_mod_info);
 	    }
 
 	    if (invitesession->mCurrentState == InviteSessionStateNull)

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


-- 
asterisk-scf/integration/sip.git



More information about the asterisk-scf-commits mailing list