R.I.P. PIAF Endpoint Manager

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
LAST UPDATED: 03-25-2014

Hi Everyone.

I've just released the newest version of Endpoint Manager for FreePBX. It will be included as a core module in FreePBX 2.9 & 2.10 but will work with older versions of FreePBX from 2.6+. This project started at PBX In A Flash and will always support all versions of PBX in a Flash.

You can download the newest version from here: https://github.com/FreePBX/endpointman/releases

Repo Here: https://github.com/freepbx/endpointman

You are also encouraged to post bugs or feature requests to FreePBX here.

Right now it's 2.10.1.1

KNOWN ISSUES:
  • ? (none?)
FIXED ISSUES:
  • Allow single and double quotes in display name
  • Remove all php short tags
  • Fix 'Assume Database is Asterisk'
  • Remove oui_list.inc from back in the day with old coding in it
  • [mx504]:Changed default "Reboot Phones" options to unchecked. This is a safer option
  • Updated xml2array, prepare_configs and update_brand functions to support families with only one model
ADDED FEATURES:
  • New visual configuration file editor, allowing tabs and color syntax
  • Changed location of package server and allow users to change this value (to create a local package server if wanted)
  • Stopped using cURL, using built in php functions along with wget for package installs
  • Re-allow FreePBX 2.6 installs....
  • Beta HTTP Provisioning Support. Needs more work
  • PHP 5.3 Timezone Support & Back Ported to PHP 5.3 >
  • Added local package check
  • Automatically create a database config cloned from the hard drive config if the user attempts to create the config in a template editor screen
  • Add ability for user to allow editing of hard drive base configuration files
  • Show Phone Registration Status with circle lights (images)
  • Added checkbox, textarea, file input types to xml2html generator
COMING SOON:
  • Overall language support
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/27

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)
* More..
 

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
Does it check for Snom 190, 360, Cisco 7960, 7941s? I just have one model of Grandstream Budgetone 200, I believe
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Does it check for Snom 190, 360, Cisco 7960, 7941s? I just have one model of Grandstream Budgetone 200, I believe

Yes.

it supports all listed models below and I can add more without you having to update the core module because we have added a 'check for updates' system within the module that will allow you to download phone information

http://www.provisioner.net/supported
 

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
This will give me something to do next week. It looks pretty spiffy.
 

blanchae

Guru
Joined
Mar 12, 2008
Messages
1,910
Reaction score
9
In the dhcp prerequisites, you are using option 66 for t*f*t*p server. Have you tried option 150? This allows multiple t*f*t*p server configuration. So if the first t*f*t*p server fails, it will try the next one.
 

jono

New Member
Joined
Oct 23, 2007
Messages
50
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

I had a good go with this last week and it looked much more flexible than v1. However, I couldn't get it to provision any phones.........was I trying a little too early before the release?

I downgraded to v1 but will try again now it's been released for test.
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
I had a good go with this last week and it looked much more flexible than v1. However, I couldn't get it to provision any phones.........was I trying a little too early before the release?

I downgraded to v1 but will try again now it's been released for test.

I only own grandstream 2000 and polycom 501s. So any other phone is hit and miss with me. Though if you download it and give me a good configuration file i can simply fix the phone configuration and you wouldn't have to re-download the entire module

I've had a few people test snoms and I assume they work
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
In the dhcp prerequisites, you are using option 66 for t*f*t*p server. Have you tried option 150? This allows multiple t*f*t*p server configuration. So if the first t*f*t*p server fails, it will try the next one.

Ya I should probably change that. Cisco + Polycom phones support option 150. I don't know if grandstream, snom or aastra do
 

dfisheratt

New Member
Joined
Jan 13, 2010
Messages
14
Reaction score
0
Upgraded a test box...

In SHOW/HIDE BRANDS/MODELS do the buttons display the current config?

For instance, if it says "show", does that mean click here to show the device? Or does it mean, This device is being shown?
 

dfisheratt

New Member
Joined
Jan 13, 2010
Messages
14
Reaction score
0
I uninstalled 2.0 and reinstalled it.

Upon opening, I did check for updates, refreshed, installed Polycom, enabled 501 and 601. I then went to the template manager and created a template for each.
I then configured the server address and enabled debugging.
Next I tried to search my network for new phones.
When I clicked on My Devices List, I get an error that is as follows:

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

If it helps, it seems that under "Current Managed Extensions" it populated the list of brands, but failed to populate the model of phone list. Even after I select a brand, it does not populate the Model of Phone list. It also failed to populate templates.. I also noticed that it did not import my current extensions. However after I created a new extension, the new one did show up but still not the existing. Is this by design?

