Skip to content

Commit

Permalink
[5.2] MSPB-344: Fix Duplicate TTS Generation in SmartPBX with Timesta…
Browse files Browse the repository at this point in the history
…mp Versioning (#518)

Implement timestamp versioning for TTS updates in SmartPBX to prevent duplicates. Now, each TTS update appends new Date().getTime() for uniqueness.
  • Loading branch information
ramandeepromana authored Nov 7, 2023
1 parent b874804 commit d1e75bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion submodules/strategy/strategy.js
Original file line number Diff line number Diff line change
Expand Up @@ -2364,7 +2364,7 @@ define(function(require) {
accountId: self.accountId,
data: {
streamable: true,
name: callflowName + 'TTS',
name: callflowName + 'TTS' + '_' + new Date().getTime(),
media_source: 'tts',
description: '<Text to Speech>',
tts: {
Expand Down

0 comments on commit d1e75bf

Please sign in to comment.