Project

ast_call

0.0
No commit activity in last 3 years
No release in over 3 years
Originate calls through Asterisk AMI.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

AstCall

Originate calls using Asterisk Manager Interface.

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:

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 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;

Then run update-desktop-database.

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