I really like the features this is going to offer over 1.0. Keep up the good work!

Thank you

Dennis Fisher
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
In SHOW/HIDE BRANDS/MODELS do the buttons display the current config?

For instance, if it says "show", does that mean click here to show the device? Or does it mean, This device is being shown?


That only hides (or shows) brands/products/models on the 'brand/models configuration" screen. Kinda confusing. I need to put a description on that page. I'll add that to the next one. Thanks!
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
I uninstalled 2.0 and reinstalled it.

Upon opening, I did check for updates, refreshed, installed Polycom, enabled 501 and 601. I then went to the template manager and created a template for each.
I then configured the server address and enabled debugging.
Next I tried to search my network for new phones.
When I clicked on My Devices List, I get an error that is as follows:

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

If it helps, it seems that under "Current Managed Extensions" it populated the list of brands, but failed to populate the model of phone list. Even after I select a brand, it does not populate the Model of Phone list. It also failed to populate templates.. I also noticed that it did not import my current extensions. However after I created a new extension, the new one did show up but still not the existing. Is this by design?

I really like the features this is going to offer over 1.0. Keep up the good work!

Thank you

Dennis Fisher

Are your phone extensions SIP or MGCP. I don't support MGCP or SCCP (Cisco) just because they are referenced differently in freepbx.

It should show your old extensions that are on the system. Especially if they are of tech sip.

I private messaged you so we can work on this together and hopefully figure out what the issue is.
 

Speedy2k

Member
Joined
Oct 11, 2008
Messages
387
Reaction score
0
For Aastra phone, i have a 57i here, with aastra XML script installed, what i want to do is manage all the phone wuth your endpoint manager but with the scripts enabled. I don't want the end user being able to enter their extension in the phone UI, i what to be able to set it up on the EndPoint Manager. So here is what i'm missing in your current config and i'm pretty sure it will be really easy for you to do.
First, we can adjust the softkey 1-12, but their is 20 softkey on a 57i, So if it is possible on the 57i template to add the softkey 13-20 it would be really awesome, i see eitheir that you are not gicing any option to adjust the topsoftkey that we have 12 on a 57i. they are setup just like the softkey but like that:

Code:
topsoftkey1 type: callers
topsoftkey1 label: Appelants
topsoftkey2 type: xml

And fot the softkey and topsoftkey type, i see you have right now:
Code:
Services
Speed Dial
Line
BLF
List
Do Not Disturb
XML URL

It is really nice, but it would be cool if you can add Those one:
Code:
softkey13 type: blfxfer
softkey13 label: Bureau
softkey13 value: 1001
softkey13 states: "idle connected incoming outgoing busy"
topsoftkey1 type: empty
topsoftkey2 type: icom
topsoftkey2 label: Intercom
topsoftkey3 label: "Callers List"
topsoftkey4 type: pickup
topsoftkey4 label: Pickup
topsoftkey5 type: flash
topsoftkey5 label: Flash
topsoftkey6 type: spre
topsoftkey6 label: Sprecode
topsoftkey7 type: park
topsoftkey7 label: Park
topsoftkey8 type: pickup
topsoftkey8 label: Pickup
topsoftkey9 type: blfxfer
topsoftkey9 label: BLF/Xfer
topsoftkey10 type: directory
topsoftkey10 label: Directory

So i have sent you some of the avaible softkey on a Aastra 57i phone, i don;t know if you see the softkey13 states, it would be nice to have the possibility to set the state when we want those softkey, thanx a lot and let me know when you are ready and i'm gona update my template to see the change, thanx a lot!

I have found another problem, when i edit my $mac.cfg in the /Advanced Setting/Configuration Editor and i select the aastra i have installed, here is the $mac.cfg file i'm using:
Code:
sip auth name: {$ext}
sip password: {$pass} 
sip user name: {$ext}
sip display name: {$displayname}
sip screen name: {$displayname} #the name display on the phone's screen
sip screen name 2: Ext. {$ext} #the extension display on the phone's screen

# set the inter-digit timeout in seconds
sip digit timeout: {$sip_digit_timeout}

# this is the default dial string, note
sip dial plan: "{$sip_dial_plan}"

