From 30bb2344f42a44bba0fee3bd25e3cb99dd1cec57 Mon Sep 17 00:00:00 2001 From: Afrah196 Date: Mon, 25 Nov 2024 12:35:21 +0530 Subject: [PATCH] delay in stop --- Exotel-Voice-Sample/Changelog.md | 4 ++++ .../ExotelVoiceSample/VoiceApp/VoiceAppService.swift | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/Exotel-Voice-Sample/Changelog.md b/Exotel-Voice-Sample/Changelog.md index ad27453..521d6fb 100644 --- a/Exotel-Voice-Sample/Changelog.md +++ b/Exotel-Voice-Sample/Changelog.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. +## [1.0.11] 25-11-2024 +* [VST-881] + ** Adding delay in stop function, and checking system state (Fatal message crash fix) + ## [1.0.10] 30-09-2024 * [VST-842] ** pj_pool_release crash fix diff --git a/Exotel-Voice-Sample/ExotelVoiceSample/VoiceApp/VoiceAppService.swift b/Exotel-Voice-Sample/ExotelVoiceSample/VoiceApp/VoiceAppService.swift index bbe2701..c6dcb4f 100644 --- a/Exotel-Voice-Sample/ExotelVoiceSample/VoiceApp/VoiceAppService.swift +++ b/Exotel-Voice-Sample/ExotelVoiceSample/VoiceApp/VoiceAppService.swift @@ -403,6 +403,10 @@ public class VoiceAppService { } extension VoiceAppService: ExotelVoiceClientEventListener { + public func onAlreadyIntialized() { + VoiceAppLogger.debug(TAG: TAG, message: "In onAlreadyIntialized") + } + public func onInitializationSuccess() { VoiceAppLogger.debug(TAG: TAG, message: "Initialization Success") NotificationCenter.default.post(name: NSNotification.Name(rawValue: initSuccessKey), object: nil, userInfo: ["payload": "success"])