[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 18:11:09 CDT 2010
branch "master" has been updated
via fbf541073927fcb1c1064421c39db16c69d39527 (commit)
from 82e773dc173a1c02c09092874f24e78ec5c222da (commit)
Summary of changes:
src/SipStateReplicatorListener.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit fbf541073927fcb1c1064421c39db16c69d39527
Author: Joshua Colp <jcolp at digium.com>
Date: Tue Oct 19 16:10:09 2010 -0700
Ensure when replicating a dialog we add our own module so REFERs get intercepted.
diff --git a/src/SipStateReplicatorListener.cpp b/src/SipStateReplicatorListener.cpp
index bc1f13e..faa0bb3 100644
--- a/src/SipStateReplicatorListener.cpp
+++ b/src/SipStateReplicatorListener.cpp
@@ -134,6 +134,8 @@ public:
PJSipDialogModInfo *dlg_mod_info = new PJSipDialogModInfo(localDialog);
localDialog->mod_data[mManager->getSessionModule()->getModule().id] = (void *) dlg_mod_info;
+
+ pjsip_dlg_add_usage(localDialog, &mManager->getSessionModule()->getModule(), NULL);
}
localDialog->state = (dialog->mIsDialogEstablished == true) ? PJSIP_DIALOG_STATE_ESTABLISHED : PJSIP_DIALOG_STATE_NULL;
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list