Comments (2)
Please, provide more detailed example, which event parsed with error?
from amigo.
In go:
result, err := a.Action(map[string]string{"Action": "Command", "Command": "core show version"}) fmt.Println(result, err)
In the console:
map[Error:Timeout] <nil>
Request:
Action: Command\n
Command: core show version\n
ActionID: bd7c1246-10cf-428e-8ccb-787c2292e60b\n
\n
Response:
Response: Follows\r\n
Privilege: Command\r\n
Response data:
ActionID: bd7c1246-10cf-428e-8ccb-787c2292e60b\r\n
Asterisk 13.14.0 built by root @ ast-node2a on a x86_64 running Linux on 2017-02-14 06:06:59 UTC\n
--END COMMAND--\r\n
\r\n
from amigo.
Related Issues (15)
- Not conected HOT 2
- Unexpected character encoding HOT 5
- Multiconnect to several Asterisk Host HOT 6
- Setting an event's "Time" received overwrites the "Time" field in some events HOT 1
- Disconnect function HOT 2
- Not connecting to the AMI Server HOT 3
- Response data missing for 'Action: Command' HOT 2
- Possibility to turn off infinite Connect() retry (enhancement suggestion) HOT 1
- Action: Command doesn't contain all response
- cannot use DeviceStateChangeHandler (type func(amigo.M)) as type amigo.handlerFunc in argument to a.RegisterHandler HOT 3
- Possible error in ami.go HOT 1
- very small Action timeout in constant HOT 2
- Channel events may come out of order HOT 2
- Unexpected Properties In Events HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from amigo.