[gelöst]xml-Datei - Webserver Einstellungen? (sip-FW)

tomton

Neuer User
Mitglied seit
28 Nov 2006
Beiträge
79
Punkte für Reaktionen
0
Punkte
0
Wenn ich einen frischen Webserver 2.x aufsetze und dann vom 7960 eine directory.xml holen lasse, übergibt der Apache keine Daten. (im Display Parse error) ( Debug zeigt, dass zwar der Header, nicht aber Daten ankommen)

Gleiches Dokument mit dem Faststream IQ Webserver wird voll übertragen

Hat jemand Erfahrungen mit Einstellungen.
 
Hi,

ich verwende Apache 2 und habe keine Probleme. Was sagen die Logdateien bzw. ein Browser?
 
hier mal drei Debugs. Apache2 Funktioniert nur mit einem DirectoryEntry, sobald es zwei sind, gehts nicht mehr.
Firefox zeigt unter Apache das ganze xml.

### Fastream IQ Web/FTP Server
Code:
SIP Phone> debug http
Enabling bug logging on this terminal - use 'tty mon 0' to disable
debugs: http timestamp
SIP Phone> [18:03:13:2890984] Connect2WWWIPPort called IpAddr[-1062686188], port
[80], hostName[192.168.178.20]
[18:03:13:2890984] Connect2WWWIPPort Sending Request to IpAddr[192.168.178.20],
port[80]
[18:03:13:2890985] HTTP RECV (ACK CMD)
[18:03:13:2890985] HTTP RECV (OPEN CMD)
[18:03:13:2890987]
HTTP Send [450] Bytes of Data
Data Packet is:
===============
GET /directory/simple/directory.xml?name=SEP0015C65C64A3 HTTP/1.1
User-Agent: Allegro-Software-WebClient/3.10b1
Host: 192.168.178.20
Connection: Close
Accept: x-CiscoIPPhone/Text, x-CiscoIPPhone/Menu, x-CiscoIPPhone/Directory, x-Ci
scoIPPhone/Input, x-CiscoIPPhone/Image, x-CiscoIPPhone/GraphicMenu, text/*, imag
e/bmp
x-CiscoIPPhoneModelName: CP-7960G
x-CiscoIPPhoneSDKVersion: 3.0.0
x-CiscoIPPhoneDisplay: 133,65,2,G


===============

[18:03:13:2890993]
Http Recv [779] Bytes of Data
Data Packet is:
===============
HTTP/1.1 200 OK
Content-Length: 614
Content-Type: text/xml
Connection: close
Last-Modified: Sat, 17 Feb 2007 23:57:50 GMT
Server: Fastream IQ Web/FTP Server

<CiscoIPPhoneDirectory>
 <Title>VoIP Telefonbuch</Title>
 <Prompt>Fusszeile</Prompt>
 <DirectoryEntry>
   <Name>Hein Bloed</Name>
   <Telephone>0471112345</Telephone>
 </DirectoryEntry>
 <DirectoryEntry>
   <Name>Gaense Klein</Name>
   <Telephone>09999678912</Telephone>

 </DirectoryEntry>
 <DirectoryEntry>
   <Name>Sipgate Testnummer</Name>
   <Telephone>10000</Telephone>
 </DirectoryEntry>
</CiscoIPPhoneDirectory>
===============

[18:03:13:2890995] HTTP RECV (CLOSE CMD)
[18:03:13:2890996] Platform_Close_Socket conn[2]
[18:03:13:2890998] Platform_Close_Socket conn[2]

### Apache/2.2.4 (Win32)
Code:
Cisco Systems, Inc. Copyright 2000-2005
Cisco IP phone  MAC: 0015:c65c:64a3
Loadid:  SW: P0S3-08-6-00  ARM: PAS3ARM1  Boot: PC030301  DSP: 4.0(2.0)[A0]
SIP Phone> debug http
Enabling bug logging on this terminal - use 'tty mon 0' to disable
debugs: http timestamp
SIP Phone> [18:05:34:2905042] Connect2WWWIPPort called IpAddr[-1062686188], port
[80], hostName[192.168.178.20]
[18:05:34:2905043] Connect2WWWIPPort Sending Request to IpAddr[192.168.178.20],
port[80]
[18:05:34:2905044] HTTP RECV (ACK CMD)
[18:05:34:2905044] HTTP RECV (OPEN CMD)
[18:05:34:2905045]
HTTP Send [450] Bytes of Data
Data Packet is:
===============
GET /directory/simple/directory.xml?name=SEP0015C65C64A3 HTTP/1.1
User-Agent: Allegro-Software-WebClient/3.10b1
Host: 192.168.178.20
Connection: Close
Accept: x-CiscoIPPhone/Text, x-CiscoIPPhone/Menu, x-CiscoIPPhone/Directory, x-Ci
scoIPPhone/Input, x-CiscoIPPhone/Image, x-CiscoIPPhone/GraphicMenu, text/*, imag
e/bmp
x-CiscoIPPhoneModelName: CP-7960G
x-CiscoIPPhoneSDKVersion: 3.0.0
x-CiscoIPPhoneDisplay: 133,65,2,G


===============

[18:05:34:2905053]
Http Recv [246] Bytes of Data
Data Packet is:
===============
HTTP/1.1 200 OK
Date: Sun, 18 Feb 2007 17:05:38 GMT
Server: Apache/2.2.4 (Win32)
Last-Modified: Sun, 18 Feb 2007 09:16:37 GMT
ETag: "103a7-15f-aa7463ac"
Accept-Ranges: bytes
Content-Length: 351
Connection: close
Content-Type: text/xml


===============

[18:05:34:2905054] HTTP RECV (CLOSE CMD)
[18:05:34:2905055] Platform_Close_Socket conn[2]
[18:05:34:2905065] Platform_Close_Socket conn[2]
### Apache/2.2.4 (Win32) only one DirectoryEntry
Code:
Cisco Systems, Inc. Copyright 2000-2005
Cisco IP phone  MAC: 0015:c65c:64a3
Loadid:  SW: P0S3-08-6-00  ARM: PAS3ARM1  Boot: PC030301  DSP: 4.0(2.0)[A0]
SIP Phone> debug http
Enabling bug logging on this terminal - use 'tty mon 0' to disable
debugs: http timestamp
SIP Phone> [18:08:19:2921506] Connect2WWWIPPort called IpAddr[-1062686188], port
[80], hostName[192.168.178.20]
[18:08:19:2921507] Connect2WWWIPPort Sending Request to IpAddr[192.168.178.20],
port[80]
[18:08:19:2921508] HTTP RECV (ACK CMD)
[18:08:19:2921508] HTTP RECV (OPEN CMD)
[18:08:19:2921510]
HTTP Send [450] Bytes of Data
Data Packet is:
===============
GET /directory/simple/directory.xml?name=SEP0015C65C64A3 HTTP/1.1
User-Agent: Allegro-Software-WebClient/3.10b1
Host: 192.168.178.20
Connection: Close
Accept: x-CiscoIPPhone/Text, x-CiscoIPPhone/Menu, x-CiscoIPPhone/Directory, x-Ci
scoIPPhone/Input, x-CiscoIPPhone/Image, x-CiscoIPPhone/GraphicMenu, text/*, imag
e/bmp
x-CiscoIPPhoneModelName: CP-7960G
x-CiscoIPPhoneSDKVersion: 3.0.0
x-CiscoIPPhoneDisplay: 133,65,2,G


===============

[18:08:19:2921512]
Http Recv [495] Bytes of Data
Data Packet is:
===============
HTTP/1.1 200 OK
Date: Sun, 18 Feb 2007 17:08:23 GMT
Server: Apache/2.2.4 (Win32)
Last-Modified: Sun, 18 Feb 2007 17:07:53 GMT
ETag: "103a7-fa-3fdc1b96"
Accept-Ranges: bytes
Content-Length: 250
Connection: close
Content-Type: text/xml

<?xml version="1.0" encoding="UTF-8" ?>
<CiscoIPPhoneDirectory>
 <Title>VoIP Telefonbuch</Title>
 <Prompt>Fusszeile</Prompt>
 <DirectoryEntry>
   <Name>Hein Bloed</Name>
   <Telephone>0471112345</Telephone>
 </DirectoryEntry>
</CiscoIPPhoneDirectory>
===============

[18:08:19:2921513] HTTP RECV (CLOSE CMD)
[18:08:19:2921514] Platform_Close_Socket conn[2]
[18:08:19:2921528] Platform_Close_Socket conn[2]
 
Die Lösung ist Zonealarm.

Nach dem Abschalten von Zonealarm, ging auch der Apache2 vollständig.
Seltsam ist der Effekt, dass bei Apache nur Teile nicht über Zonealarm hinwegkamen.

Als Hinweis zur Hilfe sei hier noch angemerkt, dass es auch Probleme mit einem XML-Directory oder Service bei Webhostern gibt, da diese IP-Sharing verwenden.
Das Cisco Telefon 7960 die Anfrage nach Dateien aber wohl nur mit der IP in der URL, nicht mit dem Domainennamen macht, wie ein Browser, somit findet der Webserver die richtige Website nicht.
 
Kostenlos!

Neueste Beiträge

Statistik des Forums

Themen
248,460
Beiträge
2,291,890
Mitglieder
377,882
Neuestes Mitglied
KaiG