---
 src/callmanager.cpp |    7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/callmanager.cpp b/src/callmanager.cpp
index 4567548..1995c6d 100644
--- a/src/callmanager.cpp
+++ b/src/callmanager.cpp
@@ -79,6 +79,13 @@ bool CallManager::command( const QString& cmd )
             return true;
         }
 
+        // For SAT test purpose, reject the dialing number 0123401234 if there
+        // is a connected call.
+        if ( hasCall( CallState_Active ) && number == "+0123401234" ) {
+            send( "NO CARRIER" );
+            return true;
+         }
+
         // If there is a connected call, place it on hold.
         changeGroup( CallState_Active, CallState_Held );
 
-- 
1.7.9.5

_______________________________________________
ofono mailing list
[email protected]
http://lists.ofono.org/listinfo/ofono

Reply via email to