# AstCall

TODO: Write a gem description

## Installation

Run:

    $ gem install ast_call

## Usage

Configure `ast_call` in one of the following files (only the first one found is read):
* `$HOME/.config/ast-call/config.yml`
* `/usr/local/etc/ast-call.yml`
* `/etc/ast-call.yml`

Use the following snippet as a starter:
~~~yaml
manager:
  host: 127.0.0.1
  port: 5038

login:
  username: john
  secret: password

originate:
  channel: SIP/100
  context: internal
  priority: 1
  callerid: ast-call
~~~

Originating calls is now as easy as:

    $ ast-call '*1'

## Contributing

1. Fork it ( https://github.com/sante-link/ast_call/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

# AstCall

TODO: Write a gem description

## Installation

Run:

    $ gem install ast_call

## Usage

Configure `ast_call` in one of the following files (only the first one found is read):
* `$HOME/.config/ast-call/config.yml`
* `/usr/local/etc/ast-call.yml`
* `/etc/ast-call.yml`

Use the following snippet as a starter:
~~~yaml
manager:
  host: 127.0.0.1
  port: 5038

login:
  username: john
  secret: password

originate:
  channel: SIP/100
  context: internal
  priority: 1
  callerid: ast-call
~~~

Originating calls is now as easy as:

    $ ast-call '*1'

## Browser Integration

Register the `tel:` protocol by creating a [Desktop Entry Specification](http://standards.freedesktop.org/desktop-entry-spec/latest/) file (e.g. `/usr/share/applications/ast-call.desktop`) containing:

~~~
[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Application
Terminal=false
Exec=/usr/local/bin/ast-call %u
Name=Call
Name[fr]=Appeler
Comment=Call people
Comment[fr]=Passer des appels téléphoniques
Categories=Application;Network;
MimeType=x-scheme-handler/tel;
~~~

## Contributing

1. Fork it ( https://github.com/sante-link/ast_call/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

Add a note for browser integration.
Add a note for browser integration.
