Giter VIP home page Giter VIP logo

avaya-ip-office's Introduction

Avaya Ip Office integration

Gem Version

This gem gives limted read only integration from your IPOFFICE (only tested on ip office 500v2)

Installation

Add this line to your application's Gemfile:

gem 'avaya'

or bleeding edge

gem 'avaya' , :git => 'git://github.com/freibuis/Avaya-IP-Office.git' ,branch: master

And then execute:

$ bundle

Or install it yourself as:

$ gem install avaya

For rails support just run the following command. This will create the initializer for you to edit

$ rails generate avaya:install

Usage

1st create the connection $ Avaya::Configuration.host = "ip_office_server_ipaddress"

Once you have set up the connection. you can use the helpers to get data out

Helper-ish

DirList: directory list

$ dir_list = Avaya::DirList.get

This returns an array of :name, :numbers

UserList: list of phone system users. if type is 3..7 then :ex_directory and :active is returned

   user_list = Avaya::UserList.get
   user_list = Avaya::UserList.get(2)
   user_list = Avaya::UserList.get(3)
   user_list = Avaya::UserList.get(4)

HunList: list of phone system groups.

   hunt_list = Avaya::HuntList.get

an array of :name,:ext,:queue,:voice_mails,:hunt_id is returned

Todo:

Currently user_info not working as I need to reverse engineer the values from the phone platform

Contributing

  1. Fork it ( https://github.com/freibuis/Avaya-IP-Office/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

avaya-ip-office's People

Contributors

freibuis avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.