mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-27 05:15:47 +00:00
fix property name
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user