mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
fix property name
This commit is contained in:
@@ -27,7 +27,7 @@ type SIPDTMFServer struct {
|
||||
}
|
||||
|
||||
type SIPDTMFMessage struct {
|
||||
From string
|
||||
To string
|
||||
Digits string
|
||||
}
|
||||
|
||||
@@ -146,7 +146,7 @@ func (sds *SIPDTMFServer) HandleCall(inDialog *diago.DialogServerSession) error
|
||||
if dtmf == rune(sds.Separator[0]) {
|
||||
if sds.router != nil {
|
||||
sds.router.HandleInput(sds.Id(), SIPDTMFMessage{
|
||||
From: inDialog.ToUser(),
|
||||
To: inDialog.ToUser(),
|
||||
Digits: userString,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user