Callmonitor - RemotePhonebook - Password wird nicht gespeichert

Begonnen von hollyghost, 01 September 2015, 16:03:21

Vorheriges Thema - Nächstes Thema

Markus Bloch

Hallo Holger,

das ist gut möglich. FB_CALLMONITOR nutzt ausschließlich den neuen Mechanismus, so wie er von AVM beschrieben ist. Daher auch meine Frage, ob du eine aktuelle Firmware verwendest. Ich weis, dass es da Änderungen gab, allerdings kenne ich nicht den alten Mechanismus. Ich vermute es ist eine HTTP Authentifizierung.

Viele Grüße

Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

justme1968

der thread ist zwar schon etwas älter aber ich bin mit einer 7170 gerade in das gleiche problem gelaufen.

abruf per r064 gibt den authentifizierung fehler, abruf per web gibt2016.01.30 12:57:03 4: FB_CALLMONITOR (fb) - identifying available phonebooks
2016.01.30 12:57:04 4: FB_CALLMONITOR (fb) - phonebooks successfully identified
2016.01.30 12:57:04 2: FB_CALLMONITOR (fb) - no phonebooks could be found
und abruf per telnet gibt2016.01.30 12:55:24 3: FB_CALLMONITOR (fb) - Getting phonebook from FritzBox: /var/flash/phonebook
2016.01.30 12:55:24 2: FB_CALLMONITOR (fb) - found remote FritzBox phonebook via telnet
2016.01.30 12:55:24 2: FB_CALLMONITOR (fb) - could not parse remote phonebook - this is not a FritzBox phonebook


zu den ersten beiden kann ich nichts weiter sagen, aber bei telnet ist das problem scheinbar das die fb nur genau ein telefonbuch hat statt mehrere und das xml deshalb keinen <phonebooks> knoten hat sondern direkt mit <phonebook> anfängt.

wenn ich in 72_FB_CALLMONITOR.pm einfach die zeile 924 entsprechend ändere (zum testen reicht einfach ein if(1) ) wird das telefonbuch per telnet korrekt ausgelesen und ist bei einem list unter helper sichtbar.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Markus Bloch

Hallo Andre,

zuallererst, welche Fritz!OS Version ist auf der 7170 installiert? Welche Modulversion von FB_CALLMONITOR?

Klingt für mich, als wäre TR064 in der Firmware noch nicht enthalten. Was sagt das Log bei verbose 5?

Zu web:

Ändere mal Zeile 1526 wiefolgt:

    Log3 $name, 4, "FB_CALLMONITOR ($name) - phonebooks successfully identified: $data";

Bitte mal den entsprechenden Output posten (sensible Inhalte unkenntlich machen!)

zu telnet:

Ändere mal Zeile 824 wiefolgt:

            Log3 $name, 2, "FB_CALLMONITOR ($name) - found remote FritzBox phonebook via telnet: $phonebook";

Bitte mal den entsprechenden Output Header/Footer, evtl. 1 Kontakt posten (sensible Inhalte unkenntlich machen!). Das ganze Telefonbuch muss nicht sein.

Zum XML Format:

ein FritzBox-Telefonbuch im XML-Format hat immer <phonebooks><phonebook ...> ... </phonebook></phonebooks> auch wenn nur ein Telefonbuch enthalten ist.

Ich glaube du hast noch eine alte Firmware.

Viele Grüße

Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

justme1968

hallo markus,

die firmware ist die 29.04.88. für die 7170 gibt es keine neuere firmware :)

das modul ist die aktuelle version:# $Id: 72_FB_CALLMONITOR.pm 10542 2016-01-16 22:11:18Z markusbloch $


