--- a/mmserv/tms/tmsimpl/src/tmsdtmfbodyimpl.cpp Fri Jul 09 16:43:35 2010 -0500
+++ b/mmserv/tms/tmsimpl/src/tmsdtmfbodyimpl.cpp Fri Jul 23 17:29:03 2010 -0500
@@ -83,7 +83,11 @@
}
else
{
- if (iProxy->Connect() != TMS_RESULT_SUCCESS)
+ if (iProxy->Connect() == TMS_RESULT_SUCCESS)
+ {
+ ret = iProxy->InitDTMFPlayer(iStreamType);
+ }
+ else
{
delete iProxy;
iProxy = NULL;
@@ -105,11 +109,6 @@
{
ret = iProxy->SetMsgQueueNotifier(EMsgQueueDTMFType, iObserver,
iParent, iClientId);
- if (ret == TMS_RESULT_SUCCESS)
- {
- ret = iProxy->StartDTMFNotifier();
- ret |= iProxy->InitDTMFPlayer(iStreamType);
- }
}
else
{
@@ -130,7 +129,6 @@
{
ret = iProxy->RemoveMsgQueueNotifier(EMsgQueueDTMFType, iObserver);
iObserver = NULL;
- iProxy->CancelDTMFNotifier();
}
else
{