Skip to content

Commit

Permalink
fix: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JS-AK committed May 17, 2023
1 parent 86fe14a commit c176274
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ It is a Node.js based solution for connecting to the Asterisk Manager Interface
To install the package, simply run the command
```
npm install @2people.it/asterisk-ami-adapter
or for powershell
npm install '@2people.it/asterisk-ami-adapter'
```

The main class of the repository, ```AsteriskAmiAdapter```, extends from ```EventEmitter``` and provides a simple and straightforward way to connect to the AMI.
Expand Down Expand Up @@ -47,9 +52,13 @@ https://2people-it.github.io/asterisk-ami-adapter
import { AsteriskAmiAdapter } from '@2people.it/asterisk-ami-adapter';
const adapter = new AsteriskAmiAdapter({
encoding: "ascii",
events: true,
host: '127.0.0.1',
password: "password",
port: 5038,
reconnect: true,
reconnectDelay: 5000,
username: "username",
});
Expand Down

0 comments on commit c176274

Please sign in to comment.