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

Function createCall

_examples/stasisStart/main.go:75–82  ·  view source on GitHub ↗
(cl ari.Client)

Source from the content-addressed store, hash-verified

73}
74
75func createCall(cl ari.Client) (h *ari.ChannelHandle, err error) {
76 h, err = cl.Channel().Create(nil, ari.ChannelCreateRequest{
77 Endpoint: "Local/1000",
78 App: ariApp,
79 })
80
81 return
82}
83
84func channelHandler(h *ari.ChannelHandle, startEvent *ari.StasisStart) {
85 log.Info("Running channel handler")

Callers 1

mainFunction · 0.85

Calls 2

ChannelMethod · 0.80
CreateMethod · 0.45

Tested by

no test coverage detected