fix property name

This commit is contained in:
Joel Wetzell
2025-12-13 12:33:00 -06:00
parent 92f91cf260
commit 783c333b46

View File

@@ -27,7 +27,7 @@ type SIPDTMFServer struct {
} }
type SIPDTMFMessage struct { type SIPDTMFMessage struct {
From string To string
Digits string Digits string
} }
@@ -146,7 +146,7 @@ func (sds *SIPDTMFServer) HandleCall(inDialog *diago.DialogServerSession) error
if dtmf == rune(sds.Separator[0]) { if dtmf == rune(sds.Separator[0]) {
if sds.router != nil { if sds.router != nil {
sds.router.HandleInput(sds.Id(), SIPDTMFMessage{ sds.router.HandleInput(sds.Id(), SIPDTMFMessage{
From: inDialog.ToUser(), To: inDialog.ToUser(),
Digits: userString, Digits: userString,
}) })
} }