R.I.P. PIAF Endpoint Manager

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Reinstall Endpoint Manager. Your assets are messed up.

My apologies. I saw the device list in a previous post, and thought you were discussing that. It is the Red/Green graphic that is displayed when a device is connected/disconnected. I added a screenshot to my previous post.
 

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
MWI on Polycom IP 501

I'm trying to get the MWI working on Polycom IP 501's

Do I need to create a separate template for each extension?

I have tried to edit phone1_317.cfg. No matter what value I put in the <mwi msg.mwi.1.subscribe="your_extension" it is blank in the 0004f204d291_reg.cfg file that is created in the /tftpboot directory

From edited EPM phone_317.cfg template:
<msg msg.bypassInstantMessage="1">
<mwi msg.mwi.1.subscribe="501" msg.mwi.1.callBackMode="contact" msg.mwi.1.callBack="*97" msg.mwi.2.subscribe="" msg.mwi.2.callBackMode="registration" msg.mwi.2.callBack="" msg.mwi.3.subscribe="" msg.mwi.3.callBackMode="registration" msg.mwi.3.callBack="" msg.mwi.4.subscribe="" msg.mwi.4.callBackMode="registration" msg.mwi.4.callBack="" msg.mwi.5.subscribe="" msg.mwi.5.callBackMode="registration" msg.mwi.5.callBack="" msg.mwi.6.subscribe="" msg.mwi.6.callBackMode="registration" msg.mwi.6.callBack=""/>
</msg>


From EPM genereated 0004f204d291_reg.cfg

<msg msg.bypassInstantMessage="1">
<mwi
msg.mwi.1.subscribe=""
msg.mwi.1.callBackMode="contact"
msg.mwi.1.callBack="*97"/>
</msg>


What am I doing wrong?

Thanks,


Mike
 

tm1000

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

You are editing the wrong file. You need to edit the file you are referencing which is $mac_reg not phone1
 

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
OK, Why isn't {$mwi_subscribe} populating with the extension number? Could this be due to "device and user" mode?
 

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
Also the SNTP field is not populating. Where is this value for the ntp server being pulled from? It's blank in the generated server_317.cfg file

tcpIpApp.sntp.address="{$network_time_server}"
 

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
Also the SNTP field is not populating. Where is this value for the ntp server being pulled from? It's blank in the generated server_317.cfg file

tcpIpApp.sntp.address="{$network_time_server}"

OK, I figured this out. The ntp time server has to be entered in the "Globals"
 

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
I added device/user 962 in FreePBX. I used EPM to create a config for a Linksys SPA962, The generated spa000e08ffffff.xml file is missing the line settings (for ext 962) so the phone configures without any lines.
 

Attachments

  • spa000e08ffffff.xml.txt
    5 KB · Views: 2
  • spa962.cfg.txt
    621 bytes · Views: 1

Mike_S

New Member
Joined
Jul 7, 2009
Messages
19
Reaction score
0
It looks like the variable substitution {$line} is not working in the SPA962 template:

{line_loop}
<Display_Name_{$line}_ ua="na">{$displaynameline}</Display_Name_{$line}_>
<!-- If BLF then set this to the BLF -->
<Short_Name_{$line}_ ua="na">{$short_name}</Short_Name_{$line}_>
<User_ID_{$line}_ ua="na">{$ext}</User_ID_{$line}_>
<Password_{$line}_ ua="na">{$pass}</Password_{$line}_>
<!-- Below set to disabled for BLF -->
<Extension_{$line}_ group="Phone/Line_Key_{$line}">{$blf_ext_type}</Extension_{$line}_>
<!-- If BLF set to shared -->
<Share_Call_Appearance_{$line}_ group="Phone/Line_Key_{$line}">{$share_call_appearance|private}</Share_Call_Appearance_{$line}_>
<!-- this changes how the button works. If it's set when the phone isn't on blf then the button turns orange. so we probably need to remove this normally.-->
<Extended_Function_{$line}_ group="Phone/Line_Key_{$line}">{$extended_function}</Extended_Function_{$line}_>
<Dial_Plan_{$line}_ ua="na">{$dial_plan}</Dial_Plan_{$line}_>
{/line_loop}


Results in:

