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

     1  package ari
     2  
     3  // Direction describes an audio direction, as used by Mute, Snoop, and possibly others.  Valid values are "in", "out", and "both".
     4  type Direction string
     5  
     6  const (
     7  	// DirectionNone indicates audio should not flow in any direction
     8  	DirectionNone Direction = "none"
     9  
    10  	// DirectionIn indicates the direction flowing from the channel into Asterisk
    11  	DirectionIn Direction = "in"
    12  
    13  	// DirectionOut indicates the direction flowing from Asterisk to the channel
    14  	DirectionOut Direction = "out"
    15  
    16  	// DirectionBoth indicates both the directions flowing both inward to Asterisk and outward from Asterisk.
    17  	DirectionBoth Direction = "both"
    18  )