gama ja kommt noch.. aktuell zu viel los im job. gute nacht

2017-01-25 14:41:01 ERROR Klingel Exception when sending POST request: HTTPSConnectionPool(host='192.168.1.1', port=49443): Read timed out. (read timeout=10) 2017-01-25 14:41:11 ERROR Klingel Exception when sending POST request: HTTPSConnectionPool(host='192.168.1.1', port=49443): Read timed out. (read timeout=10) 2
sh.avm.set_call_origin('**610') sh.avm.start_call('**9') time.sleep(3) sh.avm.cancel_call()
curl -k --anyauth -u "user:password" 'http://fritz.box:49000/upnp/control/x_voip' -H 'Content-Type: text/xml; charset="utf-8"' -H 'SoapAction: urn:dslforum-org:service:X_VoIP:1#X_AVM-DE_DialNumber' -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_DialNumber xmlns:u="urn:dslforum-org:service:X_VoIP:1"><NewX_AVM-DE_PhoneNumber>**9</NewX_AVM-DE_PhoneNumber></u:X_AVM-DE_DialNumber> </s:Body> </s:Envelope>'
## get_phone_name Get the phone name at a specific index. The returend value can be used as phone_name for set_call_origin. Parameter is an INT, starting from 1. In case an index does not exist, an error is logged. The used function X_AVM-DE_GetPhonePort() does not deliver analog connections like FON 1 and FON 2 (BUG in AVM Software). <pre> phone_name = sh.fb1.get_phone_name(1) </pre> CURL for this function: <pre> 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_GetPhonePort" -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_GetPhonePort xmlns:u='urn:dslforum-org:service:X_VoIP:1'><s:NewIndex>1</s:NewIndex></u:X_AVM-DE_GetPhonePort></s:Body></s:Envelope>" -s -k </pre> ##get_call_origin Gets the phone name, currently set as call_origin. <pre> phone_name = sh.fritzbox_7490.get_call_origin() </pre> CURL for this function: <pre> 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 </pre> ## set_call_origin(phone_name) Sets the origin of a call. E.g. a DECT phone. Typically set before using "start_call". You can also set the origin on your FritzDevice via "Telefonie -> Anrufe -> Wählhilfe verwenden -> Verbindung mit dem Telefon". The used function X_AVM-DE_SetDialConfig() does not allow the configuration of analog connections (BUG in AVM Software). <pre> sh.fb1.set_call_origin("<phone_name>") </pre> ## start_call(phone_number) This function starts a call. Parameter can be an external or internal number. <pre> sh.fb1.start_call('0891234567') sh.fb1.start_call('**9') </pre>
curl -k --anyauth -u "user:password" 'http://fritz.box:49000/upnp/control/x_voip' -H 'Content-Type: text/xml; charset="utf-8"' -H 'SoapAction: urn:dslforum-org:service:X_VoIP:1#X_AVM-DE_DialNumber' -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_DialNumber xmlns:u="urn:dslforum-org:service:X_VoIP:1"><NewX_AVM-DE_PhoneNumber>**9</NewX_AVM-DE_PhoneNumber></u:X_AVM-DE_DialNumber> </s:Body> </s:Envelope>'
Wir verarbeiten personenbezogene Daten über die Nutzer unserer Website mithilfe von Cookies und anderen Technologien, um unsere Dienste bereitzustellen. Weitere Informationen findest Du in unserer Datenschutzerklärung.
Indem Du unten auf "ICH stimme zu" klickst, stimmst Du unserer Datenschutzerklärung und unseren persönlichen Datenverarbeitungs- und Cookie-Praktiken zu, wie darin beschrieben. Du erkennst außerdem an, dass dieses Forum möglicherweise außerhalb Deines Landes gehostet wird und bist damit einverstanden, dass Deine Daten in dem Land, in dem dieses Forum gehostet wird, gesammelt, gespeichert und verarbeitet werden.
Kommentar