[macro-pause-recording]
exten => s,1,Verbose(Stopping Recording)
exten => s,n,StopMixMonitor()
[macro-unpause-recording]
exten => s,1,Verbose(Resuming Recording)
exten => s,n,MixMonitor(${REC_FILE_NAME},a)
StopMixMonitor => #00,peer/both,Macro(pause-recording)
MixMonitor => #01,peer/both,Macro(unpause-recording)
print(response.text)
with open("newfile.txt", "w") as file:
for i in lines:
host = i.strip()
save = file.write("%s [%s]" % (host, socket.gethostbyname(host)))
$("#ID-Button").click(function(){
$("#ID-BlockWhithImage").flip('toggle');
});