Giter Club home page Giter Club logo

sccp_addons's People

Contributors

phantomvl avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

kt72ru ca4ti

sccp_addons's Issues

Extension Mobility cisco_service.ini AMI Issues

Hi,

Everything working now, however after an upgrade from FreePBX 13 - 15 I was getting a "HTTP Error [500]" message on my Cisco phones when pressing the services button. I went into the cisco_service.ini file and commented out the amportal file. I uncommented and set the "mode" to "software", uncommented the DB and AMI sections and filled in the necessary settings. This, however, made no difference.

After some more investigation I commented out the AMI settings, leaving only the DB section uncommented. After testing on the handsets, the "HTTP Error [500]" has disappeared and the service presented itself, however upon logging in the system seemed to "log in", however the phone did not reset itself. A manual soft-reset (power cycling) would cause the phone to reboot "logged in" to the correct EM extension. I assumed this was something to do with the AMI connection and the sccp restart command not being called correctly, the DB seemed to be updating correctly.

The PHP logs presented these error messages:

Undefined index: server in /var/www/html/cisco/service.inc/ami.class.php on line 304
Undefined index: username in /var/www/html/cisco/service.inc/ami.class.php on line 308
Undefined index: port in /var/www/html/cisco/service.inc/ami.class.php on line 322

After changing the AMI section in cisco_service.ini from...

[AMI]
HOST=localhost
USER=admin
secret=blahblahblah
PORT=5038

to...

[AMI]
server=localhost
username=admin
secret=blahblahblah
port=5038

...the errors seem to have gone away. I know the settings should be being picked up from the amportal.conf file, however this solution seems to be working for the time being. Just thought i'd raise this in case anyone else has a similar problem.

Thanks
James.

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.