Endpoint Manager - can't edit individual $mac.cfg files?

Edit: It appears I just didn’t understand what the Edit button was doing.

In FreePBX > Tools > End Point Device List, under Current Managed Extensions, the Edit button simply loads the settings from the relevant extension up to the top of the page, where they can be edited and saved, and the template for that extension can be edited there, as well.

Thanks to tm1000 for all his help.


It seems I can’t edit individual phone configurations in Endpoint Manager.

I created and endpoint template, and successfully applied it to the phone, then rebooted the phone.

Now, in endpoint manager, it appears that I can edit only the template, but not edit the individual $mac.cfg file for that phone. (If I click “Edit” for that individual phone, nothing happens but a quick page refresh.)

I’m using FF in Win7 x64; I’ve also tried Chrome w/ no change.

Thanks in advance.

So when you click the pencil icon inside the template for the $mac.cfg nothing happens?

This works fine with Chrome & Safari here.

Since the code for that ‘edit’ icon tells the window to generate a new popup im confused how it would ‘refresh’ the page as you state.

Soooo

Go back to that page and turn on console mode view->developer->javascript console

And tell me what it says when you click it. It should list error(s)

Also disable pop-up blockers. Why you’d have them enabled on a local server is beyond me but it happens.

In IE:

Invalid character ._ajax_req.js, line 1 character 1
Invalid character ._jquery.coda-slider-2.0.js, line 1 character 1
Invalid character ._jquery.cookie.js, line 1 character 1
Invalid character ._jquery.easing.1.3.js, line 1 character 1
Invalid character ._jquery.jstree.js, line 1 character 1
Invalid character ._jquery.tools.min.js, line 1 character 1
Invalid character ._ajax_req.js, line 1 character 1
Invalid character ._jquery.coda-slider-2.0.js, line 1 character 1
Invalid character ._jquery.cookie.js, line 1 character 1
Invalid character ._jquery.easing.1.3.js, line 1 character 1
Invalid character ._jquery.jstree.js, line 1 character 1
Invalid character ._jquery.tools.min.js, line 1 character 1

Popups are off; I’ve tried in FF, Chrome, and IE; same problem in all.

In FF: Menu > Web Developer > Web Console > JS (sorry, it’s quite a chunk):

[10:17:18.711] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.740] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.765] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.884] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.903] reference to undefined property (c.data(d, “events”) || {}).handle @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:4
[10:17:18.921] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.937] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:18.954] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:19.065] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:19.082] reference to undefined property (c.data(d, “events”) || {}).handle @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:4
[10:17:19.098] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:19.114] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:19.138] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:21.920] reference to undefined property Ci.nsIFoxmarksService @ resource://xmarks/service.jsm:38
[10:17:22.032] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.048] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.064] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.081] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.096] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.112] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.128] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.144] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.313] function Ka does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:2
[10:17:22.331] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:2
[10:17:22.357] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.407] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:22.450] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:4
[10:17:22.530] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:5
[10:17:22.585] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:5
[10:17:22.667] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:6
[10:17:22.701] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:7
[10:17:22.743] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:7
[10:17:22.762] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:7
[10:17:22.789] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:8
[10:17:22.808] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:10
[10:17:22.861] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:15
[10:17:22.886] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:18
[10:17:22.926] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:22
[10:17:22.974] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:24
[10:17:23.152] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:25
[10:17:23.168] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:25
[10:17:23.194] test for equality (==) mistyped as assignment (=)? @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:26
[10:17:23.219] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:32
[10:17:23.328] variable options redeclares argument @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:220
[10:17:23.353] anonymous function does not always return a value @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:243
[10:17:23.370] assignment to undeclared variable Is_DOM @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:40
[10:17:23.386] assignment to undeclared variable Is_NS4 @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:40
[10:17:23.403] assignment to undeclared variable Is_IE @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:40
[10:17:23.419] assignment to undeclared variable Is_IE7 @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:40
[10:17:23.436] assignment to undeclared variable place @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:42
[10:17:23.452] assignment to undeclared variable thestring @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:42
[10:17:23.469] assignment to undeclared variable Is_IE4 @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:43
[10:17:23.488] assignment to undeclared variable Is_Mac @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:43
[10:17:23.506] assignment to undeclared variable Is_IE4M @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:43
[10:17:24.053] anonymous function does not always return a value @ http://192.168.2.250/admin/assets/endpointman/js/jquery.coda-slider-2.0.js:149
[10:17:24.259] function exec does not always return a value @ http://192.168.2.250/admin/assets/endpointman/js/jquery.jstree.js:1254
[10:17:24.276] anonymous function does not always return a value @ http://192.168.2.250/admin/assets/endpointman/js/jquery.jstree.js:1390
[10:17:24.457] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.483] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.514] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.530] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.555] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:24.596] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.612] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.637] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.654] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.679] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:24.720] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.737] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.761] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.778] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.802] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:24.842] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.859] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.884] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.900] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.923] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:24.963] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:24.979] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.003] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.019] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.043] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:25.082] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.098] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.122] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.138] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.162] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:25.202] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.217] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.242] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.258] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.282] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:25.322] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.338] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.362] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.378] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.403] reference to undefined property b[g] @ http://192.168.2.250/admin/assets/endpointman/js/jquery.tools.min.js:16
[10:17:25.442] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.871] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.897] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.913] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.930] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.947] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.963] reference to undefined property a[b] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:25.980] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.011] reference to undefined property j[0] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.026] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.072] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.096] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.112] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.127] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.143] reference to undefined property f[e] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.158] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.174] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.250] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:26.274] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:27.317] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:27.333] reference to undefined property a[c.expando] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:27.456] reference to undefined property j[++H] @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:3
[10:17:27.596] assignment to undeclared variable links @ http://192.168.2.250/admin/common/libfreepbx.javascripts.js?load_version=2.9.0.7:69

