Skip to content

Commit

Permalink
add example configuration to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
girlpunk committed Jul 20, 2017
1 parent ed79cac commit 0c169d9
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 23 deletions.
100 changes: 77 additions & 23 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

27 changes: 27 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,29 @@
# hass-asterisk
Home Assistant platform for Asterisk integration


##### Example configuration

```
asterisk_ami:
host: localhost
username: admin
password: correcthorsebatterystaple
monitor:
- 100
- 101
- 102
```

The platform requires a matching entry in Asterisk's manager.conf or similar. For example:

```
[admin]
secret = correcthorsebatterystaple
deny=0.0.0.0/0.0.0.0
permit=127.0.0.1/255.255.255.0
read = system,call,log,verbose,command,agent,user,config,command,dtmf,reporting,cdr,dialplan,originate,message
writetimeout = 5000
```

TODO: Confirm which permissions are actually needed

0 comments on commit 0c169d9

Please sign in to comment.