bei tr064 gibt es die gleiche meldung wie weiter oben im thread:2016.01.30 12:47:17 4: FB_CALLMONITOR (fb) - identifying available phonebooks
2016.01.30 12:47:17 5: FB_CALLMONITOR (fb) - requesting TR-064 authentication challenge:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" >
  <s:Header>
    <h:InitChallenge xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1">
      <UserID>admin</UserID>
    </h:InitChallenge >
  </s:Header>
  <s:Body>
    <u:SetEnable xmlns:u="urn:dslforum-org:service:X_AVM-DE_OnTel:1">
    </u:SetEnable>
  </s:Body>
</s:Envelope>

2016.01.30 12:47:17 5: FB_CALLMONITOR (fb) - received TR-064 challenge response:
<HTML><HEAD><TITLE>401 Unauthorized (ERR_ACCESS_DENIED)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_ACCESS_DENIED<HR><B>Webserver</B> Sat, 30 Jan 2016 11:47:01 GMT</BODY></HTML>

2016.01.30 12:47:17 4: FB_CALLMONITOR (fb) - generated auth string for phonebook request: 740afd785d6bd19132f1ce20c0a28074
2016.01.30 12:47:17 5: FB_CALLMONITOR (fb) - requesting available phonebook id's:
<?xml version="1.0" encoding="utf-8"?>
<s:Envelope s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
  <s:Header>
    <h:ClientAuth xmlns:h="http://soap-authentication.org/digest/2001/10/" s:mustUnderstand="1">
      <Nonce></Nonce>
      <Auth>740afd785d6bd19132f1ce20c0a28074</Auth>
      <UserID>admin</UserID>
      <Realm></Realm>
    </h:ClientAuth>
  </s:Header>
  <s:Body>
        <u:GetPhonebookList xmlns:u="urn:dslforum-org:service:X_AVM-DE_OnTel:1">
        </u:GetPhonebookList>
  </s:Body>
</s:Envelope>

2016.01.30 12:47:17 5: FB_CALLMONITOR (fb) - received response:
<HTML><HEAD><TITLE>401 Unauthorized (ERR_ACCESS_DENIED)</TITLE></HEAD><BODY><H1>401 Unauthorized</H1><BR>ERR_ACCESS_DENIED<HR><B>Webserver</B> Sat, 30 Jan 2016 11:47:01 GMT</BODY></HTML>

2016.01.30 12:47:17 3: FB_CALLMONITOR (fb) - no phonebooks found
2016.01.30 12:47:17 2: FB_CALLMONITOR (fb) - could not identify remote phonebooks - no phonebooks could be found



das xml schaut so aus:<?xml               
version="1.0" encoding="iso-8859-1"><phonebook><contact><category /><person><realName>AVM Ansage (HD)</realName></person><telephony><number
prio="1" type="work" quickdial="99">500@hd-telefonie.avm.de</number></telephony><services /><setup /></contact><contact><category>0</category>
...
<person><realName>Wecker 2</realName></person><telephony><number>42</number></telephony><services /><setup /><mod_time>946684841</mod_time></contact><contact><category /><person><realName>Wecker 3</realName></person><telephony><number>43</number></telephony><services /><setup /><mod_time>946684841</mod_time></contact></phonebook>


wie oben geschrieben nur ein telefonbuch und kein <phonebooks> knoten sondern es geht direkt mit <phonebook> los.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Markus Bloch

OK das <phonebooks>-Tag werd ich ändern.

Warum die Challenge mit TR-064 nicht funktioniert, kann ich nicht sagen.

Laut AVM steht in den Release-Notes für 29.04.87 (eine Version älter als die neuste) folgender Eintrag:

Zitat von: http://avm.de/service/downloads/download/show/13172/System: TR-064-Schnittstelle für FRITZ!Box Applikationen erweitert

Daher nehme ich an, dass die Schnittstelle schon vorhanden ist. Evtl. anderer Port. Versuch mal folgende URL's zu laden:

http://192.168.179.1:49000/tr64desc.xml
https://192.168.179.1:49443/tr64desc.xml

Gruß
Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

justme1968

hallo markus,

mit ctlmgr_ctl r r064 settings/enabled bekomme ich eine 1.