I see the problem. What version of endpoint manager are you using?

2.9.1.2

Sorry for the delay, I was out of the office most of the day…

Ok well. I don’t know how you have the files listed below present in 2.9.1.2 (because we’ve gone through about a dozen times and removed them and checked and removed again) but you need to remove these files listed below as they are ghost resource forks and your browser is trying to load them which is then causing errors:

Invalid character ._ajax_req.js, line 1 character 1
Invalid character ._jquery.coda-slider-2.0.js, line 1 character 1
Invalid character ._jquery.cookie.js, line 1 character 1
Invalid character ._jquery.easing.1.3.js, line 1 character 1
Invalid character ._jquery.jstree.js, line 1 character 1
Invalid character ._jquery.tools.min.js, line 1 character 1
Invalid character ._ajax_req.js, line 1 character 1
Invalid character ._jquery.coda-slider-2.0.js, line 1 character 1
Invalid character ._jquery.cookie.js, line 1 character 1
Invalid character ._jquery.easing.1.3.js, line 1 character 1
Invalid character ._jquery.jstree.js, line 1 character 1
Invalid character ._jquery.tools.min.js, line 1 character 1

Remove them from where?

/var/www/html/admin/assets/endpointman/js

OK, just to be clear: I need to remove the files you listed above (sans the “invalid character_” and “line 1 character 1” parts), which appear to be all the files listed in that directory.

Do I need to reload Apache or anything else after that?

I removed those files from /var/www/html/admin/assets/endpointman/js, and rebooted the server. No change; same problem as before.

Just noticed:

I’m navigating to that location in WinSCP. /var/www/html/admin/assets has a shortcut to endpointman, which, when clicked, takes me to /var/www/html/admin/modules/endpointman/assets.

The path where those files were located was actually /var/www/html/admin/modules/endpointman/assets.

Does that matter?

Thanks again for your help!

What version of FreePBX are you on?

You should reinstall and start from scratch. I dunno what your issue is but you are missing files, other people aren’t missing files or having problems like this so it sounds like a local issue.

If you’d like I can remote access your ssytem and look into it and fix it for you so that I can actually see what the local issue is.

Email me at [email protected]

2.9.0.7

It’s a brand new FreePBX distro install, as of last week.

See my above response. Sorry I can only be more helpful if you let into your system. Otherwise you are SOL

Just emailed you…