[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
Mon Dec 19 16:10:58 CST 2011
branch "master" has been updated
via 0117d4b9d993671d0eb84b38df579f7a55c6aa61 (commit)
from ecdc524619fb486d95d9aded350f935344f434e0 (commit)
Summary of changes:
src/TestEndpoint.cpp | 12 ++++++++----
1 files changed, 8 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 0117d4b9d993671d0eb84b38df579f7a55c6aa61
Author: Mark Michelson <mmichelson at digium.com>
Date: Mon Oct 17 09:17:32 2011 -0500
Adjust for party id changes.
diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index 0b0315c..5c9c7bc 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -231,7 +231,8 @@ public:
NamePtr name = new Name("bar");
NumberPtr number = new Number("100");
- IdPtr testId = new Id(name, number);
+ PrivacyPtr privacy = new Privacy(false);
+ IdPtr testId = new Id(name, number, privacy);
IdSeq idSeq;
idSeq.push_back(testId);
mCaller = new Caller(idSeq);
@@ -240,20 +241,23 @@ public:
NamePtr dialedName = new Name("foo");
NumberPtr dialedNumber = new Number("104");
- IdPtr dialedId = new Id(dialedName, dialedNumber);
+ PrivacyPtr dialedPrivacy = new Privacy(false);
+ IdPtr dialedId = new Id(dialedName, dialedNumber, dialedPrivacy);
IdSeq dialedSeq;
dialedSeq.push_back(dialedId);
mDialed = new Dialed(dialedNumber);
NamePtr redirName = new Name("scud");
NumberPtr redirNumber = new Number("666");
- IdPtr connectedId = new Id(redirName, redirNumber);
+ PrivacyPtr redirPrivacy = new Privacy(false);
+ IdPtr connectedId = new Id(redirName, redirNumber, redirPrivacy);
IdSeq idSeq2;
idSeq2.push_back(connectedId);
mConnectedLine = new ConnectedLine(idSeq2);
RedirectionSeq redirects;
- RedirectionPtr redirect = new Redirection(dialedId, connectedId);
+ RedirectionReasonPtr reason = new RedirectionReason(Unknown);
+ RedirectionPtr redirect = new Redirection(dialedId, connectedId, reason);
redirects.push_back(redirect);
mRedirections = new Redirections(redirects);
-----------------------------------------------------------------------
--
asterisk-scf/release/test_channel.git
More information about the asterisk-scf-commits
mailing list