Cisco 7960 end point manager doesn't work

Discussion in 'IP Phones' started by jedaustin, Dec 31, 2008.

  1. jedaustin

    Joined:
    Dec 30, 2008
    Messages:
    34
    Likes Received:
    0
    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?
     
  2. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
  3. jedaustin

    Joined:
    Dec 30, 2008
    Messages:
    34
    Likes Received:
    0
    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?
     
  4. jedaustin

    Joined:
    Dec 30, 2008
    Messages:
    34
    Likes Received:
    0
    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>
     
  5. jedaustin

    Joined:
    Dec 30, 2008
    Messages:
    34
    Likes Received:
    0
    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
     
  6. jedaustin

    Joined:
    Dec 30, 2008
    Messages:
    34
    Likes Received:
    0
    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.
     
  7. danardf

    Joined:
    Dec 3, 2007
    Messages:
    8,069
    Likes Received:
    12
    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
     
  8. Admiral_Trigger_Happy

    Joined:
    Apr 29, 2009
    Messages:
    3
    Likes Received:
    0
    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
     

Share This Page