Skip to content

Commit

Permalink
Merge pull request #1064 from jcbjoe/jg/additional_dtmf_frames
Browse files Browse the repository at this point in the history
Added: Additional DTMF frames
Rate limit · GitHub

Whoa there!

You have triggered an abuse detection mechanism.

Please wait a few minutes before you try again;
in some cases this may take up to an hour.

aconchillo authored Feb 1, 2025
2 parents 16b49bd + b72504f commit a43c102
Showing 2 changed files with 14 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -53,6 +53,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
contain a combination of function calls, function call responses, system
messages, or just messages.

- Additional DTMF frames

### Fixed

- Fixed an issue where `ElevenLabsTTSService` messages would return a 1009
14 changes: 12 additions & 2 deletions src/pipecat/frames/frames.py
Original file line number Diff line number Diff line change
@@ -397,12 +397,22 @@ def __str__(self):


@dataclass
class InputDTMFFrame(DataFrame):
"""A DTMF button input"""
class DTMFFrame(DataFrame):
"""A DTMF button frame"""

button: KeypadEntry


@dataclass
class InputDTMFFrame(DTMFFrame):
"""A DTMF button input"""


@dataclass
class OuputDTMFFrame(DTMFFrame):
"""A DTMF button output"""


#
# System frames
#

0 comments on commit a43c102

Please sign in to comment.