[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 10:03:58 CDT 2010
branch "master" has been updated
via 5fe9fe68b89ebcfdee036aff42fcfc785faf3628 (commit)
from dc70c323cfcea21949da69bf0b4a31184c7ba475 (commit)
Summary of changes:
src/PJSipSessionModule.cpp | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 5fe9fe68b89ebcfdee036aff42fcfc785faf3628
Author: Mark Michelson <mmichelson at digium.com>
Date: Mon Sep 27 10:04:19 2010 -0500
Update session and dialog state at proper times.
diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index ec94970..a57f2e8 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -688,8 +688,16 @@ static void invOnTransactionStateChanged(pjsip_inv_session *inv, pjsip_transacti
if (dlg)
{
dlg_mod_info = static_cast<PJSipDialogModInfo*>(dlg->mod_data[module->id]);
+ if (dlg_mod_info)
+ {
+ dlg_mod_info->updateDialogState(dlg);
+ }
}
PJSipSessionModInfo *session_mod_info = static_cast<PJSipSessionModInfo*>(inv->mod_data[module->id]);
+ if (session_mod_info)
+ {
+ session_mod_info->updateSessionState(inv);
+ }
replicateState(dlg_mod_info, tsx_mod_info, session_mod_info);
}
else if (e->type == PJSIP_EVENT_TIMER)
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list