Giter Site home page Giter Site logo

oborys / quick-call-page-for-webex-devices Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 25.45 MB

Web page and Macros for Webex Devices provide you interface to create a page with one click Dial.

License: MIT License

Python 28.12% JavaScript 17.98% CSS 15.99% HTML 37.50% Procfile 0.41%

quick-call-page-for-webex-devices's Introduction

Quick call page for Webex Devices

Simple app for Webex one tap to call (DEMO)

Webex one tap to call

Web page and Macros for Webex Devices provide you interface to create a page with one click Dial.

The solution allows you to create a helpful Directory with an extensive photo/name of the contact and call it with one click.

Prerequisites

Open web interface of your Webex device

Using Webex device GUI, you need to make the following changes. First, go to Setup -> Configurations In the left menu, choose HttpClient settings and change AllowInsecureHTTPS from False to True.

OR Open terminal

and run this

xConfiguration HttpClient Mode: On

Create Macros, copy and paste JS code from macros.js file After deplou the app, edit this line const URL = 'IP_OR_URL_TO_THE_PAGE_API_ENDPOINT' + '/api';

You can store your app in the same network that your Webex device or deploy it externally on Heroku

Clone the repo

git clone https://github.com/oborys/Quick-call-page-for-Webex-Devices.git

cd Quick-call-page-for-Webex-Devices

Paste related photos in static/images The name should be 1.png, 2.png etc

Edit file templates/script.html if you want to add or remove the Directory photo

When the user clicks on a related photo page, call the clickEvent function and send as a parameter id (0,1,2...)

Then app send id in python function and write related SIP from the SIPLIST variable (file: app.py)

By default there you can find an SIP address that allows you to test the app.

For make visible in Webex Device Screen we need to add icon and link to external app (that we deploy in next steps). Instructions here

Installation

Deploy internal

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt 

Run Flask

flask run

Open app http://127.0.0.1:5000/

Or Deploy external In related folder

cd Quick-call-page-for-Webex-Devices

Delete local .git repo

rm -rf .git

Create Heroku App

heroku git:clone -a [Heroku_App_name]

Copy and paste a file from Quick-call-page-for-Webex-Devices to [Heroku_App_name] folder

cp -R * Heroku_App_name
cd webexicondial
curl https://cli-assets.heroku.com/install.sh | sh
heroku login
git add .
git commit -m "Add files"
git push heroku master

Open your Heroku app.

Create Web App in your Webex device GUI

add related URL in URL Field and upload it to the Webex device

Related Sandbox

Webex Developer Sandbox

CE programmability for Webex Devices [Deprecated]

Capabilities:

  • Discover the admin interface from your laptops Web browser

  • Open an ssh session to the Room Kit and enter t-shell commands: xconfig, xstatus and xcommand

  • Invoke the device's xAPI via HTTP requests and Node.js scripts thanks to the jsxapi wrapper

Useful link

quick-call-page-for-webex-devices's People

Contributors

oborys 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.