könnte es sein das admin der falsche user ist? da es per telnet und dem angepassten tag geht ist es aber auch nicht so wichtig. auf der alten kiste schaltete niemand mehr telnet ab ;)


die beiden urls geben folgenden inhalt:

<root xmlns="urn:dslforum-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:dslforum-org:device:InternetGatewayDevice:1</deviceType>
<friendlyName>
FRITZ!Box Fon WLAN 7170 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170 29.04.88
</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:739f2409-bccb-40e7-8e6c-001A4F30616D</UDN>
<iconList>
<icon>
<mimetype>image/gif</mimetype>
<width>118</width>
<height>119</height>
<depth>8</depth>
<url>/ligd.gif</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:DeviceInfo:1</serviceType>
<serviceId>urn:DeviceInfo-com:serviceId:DeviceInfo1</serviceId>
<controlURL>/upnp/control/deviceinfo</controlURL>
<eventSubURL>/upnp/control/deviceinfo</eventSubURL>
<SCPDURL>/deviceinfoSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:DeviceConfig:1</serviceType>
<serviceId>urn:DeviceConfig-com:serviceId:DeviceConfig1</serviceId>
<controlURL>/upnp/control/deviceconfig</controlURL>
<eventSubURL>/upnp/control/deviceconfig</eventSubURL>
<SCPDURL>/deviceconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Layer3Forwarding:1</serviceType>
<serviceId>
urn:Layer3Forwarding-com:serviceId:Layer3Forwarding1
</serviceId>
<controlURL>/upnp/control/layer3forwarding</controlURL>
<eventSubURL>/upnp/control/layer3forwarding</eventSubURL>
<SCPDURL>/layer3forwardingSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANConfigSecurity:1</serviceType>
<serviceId>
urn:LANConfigSecurity-com:serviceId:LANConfigSecurity1
</serviceId>
<controlURL>/upnp/control/lanconfigsecurity</controlURL>
<eventSubURL>/upnp/control/lanconfigsecurity</eventSubURL>
<SCPDURL>/lanconfigsecuritySCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:ManagementServer:1</serviceType>
<serviceId>
urn:ManagementServer-com:serviceId:ManagementServer1
</serviceId>
<controlURL>/upnp/control/mgmsrv</controlURL>
<eventSubURL>/upnp/control/mgmsrv</eventSubURL>
<SCPDURL>/mgmsrvSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Time:1</serviceType>
<serviceId>urn:Time-com:serviceId:Time1</serviceId>
<controlURL>/upnp/control/time</controlURL>
<eventSubURL>/upnp/control/time</eventSubURL>
<SCPDURL>/timeSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:UserInterface:1</serviceType>
<serviceId>urn:UserInterface-com:serviceId:UserInterface1</serviceId>
<controlURL>/upnp/control/userif</controlURL>
<eventSubURL>/upnp/control/userif</eventSubURL>
<SCPDURL>/userifSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_VoIP:1</serviceType>
<serviceId>urn:X_VoIP-com:serviceId:X_VoIP1</serviceId>
<controlURL>/upnp/control/x_voip</controlURL>
<eventSubURL>/upnp/control/x_voip</eventSubURL>
<SCPDURL>/x_voipSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Storage:1</serviceType>
<serviceId>
urn:X_AVM-DE_Storage-com:serviceId:X_AVM-DE_Storage1
</serviceId>
<controlURL>/upnp/control/x_storage</controlURL>
<eventSubURL>/upnp/control/x_storage</eventSubURL>
<SCPDURL>/x_storageSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_OnTel:1</serviceType>
<serviceId>urn:X_AVM-DE_OnTel-com:serviceId:X_AVM-DE_OnTel1</serviceId>
<controlURL>/upnp/control/x_contact</controlURL>
<eventSubURL>/upnp/control/x_contact</eventSubURL>
<SCPDURL>/x_contactSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_WebDAVClient:1</serviceType>
<serviceId>
urn:X_AVM-DE_WebDAV-com:serviceId:X_AVM-DE_WebDAVClient1
</serviceId>
<controlURL>/upnp/control/x_webdav</controlURL>
<eventSubURL>/upnp/control/x_webdav</eventSubURL>
<SCPDURL>/x_webdavSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_UPnP:1</serviceType>
<serviceId>urn:X_AVM-DE_UPnP-com:serviceId:X_AVM-DE_UPnP1</serviceId>
<controlURL>/upnp/control/x_upnp</controlURL>
<eventSubURL>/upnp/control/x_upnp</eventSubURL>
<SCPDURL>/x_upnpSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_TAM:1</serviceType>
<serviceId>urn:X_AVM-DE_TAM-com:serviceId:X_AVM-DE_TAM1</serviceId>
<controlURL>/upnp/control/x_tam</controlURL>
<eventSubURL>/upnp/control/x_tam</eventSubURL>
<SCPDURL>/x_tamSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:LANDevice:1</deviceType>
<friendlyName>LANDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>LANDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>LANDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e6b-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WLANConfiguration:1</serviceType>
<serviceId>
urn:WLANConfiguration-com:serviceId:WLANConfiguration1
</serviceId>
<controlURL>/upnp/control/wlanconfig1</controlURL>
<eventSubURL>/upnp/control/wlanconfig1</eventSubURL>
<SCPDURL>/wlanconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Hosts:1</serviceType>
<serviceId>urn:LanDeviceHosts-com:serviceId:Hosts1</serviceId>
<controlURL>/upnp/control/hosts</controlURL>
<eventSubURL>/upnp/control/hosts</eventSubURL>
<SCPDURL>/hostsSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>
urn:dslforum-org:service:LANEthernetInterfaceConfig:1
</serviceType>
<serviceId>
urn:LANEthernetIfCfg-com:serviceId:LANEthernetInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/lanethernetifcfg</controlURL>
<eventSubURL>/upnp/control/lanethernetifcfg</eventSubURL>
<SCPDURL>/ethifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANHostConfigManagement:1</serviceType>
<serviceId>
urn:LANHCfgMgm-com:serviceId:LANHostConfigManagement1
</serviceId>
<controlURL>/upnp/control/lanhostconfigmgm</controlURL>
<eventSubURL>/upnp/control/lanhostconfigmgm</eventSubURL>
<SCPDURL>/lanhostconfigmgmSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
<device>
<deviceType>urn:dslforum-org:device:WANDevice:1</deviceType>
<friendlyName>WANDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>WANDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e6a-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>
urn:dslforum-org:service:WANCommonInterfaceConfig:1
</serviceType>
<serviceId>
urn:WANCIfConfig-com:serviceId:WANCommonInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/wancommonifconfig1</controlURL>
<eventSubURL>/upnp/control/wancommonifconfig1</eventSubURL>
<SCPDURL>/wancommonifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANDSLInterfaceConfig:1</serviceType>
<serviceId>
urn:WANDSLIfConfig-com:serviceId:WANDSLInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/wandslifconfig1</controlURL>
<eventSubURL>/upnp/control/wandslifconfig1</eventSubURL>
<SCPDURL>/wandslifconfigSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:WANConnectionDevice:1</deviceType>
<friendlyName>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e69-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WANDSLLinkConfig:1</serviceType>
<serviceId>
urn:WANDSLLinkConfig-com:serviceId:WANDSLLinkConfig1
</serviceId>
<controlURL>/upnp/control/wandsllinkconfig1</controlURL>
<eventSubURL>/upnp/control/wandsllinkconfig1</eventSubURL>
<SCPDURL>/wandsllinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANEthernetLinkConfig:1</serviceType>
<serviceId>
urn:WANEthernetLinkConfig-com:serviceId:WANEthernetLinkConfig1
</serviceId>
<controlURL>/upnp/control/wanethlinkconfig1</controlURL>
<eventSubURL>/upnp/control/wanethlinkconfig1</eventSubURL>
<SCPDURL>/wanethlinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANPPPConnection:1</serviceType>
<serviceId>
urn:WANPPPConnection-com:serviceId:WANPPPConnection1
</serviceId>
<controlURL>/upnp/control/wanpppconn1</controlURL>
<eventSubURL>/upnp/control/wanpppconn1</eventSubURL>
<SCPDURL>/wanpppconnSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
</deviceList>
</device>
</deviceList>
<presentationURL>http://fritz.box</presentationURL>
</device>
</root>


