[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
Wed Sep 22 09:33:25 CDT 2010
branch "master" has been updated
via 0b46a431c7f482d62d3a45b6d7efcb0052de420b (commit)
from f760855948a7da1eb2e035d6785c9aad069709b5 (commit)
Summary of changes:
src/SipStateReplicatorListener.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit 0b46a431c7f482d62d3a45b6d7efcb0052de420b
Author: Joshua Colp <jcolp at digium.com>
Date: Wed Sep 22 11:36:33 2010 -0300
Associate the invite session with the SIP session so that stuff is handled properly.
diff --git a/src/SipStateReplicatorListener.cpp b/src/SipStateReplicatorListener.cpp
index 3f5236d..7decc1f 100644
--- a/src/SipStateReplicatorListener.cpp
+++ b/src/SipStateReplicatorListener.cpp
@@ -169,6 +169,9 @@ public:
}
localInviteSession->role = localDialog->role;
+ SipSessionPtr* sessionptr = new SipSessionPtr(i->second->getSession());
+ localInviteSession->mod_data[pjsip_ua_instance()->id] = (void*)sessionptr;
+
i->second->getSession()->setInviteSession(localInviteSession);
}
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list