Giter Site home page Giter Site logo

asterisk-vbscripts's Introduction

Step 1 
install the mysql odbc connector

Step 2 some of these are case sensitive.. I put TYPE before each statement Change the someuser and somepassword to whatever you wish
Configure PBX to access MySQL Remotely
log in to console locally or via ssh
then enter mysql/mariadb with TYPE mysql
then
TYPE use mysql;
then create your user and password with the following
TYPE CREATE USER 'someuser'@'%' IDENTIFIED BY 'somepassword';
define from where the resource can connect, we’ll use anywhere
TYPE grant select on asterisk.* TO 'someuser'@'%';
finally apply the new permissions with
TYPE FLUSH PRIVILEGES;

Step 3
configure the 64 bit odbc connector
ODBC Data Sources (64-bit)
System DSN
Add
MySQL ODBC 8.0 ANSI Driver
Data Source Name: AsteriskDB
Decription: AsteriskDB
TCP/IP Server: YOUR PBX IP ADDRESS OR DNS NAME
PORT: 3306 unless you changed it.
USER: user you configured for accessing MySQL Remotely in Step 2
Password: from Step2
Database if you entered the above correctly you should be able to click the dropdown box and select asterisk
Click OK

Step 4 
Modify the PBX-Extensions.vbs or PBX-Extensions-queues.vbs to suit your needs.
You will need to setup line 9 Line 18 in the queue script with your info.
and line 43 with a server\share on your network.

This script only handles the auth user and password for Mitel Formally Aastra 6867i phones, I have a base configuration file that goes along with this file
that is aastra.cfg
I have removed some of the info from that file as well replaced with FQDN for name of PBX
and *** where I had extension numbers and names.

asterisk-vbscripts's People

Contributors

chasemixon avatar

Watchers

 avatar

Forkers

tristargod

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.