github.com/CyCoreSystems/ari@v4.8.4+incompatible/dtmf.go (about)

     1  package ari
     2  
     3  import "time"
     4  
     5  // DTMFOptions is the list of pptions for DTMF sending
     6  type DTMFOptions struct {
     7  	Before   time.Duration
     8  	Between  time.Duration
     9  	Duration time.Duration
    10  	After    time.Duration
    11  }
    12  
    13  // DTMFSender is an object which can be send DTMF signals
    14  type DTMFSender interface {
    15  	SendDTMF(dtmf string, opts *DTMFOptions)
    16  }