(ctx context.Context, reply string, req *proxy.Request)
| 10 | ) |
| 11 | |
| 12 | func (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 | |
| 20 | func (s *Server) channelBusy(ctx context.Context, reply string, req *proxy.Request) { |
| 21 | if req.Key.Dialog != "" { |