Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 876 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 876 Bytes

sipgate io logger

Installation

go get github.com/wiesson/sipgate-io-helper
cd $GOPATH/src/github.com/wiesson/sipgate-io-helper
go install

or download the binary (coming soon (maybe))

Usage

  1. Start Ngrok
ngrok http 3000 --region=eu
  1. Start sipgate.io helper
sipgate-io-helper [email protected] -password=YOUR_PASSWORD -env=live

Request token

sipgate-io-helper [email protected] -password=YOUR_PASSWORD -env=live -token=true

Sample Output:

Found ngrok url https://65f01afc.eu.ngrok.io
2017/01/19 12:42:42 map[direction:[out] from:[4920387844349] to:[4921163555757] callId:[2327720023710239030] user[]:[Arne Wiese] event:[newCall]]
2017/01/19 12:42:50 map[from:[4920387844349] direction:[out] event:[hangup] callId:[2327720023710239030] cause:[cancel] to:[4921163555757]]