[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 Aug 24 21:24:26 CDT 2010
branch "master" has been updated
via 1f8a39e7b4c53e9cf6b6662a861f480cfbc8fb21 (commit)
via ac719bbf0a5c26acdb657c5ed4c282eac5d48dd5 (commit)
from 01548febc8558a51e770af8c9ba265dcdf203230 (commit)
Summary of changes:
src/PJSipSessionModule.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
- Log -----------------------------------------------------------------
commit 1f8a39e7b4c53e9cf6b6662a861f480cfbc8fb21
Merge: ac719bb 01548fe
Author: Mark Michelson <mmichelson at digium.com>
Date: Tue Aug 24 21:25:42 2010 -0500
Merge branch 'master' of git.asterisk.org:asterisk-scf/integration/sip
commit ac719bbf0a5c26acdb657c5ed4c282eac5d48dd5
Author: Mark Michelson <mmichelson at digium.com>
Date: Tue Aug 24 21:17:32 2010 -0500
Get it into compiling shape! BOOM!
diff --git a/src/PJSipSessionModule.cpp b/src/PJSipSessionModule.cpp
index 0c6430d..3abc610 100644
--- a/src/PJSipSessionModule.cpp
+++ b/src/PJSipSessionModule.cpp
@@ -60,7 +60,7 @@ static void handle_new_invite(pjsip_rx_data *rdata)
boost::shared_ptr<SipEndpointFactory> factory = dataModel.getEndpointFactory();
//XXX Hardcoded "Butt" is bad for a lot of reasons,
//but for now have it there just so stuff'll compile!
- SipEndpoint *caller = factory->getEndpoint("Butt");
+ BaseEndpointPtr caller(BaseEndpointPtr::dynamicCast(factory->getEndpoint("Butt")));
//We've created our calling endpoint. Now we need to look up the destination.
pjsip_uri *ruri = rdata->msg_info.msg->line.req.uri;
@@ -292,9 +292,9 @@ PJSipSessionModule::PJSipSessionModule() : mName("Session Module")
}
PJSipManager *manager = PJSipManager::getInstance();
- pjsip_endpoint *endpt = manager.getEndpoint();
+ pjsip_endpoint *endpt = manager->getEndpoint();
pjsip_inv_usage_init(endpt, &mInvCallback);
- manager.registerModule(mModule);
+ manager->registerModule(&mModule);
}
}; //end namespace SipChannelService
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list