mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-07 07:55:16 +02:00
chore: dont extract variable on voicemail
This commit is contained in:
parent
3216dc7fbd
commit
f6239ca476
1 changed files with 4 additions and 1 deletions
|
|
@ -594,7 +594,10 @@ class PipecatEngine:
|
|||
# Mute the pipeline
|
||||
self._mute_pipeline = True
|
||||
|
||||
if reason != EndTaskReason.PIPELINE_ERROR.value:
|
||||
if reason not in (
|
||||
EndTaskReason.PIPELINE_ERROR.value,
|
||||
EndTaskReason.VOICEMAIL_DETECTED.value,
|
||||
):
|
||||
# Perform final variable extraction synchronously before ending
|
||||
await self._perform_variable_extraction_if_needed(
|
||||
self._current_node, run_in_background=False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue