Skip to content
This repository was archived by the owner on Jan 4, 2019. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: bit4bit/gami
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: andalibi/gami
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Oct 2, 2021

  1. fixed comment

    andalibi committed Oct 2, 2021
    Copy the full SHA
    fb32e09 View commit details
Showing with 3 additions and 3 deletions.
  1. +3 −3 gami.go
6 changes: 3 additions & 3 deletions gami.go
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@

// Package gami provites primitives for interacting with Asterisk AMI


/*
Basic Usage
@@ -72,12 +72,12 @@ import (
"errors"
"fmt"
"io"
"time"
"net"
"net/textproto"
"strings"
"sync"
"syscall"
"time"
)

var errNotEvent = errors.New("Not Event")
@@ -290,7 +290,7 @@ func newResponse(data *textproto.MIMEHeader) (*AMIResponse, error) {
if data.Get("Response") == "" {
return nil, errors.New("Not Response")
}

response := &AMIResponse{data.Get("Actionid"),
data.Get("Response"),
make(map[string]string)}