[asterisk-scf-commits] asterisk-scf/release/test_channel.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Fri Sep 30 17:54:38 CDT 2011
branch "master" has been updated
via cd0b4f5a9dc0b7e753f28160eaacb6457fc7477b (commit)
from 05591f45bebec4954321dc2aa571574d7a9713ad (commit)
Summary of changes:
src/TestEndpoint.cpp | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit cd0b4f5a9dc0b7e753f28160eaacb6457fc7477b
Author: Ken Hunt <ken.hunt at digium.com>
Date: Fri Sep 30 17:29:09 2011 -0500
Adapt to changes in Party Id API.
diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 1dec56f..18fd07c 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -171,7 +171,10 @@ public:
idSeq2.push_back(connectedId);
mConnectedLine = new ConnectedLine(idSeq2);
- mRedirecting = new Redirecting(dialedId, connectedId, 1);
+ RedirectionSeq redirects;
+ RedirectionPtr redirect = new Redirection(dialedId, connectedId);
+ redirects.push_back(redirect);
+ mRedirections = new Redirections(redirects);
}
void addListener_async(
@@ -411,9 +414,9 @@ public:
cb->ice_response(mConnectedLine);
}
- void getRedirecting_async(const AMD_Session_getRedirectingPtr& cb, const Ice::Current& )
+ void getRedirections_async(const AMD_Session_getRedirectionsPtr& cb, const Ice::Current& )
{
- cb->ice_response(mRedirecting);
+ cb->ice_response(mRedirections);
}
private:
@@ -430,7 +433,7 @@ private:
CallerPtr mCaller;
DialedPtr mDialed;
ConnectedLinePtr mConnectedLine;
- RedirectingPtr mRedirecting;
+ RedirectionsPtr mRedirections;
};
typedef IceUtil::Handle<SessionI> SessionIPtr;
-----------------------------------------------------------------------
--
asterisk-scf/release/test_channel.git
More information about the asterisk-scf-commits
mailing list