R.I.P. PIAF Endpoint Manager

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Updated to 1.9.9

Fixed the issue described by fastm3

Added an option in the settings page to fix internal server errors (will fix .htaccess files)

Next:
-Update Grandstream File for fastm3 to look and act like Aastra
-Work on 2.0.0+ to have multiple line support.
 

fastm3

New Member
Joined
May 19, 2008
Messages
8
Reaction score
0
I've updated to 1.9.9 plus the gxp update
We can now choose blf for gxp and the generated config file seems ok. Thanks for this quick update.
FYI, I still have the issue when I used saveas on an already modified cfg. The workaround is simple. Choose $mac.cfg before pasting and saving as a new cfg.
Cheers!
Fastm3.
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
I've updated to 1.9.9 plus the gxp update
We can now choose blf for gxp and the generated config file seems ok. Thanks for this quick update.
FYI, I still have the issue when I used saveas on an already modified cfg. The workaround is simple. Choose $mac.cfg before pasting and saving as a new cfg.
Cheers!
Fastm3.

strange that you still have the issue as I just checked it on my end and loaded a User File Config and clicked save as and it works like it's suppose to.

Can you go to the settings page and confirm there is an option called "Disable .htaccess (Might fix 'Internal Server Errors')"
 

kitifu

New Member
Joined
Apr 17, 2010
Messages
2
Reaction score
0
Hi Everyone.

I'm looking for anyone with some spare time and a couple of phones on them to work me work out the kinks left in the new version of Endpoint Manager. Any help would be appreciated and you can post issues/bugs right here on the forums.

You can download the newest version at http://projects.colsolgrp.net/projects/endpointman/files

Right now it's 1.9.9

http://projects.colsolgrp.net/attachments/download/297/endpointman-1.9.9.tgz

KNOWN ISSUES:
* People have reported that sometimes upon installing phone modules they get a blank page or "Internal Server Error". This is an error that has been around for long before the 1.9.x series came about and the fix is documented here: http://projects.colsolgrp.net/documents/25
* Yealinks are currently in testing phase and have not been fully tested. Any help is appreciated. Currently Ou812 is helping to test these models

FIXED ISSUES:
* Aastra Models "9480i, 9480i CT, 9143i,67xxi" have been tested are are known to work. Special Thanks to Speedy2k for support with Aastra Phones
* Polycom Models "SoundPoint/Station Legacy Models [301,501,600,601,4000]" have been tested and are known to work without errors such as 0x20. Special Thanks to dfisheratt for XML error resolution and testing and Steven Henke for future testing of "SoundPoint/Station/VVX In-Production Models [320,330,321,331,335,430,450,550,560,650,670,6000,7000,1500]"
* Added option to auto-check nightly for phone module updates to keep users up-to-date with current releases of Firmware/Config files/configuration directives.


Now this isn't your basic endpoint manager. Advanced users can get some benefit out of this also because we allow editing of configuration files right in the module and you can assign these configuration files to individual phones or templates (the templates can then be assigned to phones)

Documentation here: http://projects.colsolgrp.net/documents/21

Some quick features:

* Finding devices on the network that haven't been added into endpoint manager and allowing administrators to add these devices
* Ability to delete multiple phones at one time
* Ability to re-assign phones already added devices to different brands/Models
* Ability to reconfigure all phones of a certain product to another template
* Ability to assign phones a global template or an individual template (Each template [individual or global] can have different advanced configuration files attached to them or different parameters in the template manager)
* Template manager section for basic users or users who would like to use the ARI voicemail/recording module which allows phone end users to modify administrator defined settings and reboot their respective devices
* Allow variables such as server IP, mac address, extension number and display name to be used in the template manager section for administrators and phone end users
* Brand/Products/Phones module support. The user can check for updates and download firmware for supported products/brands within the Brand Configurations/Setup screen
* Users can enable or disable phones from within the brand Configurations/Setup window to hide phones which they are not using
* Button to rebuild configuration files and reboot all phones that have been added to endpoint manager
* Button to reboot individual Brands
* Support for editing configuration files of phones in browser and allowing the administrator to assign these configuration files to individual phones or select templates
* Advanced location support for the executables needed in Endpointmanager (Path definitions for ARP, NMAP and Asterisk)
* View all searchable OUIs
* OUIs are removed,Installed and updated when modules are removed, installed and updated
* Removed need for JAVA JDK and grandstream complier requirements.
* Each phone module can complete custom functions within the advanced settings page
* Export/Import MAC list table
* French Language Support (Thanks to Christophe Jouniaux)
Hi there
I have tried to install endpointman 1.9.6 and later 1.9.9 but still get this errors
" English Bulgarian Deutsch Español Français Hebrew Hungarian Italiano Portuguese Portuguese (Brasil) Russki Svenska

