sccp_addons's People
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.