<root xmlns="urn:dslforum-org:device-1-0">
<specVersion>
<major>1</major>
<minor>0</minor>
</specVersion>
<device>
<deviceType>urn:dslforum-org:device:InternetGatewayDevice:1</deviceType>
<friendlyName>
FRITZ!Box Fon WLAN 7170 UPnP/1.0 AVM FRITZ!Box Fon WLAN 7170 29.04.88
</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:739f2409-bccb-40e7-8e6c-001A4F30616D</UDN>
<iconList>
<icon>
<mimetype>image/gif</mimetype>
<width>118</width>
<height>119</height>
<depth>8</depth>
<url>/ligd.gif</url>
</icon>
</iconList>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:DeviceInfo:1</serviceType>
<serviceId>urn:DeviceInfo-com:serviceId:DeviceInfo1</serviceId>
<controlURL>/upnp/control/deviceinfo</controlURL>
<eventSubURL>/upnp/control/deviceinfo</eventSubURL>
<SCPDURL>/deviceinfoSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:DeviceConfig:1</serviceType>
<serviceId>urn:DeviceConfig-com:serviceId:DeviceConfig1</serviceId>
<controlURL>/upnp/control/deviceconfig</controlURL>
<eventSubURL>/upnp/control/deviceconfig</eventSubURL>
<SCPDURL>/deviceconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Layer3Forwarding:1</serviceType>
<serviceId>
urn:Layer3Forwarding-com:serviceId:Layer3Forwarding1
</serviceId>
<controlURL>/upnp/control/layer3forwarding</controlURL>
<eventSubURL>/upnp/control/layer3forwarding</eventSubURL>
<SCPDURL>/layer3forwardingSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANConfigSecurity:1</serviceType>
<serviceId>
urn:LANConfigSecurity-com:serviceId:LANConfigSecurity1
</serviceId>
<controlURL>/upnp/control/lanconfigsecurity</controlURL>
<eventSubURL>/upnp/control/lanconfigsecurity</eventSubURL>
<SCPDURL>/lanconfigsecuritySCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:ManagementServer:1</serviceType>
<serviceId>
urn:ManagementServer-com:serviceId:ManagementServer1
</serviceId>
<controlURL>/upnp/control/mgmsrv</controlURL>
<eventSubURL>/upnp/control/mgmsrv</eventSubURL>
<SCPDURL>/mgmsrvSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Time:1</serviceType>
<serviceId>urn:Time-com:serviceId:Time1</serviceId>
<controlURL>/upnp/control/time</controlURL>
<eventSubURL>/upnp/control/time</eventSubURL>
<SCPDURL>/timeSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:UserInterface:1</serviceType>
<serviceId>urn:UserInterface-com:serviceId:UserInterface1</serviceId>
<controlURL>/upnp/control/userif</controlURL>
<eventSubURL>/upnp/control/userif</eventSubURL>
<SCPDURL>/userifSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_VoIP:1</serviceType>
<serviceId>urn:X_VoIP-com:serviceId:X_VoIP1</serviceId>
<controlURL>/upnp/control/x_voip</controlURL>
<eventSubURL>/upnp/control/x_voip</eventSubURL>
<SCPDURL>/x_voipSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_Storage:1</serviceType>
<serviceId>
urn:X_AVM-DE_Storage-com:serviceId:X_AVM-DE_Storage1
</serviceId>
<controlURL>/upnp/control/x_storage</controlURL>
<eventSubURL>/upnp/control/x_storage</eventSubURL>
<SCPDURL>/x_storageSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_OnTel:1</serviceType>
<serviceId>urn:X_AVM-DE_OnTel-com:serviceId:X_AVM-DE_OnTel1</serviceId>
<controlURL>/upnp/control/x_contact</controlURL>
<eventSubURL>/upnp/control/x_contact</eventSubURL>
<SCPDURL>/x_contactSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_WebDAVClient:1</serviceType>
<serviceId>
urn:X_AVM-DE_WebDAV-com:serviceId:X_AVM-DE_WebDAVClient1
</serviceId>
<controlURL>/upnp/control/x_webdav</controlURL>
<eventSubURL>/upnp/control/x_webdav</eventSubURL>
<SCPDURL>/x_webdavSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_UPnP:1</serviceType>
<serviceId>urn:X_AVM-DE_UPnP-com:serviceId:X_AVM-DE_UPnP1</serviceId>
<controlURL>/upnp/control/x_upnp</controlURL>
<eventSubURL>/upnp/control/x_upnp</eventSubURL>
<SCPDURL>/x_upnpSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:X_AVM-DE_TAM:1</serviceType>
<serviceId>urn:X_AVM-DE_TAM-com:serviceId:X_AVM-DE_TAM1</serviceId>
<controlURL>/upnp/control/x_tam</controlURL>
<eventSubURL>/upnp/control/x_tam</eventSubURL>
<SCPDURL>/x_tamSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:LANDevice:1</deviceType>
<friendlyName>LANDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>LANDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>LANDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e6b-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WLANConfiguration:1</serviceType>
<serviceId>
urn:WLANConfiguration-com:serviceId:WLANConfiguration1
</serviceId>
<controlURL>/upnp/control/wlanconfig1</controlURL>
<eventSubURL>/upnp/control/wlanconfig1</eventSubURL>
<SCPDURL>/wlanconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:Hosts:1</serviceType>
<serviceId>urn:LanDeviceHosts-com:serviceId:Hosts1</serviceId>
<controlURL>/upnp/control/hosts</controlURL>
<eventSubURL>/upnp/control/hosts</eventSubURL>
<SCPDURL>/hostsSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>
urn:dslforum-org:service:LANEthernetInterfaceConfig:1
</serviceType>
<serviceId>
urn:LANEthernetIfCfg-com:serviceId:LANEthernetInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/lanethernetifcfg</controlURL>
<eventSubURL>/upnp/control/lanethernetifcfg</eventSubURL>
<SCPDURL>/ethifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:LANHostConfigManagement:1</serviceType>
<serviceId>
urn:LANHCfgMgm-com:serviceId:LANHostConfigManagement1
</serviceId>
<controlURL>/upnp/control/lanhostconfigmgm</controlURL>
<eventSubURL>/upnp/control/lanhostconfigmgm</eventSubURL>
<SCPDURL>/lanhostconfigmgmSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
<device>
<deviceType>urn:dslforum-org:device:WANDevice:1</deviceType>
<friendlyName>WANDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>WANDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e6a-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>
urn:dslforum-org:service:WANCommonInterfaceConfig:1
</serviceType>
<serviceId>
urn:WANCIfConfig-com:serviceId:WANCommonInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/wancommonifconfig1</controlURL>
<eventSubURL>/upnp/control/wancommonifconfig1</eventSubURL>
<SCPDURL>/wancommonifconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANDSLInterfaceConfig:1</serviceType>
<serviceId>
urn:WANDSLIfConfig-com:serviceId:WANDSLInterfaceConfig1
</serviceId>
<controlURL>/upnp/control/wandslifconfig1</controlURL>
<eventSubURL>/upnp/control/wandslifconfig1</eventSubURL>
<SCPDURL>/wandslifconfigSCPD.xml</SCPDURL>
</service>
</serviceList>
<deviceList>
<device>
<deviceType>urn:dslforum-org:device:WANConnectionDevice:1</deviceType>
<friendlyName>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</friendlyName>
<manufacturer>AVM</manufacturer>
<manufacturerURL>www.avm.de</manufacturerURL>
<modelDescription>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</modelDescription>
<modelName>WANConnectionDevice - FRITZ!Box Fon WLAN 7170</modelName>
<modelNumber>- avm</modelNumber>
<modelURL>www.avm.de</modelURL>
<UDN>uuid:75802409-bccb-40e7-8e69-001A4F30616D</UDN>
<UPC>AVM TR-064</UPC>
<serviceList>
<service>
<serviceType>urn:dslforum-org:service:WANDSLLinkConfig:1</serviceType>
<serviceId>
urn:WANDSLLinkConfig-com:serviceId:WANDSLLinkConfig1
</serviceId>
<controlURL>/upnp/control/wandsllinkconfig1</controlURL>
<eventSubURL>/upnp/control/wandsllinkconfig1</eventSubURL>
<SCPDURL>/wandsllinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANEthernetLinkConfig:1</serviceType>
<serviceId>
urn:WANEthernetLinkConfig-com:serviceId:WANEthernetLinkConfig1
</serviceId>
<controlURL>/upnp/control/wanethlinkconfig1</controlURL>
<eventSubURL>/upnp/control/wanethlinkconfig1</eventSubURL>
<SCPDURL>/wanethlinkconfigSCPD.xml</SCPDURL>
</service>
<service>
<serviceType>urn:dslforum-org:service:WANPPPConnection:1</serviceType>
<serviceId>
urn:WANPPPConnection-com:serviceId:WANPPPConnection1
</serviceId>
<controlURL>/upnp/control/wanpppconn1</controlURL>
<eventSubURL>/upnp/control/wanpppconn1</eventSubURL>
<SCPDURL>/wanpppconnSCPD.xml</SCPDURL>
</service>
</serviceList>
</device>
</deviceList>
</device>
</deviceList>
<presentationURL>http://fritz.box</presentationURL>
</device>
</root>
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Markus Bloch

