mich wundert der "Content-Type: text/xutf-8"" bei mir geht es nur mit "Content-Type: text/xml; charset="utf-8"", bei letzterem macht auch das "" Sinn
und weiter bin ich:
Was ich jetzt nicht raffe ist, warum ich da nicht einfach meine DECT Telefone oder meine 3 VOIP Rufnummern habe... Ideen?
Ich bin doof.. das gibt nur das konfigurierte zurück... Liste via:
Offenbar will er also das, was unter Telefonie -> Telefoniegeräte -> Bezeichnung steht, als Parameter für die setConfig.. Ich passe das README noch an bzw. teste das nochmal.
Update: das hier ist recht spannend zum Thema, was als Parameter der X_AVM-DE_DialSetConfig zulässig ist: https://forum.fhem.de/index.php?topic=49262.0
und weiter bin ich:
Code:
curl --anyauth -u <user>:<password> "https://fritz.box:49443/upnp/control/x_voip" -H "Content-Type: text/xml; charset="utf-8"" -H "SoapAction:urn:dslforum-org:service:X_VoIP:1#X_AVM-DE_DialGetConfig" -d "<?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:Body><u:X_AVM-DE_DialGetConfig xmlns:u='urn:dslforum-org:service:X_VoIP:1' /></s:Body></s:Envelope>" -s -k <?xml version="1.0"?> <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <s:Body> <u:X_AVM-DE_DialGetConfigResponse xmlns:u="urn:dslforum-org:service:X_VoIP:1"> <NewX_AVM-DE_PhoneName>FON1: ALARM</NewX_AVM-DE_PhoneName> </u:X_AVM-DE_DialGetConfigResponse> </s:Body> </s:Envelope>a
Ich bin doof.. das gibt nur das konfigurierte zurück... Liste via:
Code:
curl --anyauth -u <user>:<password> "https://fritz.box:49443/upnp/control/x_voip" -H "Content-Type: text/xml; charset="utf-8"" -H "SoapAction:urn:dslforum-org:service:X_VoIP:1#X_AVM-DE_GetClients" -d "<?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:Body><u:X_AVM-DE_GetClients xmlns:u='urn:dslforum-org:service:X_VoIP:1' /></s:Body></s:Envelope>" -s -k
Update: das hier ist recht spannend zum Thema, was als Parameter der X_AVM-DE_DialSetConfig zulässig ist: https://forum.fhem.de/index.php?topic=49262.0
Kommentar