|
|
@ -21,7 +21,7 @@ while True:
|
|
|
|
print("some one is calling")
|
|
|
|
print("some one is calling")
|
|
|
|
time.sleep(3) #wait 3 seoncds
|
|
|
|
time.sleep(3) #wait 3 seoncds
|
|
|
|
sim800l.command("ATA\n") #answer the phone
|
|
|
|
sim800l.command("ATA\n") #answer the phone
|
|
|
|
audio = random.choice(audios)
|
|
|
|
audio = rando`m.choice(audios)
|
|
|
|
print("playing python file")
|
|
|
|
print("playing python file")
|
|
|
|
os.system("play " + audio + " &")
|
|
|
|
os.system("play " + audio + " &")
|
|
|
|
while True:
|
|
|
|
while True:
|
|
|
|