[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 8 08:34:55 CDT 2010
branch "master" has been updated
via 58b34bb7e20ad559729da1b0962c045acd40c6f2 (commit)
from aa3ae183837de715d52bf7eb91f3803fc066f8e9 (commit)
Summary of changes:
src/SipEndpoint.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 58b34bb7e20ad559729da1b0962c045acd40c6f2
Author: Joshua Colp <jcolp at digium.com>
Date: Wed Sep 8 10:41:26 2010 -0300
Use the ICE object identity as the ID for the SipEndpoint, it shall be unique.
diff --git a/src/SipEndpoint.cpp b/src/SipEndpoint.cpp
index ed7d671..d964ec1 100644
--- a/src/SipEndpoint.cpp
+++ b/src/SipEndpoint.cpp
@@ -176,7 +176,7 @@ bool SipEndpoint::operator==(const std::string &name) const
std::string SipEndpoint::getId(const Ice::Current&)
{
- return "";
+ return mImplPriv->mEndpointProxy->ice_getIdentity().name;
}
AsteriskSCF::SessionCommunications::V1::SessionPrx SipEndpoint::createSession(const std::string& destination, const AsteriskSCF::SessionCommunications::V1::SessionListenerPrx& listener, const Ice::Current&)
-----------------------------------------------------------------------
--
asterisk-scf/integration/sip.git
More information about the asterisk-scf-commits
mailing list