Updated code to complete task id
[confmgr] / confmanager.cpp
index b8d5cb0..10fc21e 100644 (file)
@@ -27,9 +27,9 @@ void confManager::continueSendDTMF()
     mInStep++;
 
     QList<QVariant> argsToSend;
-    qDebug() << "Sending DTMF = " << step.value();
+    qDebug() << "DTMF = " << step.value();
     argsToSend.append(step.value());
-    argsToSend.append(0);
+//    argsToSend.append(0);
 
     bool status = mDBusUtility.sendMethodCall(CSD_SERVICE, CSD_CALL_PATH, CSD_CALL_INTERFACE,
                                          QString("SendDTMF"),argsToSend);
@@ -41,6 +41,8 @@ void confManager::continueSendDTMF()
         mDBusUtility.displayNotification(error);
     }
 
+    mDBusUtility.displayNotification(step.value());
+
     // Check if we are over with the sequence or we need to continue
     if(mInStep >= mProfileInUse.mNoOfSteps)
     {
@@ -140,7 +142,7 @@ void confManager::StartCallMonitors()
 
 void confManager::StopCallMonitors()
 {
-    mInStep = 0;
+//    mInStep = 0;
     mProfileSet = false;
 
     QDBusConnection connection = mDBusUtility.getConnection();