Notice: Undefined variable: list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 344"

Notice: Undefined variable: temp in /var/www/html/admin/modules/endpointman/includes/functions.inc on line 1600

I have;
drwxr-xr-x 2 asterisk asterisk 4096 Sep 26 2009 tftpboot

I am using centos 5.4, freepbx 2.5.2, asterisk 1.6

Regards
Kitifu

 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Hi there
I have tried to install endpointman 1.9.6 and later 1.9.9 but still get this errors
" English Bulgarian Deutsch Español Français Hebrew Hungarian Italiano Portuguese Portuguese (Brasil) Russki Svenska

Notice: Undefined variable: list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 344"

Notice: Undefined variable: temp in /var/www/html/admin/modules/endpointman/includes/functions.inc on line 1600

I have;
drwxr-xr-x 2 asterisk asterisk 4096 Sep 26 2009 tftpboot

I am using centos 5.4, freepbx 2.5.2, asterisk 1.6

Regards
Kitifu


Those aren't errors. Just notices. The module should still function correctly
 

kitifu

New Member
Joined
Apr 17, 2010
Messages
2
Reaction score
0
Thanks for your reply. What is seems to happen in my case is this working escalate to warnings and errors like this one. When trying to probe for endpoints (Polycom's) their IP are shown but the mark address are all 0's
---
172.30.1.7 0x1 0x0 00:00:00:00:00:00 * eth1
172.30.4.43 0x1 0x0 00:00:00:00:00:00 * eth1
172.30.4.91 0x1 0x0 00:00:00:00:00:00 * eth1
---

***

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 49

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 51

Notice: Undefined index: variable in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 61

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 62

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 65

Notice: Undefined index: variable in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 61

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 62

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 65

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 71

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 74

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 76
Can't get phone info!
***
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
try running 'arp -an' from. then run 'cat /proc/net/arp'

if you still only see 00s as the mac then that is unfortunately an issue with your system as all my module does is run arp -an

Also 1.9.9 doesn't output data like that in the debug console. 1.9.8 does. Please post the full output from the debug log window

Thanks for your reply. What is seems to happen in my case is this working escalate to warnings and errors like this one. When trying to probe for endpoints (Polycom's) their IP are shown but the mark address are all 0's
---
172.30.1.7 0x1 0x0 00:00:00:00:00:00 * eth1
172.30.4.43 0x1 0x0 00:00:00:00:00:00 * eth1
172.30.4.91 0x1 0x0 00:00:00:00:00:00 * eth1
---

***

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 49

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 51

Notice: Undefined index: variable in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 61

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 62

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 65

Notice: Undefined index: variable in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 61

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 62

Notice: Undefined index: default_value in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 65

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 71

Notice: Undefined index: ext_list in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 74

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 76
Can't get phone info!
***
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78

Thanks for the video. I don't know where to go from here because i have tested this on two different machines and I even tested UTF characters.

I actually just installed 1.9.9 on a production machine and followed your video step by step and it still worked fine for me.

The only thing I can offer is if you want to give me remote access to figure out whats going on. But that's up to you
 

fastm3

New Member
Joined
May 19, 2008
Messages
8
Reaction score
0
I actually just installed 1.9.9 on a production machine and followed your video step by step and it still worked fine for me.

The only thing I can offer is if you want to give me remote access to figure out whats going on. But that's up to you
Did a reinstall of 1.9.9 right now and I cannot reproduce anymore the issue. :confused5: . So, issue seems indeed solved or not related to your module. I have no idea why it wasn't working before.
Fastm3.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
I worked on this for the last couple hours to see if I could get it to provision my Polycom Soundstation IP 6000 I just received. The Polycom simply says cannot contact network server. DHCP is configured with option 66 and I checked t*f*t*p is working (Logged in with a client and downloaded the config file created by endpoint manager). Have I missed something simple?

ADD - was able to get a connection by changing the type of server to t*f*t*p manually within the bootup setup of the Polycom. Interesting though that it didn't realize to use t*f*t*p when it saw option 66? Anyone else notice this?
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
I worked on this for the last couple hours to see if I could get it to provision my Polycom Soundstation IP 6000 I just received. The Polycom simply says cannot contact network server. DHCP is configured with option 66 and I checked t*f*t*p is working (Logged in with a client and downloaded the config file created by endpoint manager). Have I missed something simple?

ADD - was able to get a connection by changing the type of server to t*f*t*p manually within the bootup setup of the Polycom. Interesting though that it didn't realize to use t*f*t*p when it saw option 66? Anyone else notice this?

Hi.

I've also been told to use option 150 (Which allows for Multiple t*f*t*p servers) for Polycom or Cisco phones.

Additionally I think Polycoms used to come shipped setup to use FTP not t*f*t*p. I do not know if they have changed this in future firmware changes.

Let me know how it works and if you'd like anything added. Thanks for using!
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
Hi.

I've also been told to use option 150 (Which allows for Multiple t*f*t*p servers) for Polycom or Cisco phones.

Additionally I think Polycoms used to come shipped setup to use FTP not t*f*t*p. I do not know if they have changed this in future firmware changes.

Let me know how it works and if you'd like anything added. Thanks for using!

It was the FTP/t*f*t*p issue in the end upon further testing. Worth adding to your FAQ or something that the 6000 series need that changed before they do that (or perhaps this will simply suffice).

Otherwise, thanks for this. I have to provision a bunch of phones (SPA942's and another Polycom) and this will save me some time.
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
It was the FTP/t*f*t*p issue in the end upon further testing. Worth adding to your FAQ or something that the 6000 series need that changed before they do that (or perhaps this will simply suffice).

Otherwise, thanks for this. I have to provision a bunch of phones (SPA942's and another Polycom) and this will save me some time.

Let me know how the SPA942's work out as I just added that in recently.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
Let me know how the SPA942's work out as I just added that in recently.

Regrettably not so far :-( First, a firmware update to the current version was needed, otherwise the provisioning menu simply said the spa942.cfg file was corrupt.

In the spa942.cfg file I see at the top:

<!-- Profile_Rule - If using DHCP to pass option 66, /spa$PSN.cfg -->
<Profile_Rule ua="ro">t*f*t*p://192.168.6.238</Profile_Rule>
<Profile_Rule_B ua="ro">t*f*t*p://192.168.6.238/spa000e083ad3c0.cfg</Profile_Rule_B>

192.168.6.238 must be your config, because it's not mine. I don't know much about this but that doesn't seem right.

Another generic thing I noticed of interest is that the first time I add any phone in Internet Explorer 8 on a screen that is 1280X1024 the dropdown box for template is overwritten by the Edit box and when I select the template I've created, it actually chooses a custom one. When I go back in and edit it I can choose the template and save again, so that's OK but it's a two step process.

I know people don't like these phones but with the new firmware is actually quite full featured and they're dirt cheap. Cisco has discontinued them though, as of the mid-summer, which is too bad.
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Regrettably not so far :-( First, a firmware update to the current version was needed, otherwise the provisioning menu simply said the spa942.cfg file was corrupt.

In the spa942.cfg file I see at the top:

<!-- Profile_Rule - If using DHCP to pass option 66, /spa$PSN.cfg -->
<Profile_Rule ua="ro">t*f*t*p://192.168.6.238</Profile_Rule>
<Profile_Rule_B ua="ro">t*f*t*p://192.168.6.238/spa000e083ad3c0.cfg</Profile_Rule_B>

192.168.6.238 must be your config, because it's not mine. I don't know much about this but that doesn't seem right.
Ok this is now fixed.

Another generic thing I noticed of interest is that the first time I add any phone in Internet Explorer 8 on a screen that is 1280X1024 the dropdown box for template is overwritten by the Edit box and when I select the template I've created, it actually chooses a custom one. When I go back in and edit it I can choose the template and save again, so that's OK but it's a two step process.

I'll start working on this for the final 2.0 release (of the 2.0 series)
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
Ok this is now fixed.



I'll start working on this for the final 2.0 release (of the 2.0 series)

I'll try it out on Monday to make sure its working as expected.

Thanks again.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
Let me know how the SPA942's work out as I just added that in recently.

Hi,

It says in the provisioning status on the phone status: failed corrupt file.

I am using the current firmware version (6.1.5a) on them.

Let me know if I can help more by gathering some debug info (Might need a bit of handholding to get it for you).

Thanks.
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Hi,

It says in the provisioning status on the phone status: failed corrupt file.

I am using the current firmware version (6.1.5a) on them.

Let me know if I can help more by gathering some debug info (Might need a bit of handholding to get it for you).

Thanks.

I ran the cfg files through an XML parser and found quite a few generic XML errors that I fixed.

I updated the SPA version. Update and Try again!

Thanks!
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,385
Reaction score
439
I ran the cfg files through an XML parser and found quite a few generic XML errors that I fixed.

I updated the SPA version. Update and Try again!

Thanks!

Works now. I have to figure out how to modify the cfg file so that it does not assign the single extension to each of the four lines. In other words disable line 2/3/4 on the phone. I'm not sure if that should be a default or not because I don't know how people generally use them.
 

Members online

Forum statistics

Threads
25,812
Messages
167,763
Members
19,240
Latest member
nikko
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top