[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
Thu Aug 26 07:37:20 CDT 2010
branch "master" has been updated
via a0045b6caf7e38f2fbf8353ea3a2d1e71fbcc229 (commit)
from 7bc1df691407587778c421018e2d3eb024c60e69 (commit)
Summary of changes:
src/SipEndpoint.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit a0045b6caf7e38f2fbf8353ea3a2d1e71fbcc229
Author: Joshua Colp <jcolp at digium.com>
Date: Thu Aug 26 09:49:11 2010 -0300
Use the module id of pjsip_ua_instance() to match what module id the session module uses.
diff --git a/src/SipEndpoint.cpp b/src/SipEndpoint.cpp
index 2039baa..ae87008 100644
--- a/src/SipEndpoint.cpp
+++ b/src/SipEndpoint.cpp
@@ -37,9 +37,7 @@ public:
}
// Record our endpoint within the dialog so code handling pjsip events can do STUFF
- SipChannelServiceDataModel &dataModel = SipChannelServiceDataModel::getInstance();
- PJSipManager *manager = dataModel.getPJSipManager();
- pjsip_module *module = manager->getSessionModule();
+ pjsip_module *module = pjsip_ua_instance();
if (module == NULL)
{
std::cerr << "[WARNING] Um, couldn't get the module from the PJSipManger??" << std::endl;
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list