Resume command mode after dialing, always
[SaveMySugar/python3-savemysugar.git] / src / measure_call_setup_time.py
index 6268145..4de937c 100755 (executable)
@@ -49,7 +49,7 @@ def measure_call_setup_time(ingoing_port, outgoing_port, destination_number):
     for i in range(5):
         print()
         print("Attempt: %s" % (i + 1))
-        outgoing_modem.send_command("ATDT" + destination_number)
+        outgoing_modem.send_command("ATDT" + destination_number + ";")
         dial_time = time.time()
 
         # Wait for the receiver to get a ring before terminating the call