#21
Nimm die aktuellste Version aus dem SVN, dort habe ich die Tags bereits geändert. Da es für die 7170 keine neuere Firmware mehr gibt, musst du dir keine Sorgen machen, dass der Telnet-Zugang durch AVM gekappt wird ;-)

Ist bisher nur auf der 7170 aufgetreten. Hab im SVN den InitChallenge-Request verändert. Evtl. funktionierts damit.  Alternativ kann es sein, dass die 7170 explizit die Kommunikation über HTTPS verlangt. das möchte ich aber nicht machen, da es mit HttpUtils.pm und SSL immer wieder Probleme in der Vergangenheit gab. Das Passwort wird ja nicht im Klartext übertragen und die Kommunikation findet nur im LAN statt.

Der Username "admin" soll laut AVM-Spezifikation verwendet werden, wenn man keine User in der FritzBox eingerichtet hat. Bei mir funktioniert es auch auf diese Weiße. Bei anderen Herstellern wird auch gerne der Username "dslf_config" verwendet, wenn man sich per TR064 verbindet (bei Telekom Speedports z.B. per HTTP Digest).

Gruß
Markus
Developer für Module: YAMAHA_AVR, YAMAHA_BD, FB_CALLMONITOR, FB_CALLLIST, PRESENCE, Pushsafer, LGTV_IP12, version

aktives Mitglied des FHEM e.V. (Technik)

justme1968

hallo markus,

danke. mit der angepassten version funktioniert es per telnet.

tr064 funktioniert aber weiterhin nicht. den user dslf_config hatte ich schon probiert. das hilft leider auch nicht.

aber wie gesagt: telnet reicht völlig.

gruss
  andre
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968