[asterisk-users] Re: Cisco 7970 directories and services xml

Richard Klingler richard at routerlab.org
Thu Sep 7 06:32:10 MST 2006


Tomislav Parčina schrieb:
> In article <45000B54.4010306 at routerlab.org>, richard at routerlab.org says...
>> My 7970G running 8.0.2 SIP firmware works perfectly with
>> the Open XML 79xx directory frontend...
> 
> I have never tried Open XML 79xx, although I have hear of him.

http://www.asteriskpbx.de/index.php?open79xx

> 
>> Also can can push XML alarm messages to the phone
>> from nagios system.
> 
> Can you tell me more about this?

http://www.voip-info.org/wiki/index.php?page=Cisco+79XX+XML+Push

> 
>> For me all other SIP version won't register with * 1.2.9 (o;
> 
> Same here.
> 
>> - Do you have access to the webserver logs?
> 
> Yes I have. I can open http://10.0.0.20/cisco/services/PhoneDirectory.xml from my web browser and in web server log I can see that it has requested it. When I press directory button I don't get any message in webserver log.
> 
>> - can you telnet to your webserver port and
>>    look on the console if something is returned?
>>    (telnet x.x.x.x 80 and do a manual get)
> 
> I can't do this. But like I said before, it shouldn't be problem with http server because 7940 phone gets PhoneDirectory.xml 
> 

Would be good to know what the actual text output is to
compare with mine...

Discovered that it doesn't like long names in open 79xx xml dir
and also no umlauts are allowed...

But if you have php installed you can check with something like:

<?
  header("Content-type: text/xml");
  header("Connection: close");
  header("Expires: -1");

  print("<CiscoIPPhoneDirectory>\n");
  print("\t<Title>Directory</Title>\n");
  print("\t<Prompt>Select Directory</Prompt>\n");

  print("\t<DirectoryEntry>\n");
  print("\t\t<Name>Someone</Name>\n");
  print("\t\t<Telephone>1000</Telephone>\n");
  print("\t</DirectoryEntry>\n");

  print("</CiscoIPPhoneDirectory>\n");
?>


cheers
rick



More information about the asterisk-users mailing list