Cisco 7960 end point manager doesn't work

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#1
I have a choice of either writing a perl script to provision the phones or fixing the end point manager to provision them correctly. What are the files involved for cisco phones in the end point manager?

The end point mananger doesnt build the /var/www/html/xmlservices files; does anyone have xmlservices/PhoneDirectory.php and xmlservices/index.php that work with cisco79XX phones?
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#2

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#3
Thanks that helps!
Looking at the cisco endpoint manager file I see that it creates a <mac>.cnf file that should be saved as SIPDefault.cnf.

In addition to the firmware files it needs the SIPDefault.cnf file and SIP<mac>.cnf
http://cat24.net/Cisco_79X0_files.html

Anyone know what files are involved in the endpoint manager?
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#4
The files you sent look like mostly placeholder code.
Does anyone know what the XML services are supposed to do?

Output looks like this:
https://192.168.1.11/xmlservices/index.php
<CiscoIPPhoneMenu>
<Title>XML Services</Title>
<Prompt>Please select one</Prompt>
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#5
I haven't tried this with a real phone yet but it works in a browser. This PhoneDirectory.php script dumps out the name/extension pairs from the asterisk database. I modded a directory script on voip-info.org.

JD http://forum.elastix.org/old_files/PhoneDirectory.zip
 

jedaustin

Joined
Dec 30, 2008
Messages
34
Likes
0
Points
6
#6
I ended up writing a separate configuration script, though what I wrote could be incorporated since it is just a few shell scripts that take command line arguments.

One big caveat... the mod rewrite rules in the httpd.conf break
the services with the phone since the phone can't handle https.

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}

Is there a way to turn off rewrite for specific user_agents?
The phone comes up as Allegro-Software-WebClient/3.10b1.
 

danardf

Joined
Dec 3, 2007
Messages
8,069
Likes
10
Points
88
#7
Yes of course, like for displaying a logo on a 7960, we need to disable RewriteEngine, (so RewriteEngine Off)

It's into my configuration httpd.conf
 

Admiral_Trigger_Happy

Joined
Apr 29, 2009
Messages
3
Likes
0
Points
0
#8
I found a way to fix this without turning off modrewrite for everything

I just added the lins below to /etc/httpd/conf.d/elastix.conf
Code:
<Directory "/var/www/html/xmlservices">
Rewrite Engine Off
</Directory>

<Directory "/var/www/html/images/bmp">
Rewrite Engine Off
</Directory>
That the directories listed for the xml services and the images won't be sent to https but everything else will
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,981
Messages
131,060
Members
17,704
Latest member
Pahntom
Top