Giter VIP home page Giter VIP logo

ipps-javascript-samples's Introduction

ipps-javascript-samples

Sample apps demonstrating common usage scenarios for the Cisco IP Phone Services XML interface.

Included samples:

  • ldap_directory.js - Configurable sample allowing search by first/last/phone against a LDAP directory, providing output as a directory service; supports non-secure and StartTLS connections (<CiscoIPPhoneInput>, <CiscoIPPhoneDirectory>, <CiscoIPPhoneText>).

  • push_init.js - Demonstrate clearing local call-history and closing services/messages/directories UIs, using HTTP POST (<CiscoIPPhoneExecute>).

IP Phone Services on DevNet

Pre-Requisites

This sample was tested using:

  • Ubuntu 23.04
  • Node.js 18.16.0
  • CUCM 14
  • OpenLDAP 2.4

Running the Samples

  1. From a terminal window, use git to clone this repo:

    git clone https://github.com/CiscoDevNet/ipps-javascript-samples
  2. Change into the repo directory, and install dependencies with npm:

    cd ipps-javascript-samples
    npm install
  3. Open the project in your IDE.

    For Visual Studio code:

    code .
  4. Rename .env.example to .env

    Then open it and enter your configuration options.

    Be sure to save the file.

  5. In VS Code, run/debug the app by switching to the Run tab, selecting the desired sample from the dropdown in the upper-left, then clicking the green arrow - or just press F5.

  6. Most samples will require configuring a Phone Service in CUCM. This sample shows a typical configuration for the ldap_directory.js sample app:

    sample config

ipps-javascript-samples's People

Contributors

dstaudt avatar

Stargazers

 avatar  avatar

Watchers

Paul Zimmerman avatar Anne Gentle avatar James Cloos avatar Jerry Chang avatar yawming avatar Neelesh Pateriya avatar Charles Eckel avatar Matthew DeNapoli avatar  avatar  avatar Kareem Iskander avatar Jock Reed avatar quinn snyder avatar Tom Davies avatar  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.