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

Method channelAnswer

server/channel.go:12–18  ·  view source on GitHub ↗
(ctx context.Context, reply string, req *proxy.Request)

Source from the content-addressed store, hash-verified

10)
11
12func (s *Server) channelAnswer(ctx context.Context, reply string, req *proxy.Request) {
13 if req.Key.Dialog != "" {
14 s.Dialog.Bind(req.Key.Dialog, "channel", req.Key.ID)
15 }
16
17 s.sendError(reply, s.ari.Channel().Answer(req.Key))
18}
19
20func (s *Server) channelBusy(ctx context.Context, reply string, req *proxy.Request) {
21 if req.Key.Dialog != "" {

Callers

nothing calls this directly

Calls 4

sendErrorMethod · 0.95
AnswerMethod · 0.80
ChannelMethod · 0.80
BindMethod · 0.65

Tested by

no test coverage detected