diff --git a/OutboundCallReminder/Ngrok/NgrokService.py b/OutboundCallReminder/Ngrok/NgrokService.py index c49a951..f08761b 100644 --- a/OutboundCallReminder/Ngrok/NgrokService.py +++ b/OutboundCallReminder/Ngrok/NgrokService.py @@ -5,6 +5,7 @@ import psutil import signal from pathlib import Path +from subprocess import CREATE_NEW_CONSOLE class NgrokService: @@ -57,8 +58,7 @@ def create_ngrok_process(self, ngrokPath, authToken): executable = str(Path(ngrokPath, "ngrok.exe")) os.chmod(executable, 0o777) - self.__ngrokProcess = subprocess.Popen( - [executable, "http", "http://localhost:9007/", "-host-header", "localhost:9007"]) + self.__ngrokProcess = subprocess.Popen([executable, "http", "http://localhost:9007/", "-host-header", "localhost:9007"],creationflags=CREATE_NEW_CONSOLE) # # Get Ngrok URL diff --git a/OutboundCallReminder/OutboundCallReminder.py b/OutboundCallReminder/OutboundCallReminder.py index ac819b4..aab7169 100644 --- a/OutboundCallReminder/OutboundCallReminder.py +++ b/OutboundCallReminder/OutboundCallReminder.py @@ -304,7 +304,10 @@ def add_participant(self, addedParticipant): add_participant_response: AddParticipantResult = self.call_connection.add_participant(participant=participant, alternate_caller_id=alternate_caller_id, operation_context=operation_context) Logger.log_message( - Logger.INFORMATION, "addParticipantWithResponse -- > " + add_participant_response.participant_id) + Logger.INFORMATION, "addParticipantWithResponse -- > " + add_participant_response.additional_properties.get("operationId")) + + Logger.log_message( + Logger.INFORMATION, "addParticipantWithResponse -- > " + add_participant_response.additional_properties.get("status")) def register_to_add_participants_result_event(self, operation_context): if(self.add_participant_complete_task):