MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / Info

Method Info

client/asterisk.go:28–37  ·  view source on GitHub ↗
(key *ari.Key)

Source from the content-addressed store, hash-verified

26}
27
28func (a *asterisk) Info(key *ari.Key) (*ari.AsteriskInfo, error) {
29 resp, err := a.c.dataRequest(&proxy.Request{
30 Kind: "AsteriskInfo",
31 Key: key,
32 })
33 if err != nil {
34 return nil, err
35 }
36 return resp.Asterisk, nil
37}
38
39func (a *asterisk) Variables() ari.AsteriskVariables {
40 return &asteriskVariables{a.c}

Callers 15

cmd.goFile · 0.80
runServerFunction · 0.80
mainFunction · 0.80
appStartFunction · 0.80
mainFunction · 0.80
appStartFunction · 0.80
mainFunction · 0.80
listenAppFunction · 0.80
channelHandlerFunction · 0.80
mainFunction · 0.80
appStartFunction · 0.80
TestAsteriskInfoFunction · 0.80

Calls 1

dataRequestMethod · 0.80

Tested by 1

TestAsteriskInfoFunction · 0.64