[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
Wed May 18 21:25:39 CDT 2011
branch "master" has been updated
via c65cf9a29833a1c60ce59a12b6b8670dae300bba (commit)
from e7c0727c3dee7cb81456f793aee477fd9d7efa98 (commit)
Summary of changes:
src/TestEndpoint.cpp | 21 +++++++++++----------
1 files changed, 11 insertions(+), 10 deletions(-)
- Log -----------------------------------------------------------------
commit c65cf9a29833a1c60ce59a12b6b8670dae300bba
Author: Brent Eagles <beagles at digium.com>
Date: Wed May 18 23:55:22 2011 -0230
Have start() send a connected indication to listeners.
diff --git a/src/TestEndpoint.cpp b/src/TestEndpoint.cpp
index ec84632..90ef50a 100644
--- a/src/TestEndpoint.cpp
+++ b/src/TestEndpoint.cpp
@@ -73,41 +73,41 @@ public:
//
void connected()
{
- mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::ConnectedIndication());
+ mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::ConnectedIndication());
}
void flashed()
{
- mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::FlashedIndication());
+ mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::FlashedIndication());
}
void held()
{
- mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::HeldIndication());
+ mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::HeldIndication());
}
void progressing(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
{
- AsteriskSCF::SessionCommunications::V1::ProgressingIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::ProgressingIndication());
+ AsteriskSCF::SessionCommunications::V1::ProgressingIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::ProgressingIndication());
indication->response = response;
mPublisher->indicated(mSession, indication);
}
void ringing()
{
- mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::RingingIndication());
+ mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::RingingIndication());
}
void stopped(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr& response)
{
- AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
- indication->response = response;
- mPublisher->indicated(mSession, indication);
+ AsteriskSCF::SessionCommunications::V1::StoppedIndicationPtr indication(new AsteriskSCF::SessionCommunications::V1::StoppedIndication());
+ indication->response = response;
+ mPublisher->indicated(mSession, indication);
}
void unheld()
{
- mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::UnheldIndication());
+ mPublisher->indicated(mSession, new AsteriskSCF::SessionCommunications::V1::UnheldIndication());
}
void setProxy(const AsteriskSCF::SessionCommunications::V1::SessionPrx& prx)
@@ -151,7 +151,7 @@ public:
void indicate(const AsteriskSCF::SessionCommunications::V1::IndicationPtr&, const Ice::Current&)
{
- mEndpointManager->log(mId, __FUNCTION__);
+ mEndpointManager->log(mId, __FUNCTION__);
}
void connect(const Ice::Current&)
@@ -214,6 +214,7 @@ public:
void start(const Ice::Current&)
{
mEndpointManager->log(mId, __FUNCTION__);
+ mListeners->connected();
}
void stop(const AsteriskSCF::SessionCommunications::V1::ResponseCodePtr&, const Ice::Current&)
-----------------------------------------------------------------------
--
asterisk-scf/release/test_channel.git
More information about the asterisk-scf-commits
mailing list