<Display_Name_Array_ ua="na"></Display_Name_Array_>
<!-- If BLF then set this to the BLF -->
<Short_Name_Array_ ua="na"></Short_Name_Array_>
<User_ID_Array_ ua="na"></User_ID_Array_>
<Password_Array_ ua="na"></Password_Array_>
<!-- Below set to disabled for BLF -->
<Extension_Array_ group="Phone/Line_Key_Array"></Extension_Array_>
<!-- If BLF set to shared -->
<Share_Call_Appearance_Array_ group="Phone/Line_Key_Array">private</Share_Call_Appearance_Array_>
<!-- this changes how the button works. If it's set when the phone isn't on blf then the button turns orange. so we probably need to remove this normally.-->
<Extended_Function_Array_ group="Phone/Line_Key_Array"></Extended_Function_Array_>
<Dial_Plan_Array_ ua="na">(*xx.|7xxxS0|9[3469]11S0|9[2-9]xxxxxxS0|91xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_Array_>
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
{$line} works fine. It's an error in phone.php which I will fix soon. :)

It looks like the variable substitution {$line} is not working in the SPA962 template:

{line_loop}
<Display_Name_{$line}_ ua="na">{$displaynameline}</Display_Name_{$line}_>
<!-- If BLF then set this to the BLF -->
<Short_Name_{$line}_ ua="na">{$short_name}</Short_Name_{$line}_>
<User_ID_{$line}_ ua="na">{$ext}</User_ID_{$line}_>
<Password_{$line}_ ua="na">{$pass}</Password_{$line}_>
<!-- Below set to disabled for BLF -->
<Extension_{$line}_ group="Phone/Line_Key_{$line}">{$blf_ext_type}</Extension_{$line}_>
<!-- If BLF set to shared -->
<Share_Call_Appearance_{$line}_ group="Phone/Line_Key_{$line}">{$share_call_appearance|private}</Share_Call_Appearance_{$line}_>
<!-- this changes how the button works. If it's set when the phone isn't on blf then the button turns orange. so we probably need to remove this normally.-->
<Extended_Function_{$line}_ group="Phone/Line_Key_{$line}">{$extended_function}</Extended_Function_{$line}_>
<Dial_Plan_{$line}_ ua="na">{$dial_plan}</Dial_Plan_{$line}_>
{/line_loop}


Results in:

<Display_Name_Array_ ua="na"></Display_Name_Array_>
<!-- If BLF then set this to the BLF -->
<Short_Name_Array_ ua="na"></Short_Name_Array_>
<User_ID_Array_ ua="na"></User_ID_Array_>
<Password_Array_ ua="na"></Password_Array_>
<!-- Below set to disabled for BLF -->
<Extension_Array_ group="Phone/Line_Key_Array"></Extension_Array_>
<!-- If BLF set to shared -->
<Share_Call_Appearance_Array_ group="Phone/Line_Key_Array">private</Share_Call_Appearance_Array_>
<!-- this changes how the button works. If it's set when the phone isn't on blf then the button turns orange. so we probably need to remove this normally.-->
<Extended_Function_Array_ group="Phone/Line_Key_Array"></Extended_Function_Array_>
<Dial_Plan_Array_ ua="na">(*xx.|7xxxS0|9[3469]11S0|9[2-9]xxxxxxS0|91xxx[2-9]xxxxxxS0|xxxxxxxxxxxx.)</Dial_Plan_Array_>
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Fixed now. Along with Polycom Linekeys support and buddy lists and attendant keys
 

tm1000

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

I also changed the functionality of the subscribe option. It should now equal your authname @ server. This works for me (and it worked in the broken state too)

So let me know.

Also fixed the extdisplay fatal error for dev/user mode

Thanks, I will test drive it tonight!
 

sub0

Member
Joined
Feb 21, 2011
Messages
73
Reaction score
1
Hi all,

I just upgraded EPM from 2.9.0rc5 to 2.9.2.9 and now EPM is generating errors in a number of places, such as on the configuration page:

Notice: Undefined index: local in /var/www/html/admin/modules/endpointman/templates/freepbx/compiled/brand_model_manager_1317855509.php on line 261
checked/>Check Online


...and the devices page:

Notice: Undefined index: show_all_registrations in /var/www/html/admin/modules/endpointman/includes/abstraction/freepbx.inc on line 117

Notice: Undefined offset: 1 in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 362

Notice: Undefined offset: 1 in /var/www/html/admin/modules/endpointman/includes/devices_manager.inc on line 365

[truncated - there were at least 50 more errors on the page.. ]


So I guess something is up with the indexes. I should add that I was having similar problems prior to upgrading, but now it's much worse.

Also, the device settings that were visible for each extension have disappeared.

What to do?
 

sub0

Member
Joined
Feb 21, 2011
Messages
73
Reaction score
1
I did that on a test system and all the end points disappeared from the device view. If I uninstall and re-install; is it sufficient to export the devices first and then import them afterwards?

Thanks!
 

tm1000

Schmoozecom INC/FreePBX
Joined
Dec 1, 2009
Messages
1,360
Reaction score
78
Yes just export and import.

You will lose all of your GUI settings and config file adjustments. Sorry I can't be of more help RC5 was well over a year ago.

I did that on a test system and all the end points disappeared from the device view. If I uninstall and re-install; is it sufficient to export the devices first and then import them afterwards?

Thanks!
 

carlosmp

Member
Joined
Jan 20, 2008
Messages
120
Reaction score
1
Problems with SP942 and T28

I'm having some strange issues that seem to related to the files in the tftpboot directory. I've attempted to provision a 942 and a T28, and they both appear to fail to download the required files. I can see the requests come in for the appropriate files /spa942.cfg and y00...cfg, but see the request 4 times, and then nothing. The SPA942 will reattempt every hour.

I am certain that the t*f*t*p server is correct, as all of our Aastra phones are working correctly and can pull files/updates over the t*f*t*p. We're not using EPM for the Aastra phones.

Using 2.9.3.2 of the EPM on asterisk 1.6.2.22, freepbx 2.9

TIA,

Carlos.
 

darmock

PIAF Developer
Joined
Oct 18, 2007
Messages
2,892
Reaction score
98
Hi Carlos

long time

look at the t*f*t*p config file and ensure it is pointing to /tftpboot. Under centos 6.x it was pointing elsewhere and It seems to me there was a version of centos 5 that had this screwed up as well.


Tom
 
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