Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/abourget/ari
/ functions
Functions
112 in github.com/abourget/ari
⨍
Functions
112
◇
Types & classes
73
↓ 26 callers
Method
Post
napping Post/Get/Delete wrappers Post does POST request
rest.go:15
↓ 12 callers
Method
Delete
Delete does DELETE request
rest.go:45
↓ 6 callers
Method
Get
Get does GET request
rest.go:33
↓ 6 callers
Method
Play
(params PlayParams)
bridges.go:92
↓ 6 callers
Method
setClientRecurse
(recvMsg interface{})
ari.go:153
↓ 5 callers
Method
Log
(format string, v ...interface{})
ari.go:147
↓ 5 callers
Method
stopOutgoingProcessing
StopOutgoingProcessing stops the playback and recordings on the outgoing channel.
birthday/birthday.go:119
↓ 4 callers
Method
Delete
()
recordings.go:57
↓ 3 callers
Method
checkNappingError
(res *napping.Response, err error, errMsg errorResponse)
rest.go:64
↓ 3 callers
Method
makeURL
(path string)
rest.go:60
↓ 3 callers
Function
parseMsg
(raw []byte)
messages.go:183
↓ 2 callers
Method
AddChannel
AddChannel adds a channel to a bridge. `role` can be `participant` or `announcer`
bridges.go:56
↓ 2 callers
Method
Create
(params CreateBridgeParams)
bridges.go:14
↓ 2 callers
Method
Get
(channelID string)
channels.go:27
↓ 2 callers
Method
PostWithResponse
PostWithResponse does POST request and returns the response
rest.go:21
↓ 2 callers
Method
Stop
()
playbacks.go:39
↓ 2 callers
Method
hangupOutgoing
()
birthday/birthday.go:130
↓ 2 callers
Function
parseTime
(str string)
messages_test.go:63
↓ 2 callers
Method
playSong
()
birthday/birthday.go:58
↓ 2 callers
Function
readFile
(filename string)
messages_test.go:72
↓ 2 callers
Method
recordSomething
(recordingType string, beep bool)
birthday/birthday.go:84
↓ 1 callers
Method
CopyStored
(recordingName, destinationRecordingName string)
recordings.go:32
↓ 1 callers
Method
DeleteStored
(recordingName string)
recordings.go:28
↓ 1 callers
Method
Get
(soundID string)
sounds.go:28
↓ 1 callers
Method
Get
(applicationName string)
applications.go:17
↓ 1 callers
Method
Get
(bridgeID string)
bridges.go:25
↓ 1 callers
Method
GetApplication
()
events.go:26
↓ 1 callers
Method
GetType
()
events.go:27
↓ 1 callers
Method
Hangup
()
channels.go:85
↓ 1 callers
Method
LaunchListener
()
ari.go:77
↓ 1 callers
Method
Listen
()
birthday/birthday.go:41
↓ 1 callers
Method
Record
(params RecordParams)
bridges.go:97
↓ 1 callers
Method
SetVar
(variable, value string)
channels.go:204
↓ 1 callers
Method
Setup
()
birthday/birthday.go:30
↓ 1 callers
Method
Snoop
(params SnoopParams)
channels.go:210
↓ 1 callers
Method
String
()
models.go:14
↓ 1 callers
Method
connect
()
ari.go:111
↓ 1 callers
Method
dialOutgoing
(number string)
birthday/birthday.go:142
↓ 1 callers
Function
doAssignClient
(c *Client, original reflect.Value, depth int)
ari.go:158
↓ 1 callers
Function
formattedNow
()
birthday/birthday.go:137
↓ 1 callers
Method
handleIncomingMessage
(msg interface{})
birthday/incoming.go:10
↓ 1 callers
Method
handleOutgoingMessage
(msg interface{})
birthday/outgoing.go:10
↓ 1 callers
Method
handleReceive
(ch chan<- Eventer)
ari.go:83
↓ 1 callers
Method
listenForMessages
(ch chan<- Eventer)
ari.go:118
↓ 1 callers
Function
parseJSON
(filename string, v interface{})
messages_test.go:80
↓ 1 callers
Method
playAndRecordSong
()
birthday/birthday.go:71
↓ 1 callers
Method
reconnect
(ch chan<- Eventer)
ari.go:90
↓ 1 callers
Method
recordMessage
()
birthday/birthday.go:78
↓ 1 callers
Method
setClient
(*Client)
ari.go:204
Method
Answer
()
channels.go:93
Method
Cancel
()
recordings.go:83
Method
ContinueInDialplan
(context, exten string, priority int, label string)
channels.go:89
Method
Control
(operation string)
playbacks.go:43
Method
Copy
(destinationRecordingName string)
recordings.go:61
Method
Create
(params OriginateParams)
channels.go:22
Method
Destroy
(bridgeID string)
bridges.go:30
Method
Destroy
()
bridges.go:51
Method
Get
(playbackID string)
playbacks.go:15
Method
GetApplication
()
events.go:17
Method
GetGlobalVar
(variable string)
asterisk.go:18
Method
GetInfo
()
asterisk.go:13
Method
GetLive
(recordingName string)
recordings.go:23
Method
GetStored
(recordingName string)
recordings.go:18
Method
GetType
()
events.go:21
Method
GetVar
(variable string)
channels.go:197
Method
Hangup
(channelID string)
channels.go:32
Method
Hold
()
channels.go:138
Method
List
()
channels.go:17
Method
List
SoundsGet retrieves sounds. Both `lang` and `format` can be empty strings.
sounds.go:14
Method
List
()
applications.go:12
Method
List
()
bridges.go:9
Method
List
()
endpoints.go:7
Method
ListStored
()
recordings.go:13
Method
MarshalText
FIXME: This doesn't work to improve "pretty.Formatter"
time.go:29
Method
Mute
ChannelsMutePostById mutes a channel. Use `direction="both"` for default behavior.
channels.go:129
Method
Mute
()
recordings.go:99
Function
NewClient
(username, password, hostname string, port int, appName string)
ari.go:47
Method
Pause
()
recordings.go:91
Method
Play
Play plays media through channel. See: https://wiki.asterisk.org/wiki/display/AST/ARI+and+Channels%3A+Simple+Media+Manipulation
channels.go:169
Method
Record
(params RecordParams)
channels.go:182
Method
RemoveChannel
(channel string)
bridges.go:71
Method
Ring
()
channels.go:97
Method
RingStop
()
channels.go:101
Method
SendDTMF
SendDTMF sends DTMF signals to the channel. It accepts either a string or a ChannelDTMFSend object.
channels.go:106
Method
SetGlobalVar
(variable, value string)
asterisk.go:25
Method
StartMOH
StartMOH starts Music on hold. If mohClass is "", it will not be sent as a param on the request.
channels.go:147
Method
StartMOH
StartMOH starts Music on hold. If mohClass is "", it will not be sent as a param on the request.
bridges.go:79
Method
StartSilence
()
channels.go:160
Method
Stop
()
recordings.go:87
Method
StopHold
()
channels.go:142
Method
StopMOH
()
channels.go:156
Method
StopMOH
()
bridges.go:88
Method
StopSilence
()
channels.go:164
Method
String
()
channels.go:72
Method
Subscribe
(eventSource string)
applications.go:38
Function
TestChannelConnectedLine
(t *testing.T)
messages_test.go:35
Function
TestChannelString
(t *testing.T)
channels_test.go:9
Function
TestParseMsg
(t *testing.T)
messages_test.go:13
Function
TestParseMsgUnknown
(t *testing.T)
messages_test.go:25
Function
TestSetClientRecurse
(t *testing.T)
ari_test.go:9
next →
1–100 of 112, ranked by callers