# XML Configuration
action uri incoming: http://{$srvip}:9080/aastra/asterisk/incoming.php?number=$$REMOTENUMBER$$&name=$$INCOMINGNAME$$&user={$ext}
action uri outgoing: http://{$srvip}:9080/aastra/asterisk/outgoing.php?number=$$REMOTENUMBER$$
action uri onhook: http://{$srvip}:9080/aastra/asterisk/onhook.php?number=$$REMOTENUMBER$$&name=$$INCOMINGNAME$$&user={$ext}
action uri registered: http://{$srvip}:9080/aastra/asterisk/sync.php?action=register&user={$ext}
action uri poll: http://{$srvip}:9080/aastra/asterisk/sync.php?action=check&user={$ext}
action uri poll interval: 1800
sip xml notify event: 1
action uri xml sip notify: http://{$srvip}:9080/aastra/asterisk/sync.php?action=notify&user={$ext}
xml application URI: http://{$srvip}:9080/aastra/menu/mymenu.php?menu_source=menu1&menu_user={$ext}&user={$ext}
xml application title: Applications
xml get timeout: 30
sip intercom type: 2
sip intercom prefix code: *80
sip intercom line: 1
sprecode: asterisk;70
sip allow auto answer: 1
sip intercom mute mic: 0
directed call pickup: 1
directed call pickup prefix: **
auto offhook: 0
bl on time: 30

softkey1 type: {$softkey1_type}
softkey1 label: "{$softkey1_label}"
softkey1 value: {$softkey1_value}

softkey2 type: {$softkey2_type}
softkey2 label: "{$softkey2_label}"
softkey2 value: {$softkey2_value}

softkey3 type: {$softkey3_type}
softkey3 label: "{$softkey3_label}"
softkey3 value: {$softkey3_value}

softkey4 type: {$softkey4_type}
softkey4 label: "{$softkey4_label}"
softkey4 value: {$softkey4_value}

softkey5 type: {$softkey5_type}
softkey5 label: "{$softkey5_label}"
softkey5 value: {$softkey5_value}

softkey6 type: {$softkey6_type}
softkey6 label: "{$softkey6_label}"
softkey6 value: {$softkey6_value}

softkey7 type: {$softkey7_type}
softkey7 label: "{$softkey7_label}"
softkey7 value: {$softkey7_value}

softkey8 type: {$softkey8_type}
softkey8 label: "{$softkey8_label}"
softkey8 value: {$softkey8_value}

softkey9 type: {$softkey9_type}
softkey9 label: "{$softkey9_label}"
softkey9 value: {$softkey9_value}

softkey10 type: {$softkey10_type}
softkey10 label: "{$softkey10_label}"
softkey10 value: {$softkey10_value}

softkey11 type: {$softkey11_type}
softkey11 label: "{$softkey11_label}"
softkey11 value: {$softkey11_value}

softkey12 type: {$softkey12_type}
softkey12 label: "{$softkey12_label}"
softkey12 value: {$softkey12_value}

The problem i got is that the {$srvip} variable isn't working at all, it give en empty value. thanx!
 
Joined
Nov 2, 2007
Messages
498
Reaction score
0
I gave it a shot...

On a test system the module appeared to install but when I try to get to it:

/tftboot is not writable

I think there is a typo somewhere and /tftpboot is what was meant...
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
On a test system the module appeared to install but when I try to get to it:

/tftboot is not writable

I think there is a typo somewhere and /tftpboot is what was meant...

Thanks. Was a typo but only on the output. It still believes that your tftpboot directory is not writable:

Code:
if(file_exists('/tftpboot')) {
	if(!is_writeable('/tftpboot')) {
		die('/tftpboot is not writable');
	}
} else {
	die("Please create /tftpboot, even if you won't use it");
}

try chown -r asterisk:asterisk
 

tm1000

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

The problem i got is that the {$srvip} variable isn't working at all, it give en empty value. thanx!

Hi,

Thanks for your input I'll work on the things you mentioned.

I see what you mean!! It does spit out a blank error! I'll get a fix out asap!

Thanks!
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Thanx it as fix the problem for the {$srvip}, but will you be able to adjust the Aastra template to have all the avaible buttons ? thanx! and all avaible action.

Yup. I'm working on that right now. I've even included a button on the "Product Options/Configuration Editor" page that will auto configure the default config file (on the hard drive) with Aastra script xml information.

See below:

aastra_scripts.jpg


aastra_buttons.jpg
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
I have uploaded the changes to Aastra models.

Simply go to "Brand Configurations/Setup" then click "Check for updates"

Then update "Aastra Models: 9480i, 9480i CT, 9143i,67xx"
 
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