[[Image(fritzbox7390.jpg, align=right)]] = The Fritz!Box Call Log Plugin = The Fritz!Box is a router with build in VOIP and DECT functionality. With this plugin you can trigger scenes on incoming calls, outgoing calls, connect and hang-up. You can use it to send notifications, turn off music or if you're bold announce who is calling in your speakers. === Author === '''Henrik Ekblad''' - henrik.ekblad at gmail.com (hek on forum) {{{ #!html <form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top"> <input type="hidden" name="cmd" value="_s-xclick"> <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHJwYJKoZIhvcNAQcEoIIHGDCCBxQCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwDQYJKoZIhvcNAQEBBQAEgYCQNCwYuvyrNnCgd9groG++58xT5nag+IBFS0ekSaGLfoV2MuGHeY8SVRpjIjZV4gd0jhlGtYeAVbQ1GrTXwXFXhyKCpEsIHsjatjMSgASfu73jJCaR4ElzLtQ8NbYfYoTH+eB5HkqZ/ng8a0PFcvPr+uVaw8kVD3/KANxslK7EPzELMAkGBSsOAwIaBQAwgaQGCSqGSIb3DQEHATAUBggqhkiG9w0DBwQIin5Yt/jZPtSAgYDe1E9eBcmWTkSM6ai4hIkHuNPXw/y1XgvzM6TG+9vs3r/cHM6Xbpypk6t6l2x3VDwrhB8eqQynYgBiwO8KArmqCOBUPeI3Ril+0wi6oMaDFpwlxLzBlKM/pKQ/2SKsXDXO1l7c9fQrrnOoCatM3exg382nqkIflXJIDWyMcfrFTqCCA4cwggODMIIC7KADAgECAgEAMA0GCSqGSIb3DQEBBQUAMIGOMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExFjAUBgNVBAc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VfCsQFvd2A1sxRr67ip5y2wwBelUecP3AjJ+YcxggGaMIIBlgIBATCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheXBhbC5jb20CAQAwCQYFKw4DAhoFAKBdMBgGCSqGSIb3DQEJAzELBgkqhkiG9w0BBwEwHAYJKoZIhvcNAQkFMQ8XDTEzMDQwMjEyMDYwOFowIwYJKoZIhvcNAQkEMRYEFM04YT7sBqSJL5uqSRsJcpZHD5LJMA0GCSqGSIb3DQEBAQUABIGAeSJPKP8i2IBfIAm5LKv9MhyZD/Ydu138vTa7LQpgqZ+SsV58zUn5YYqxWfhVkHEmjVIHjen1O0SRWLWxuoFUXX3K+W9MxxHyt20hdA4IlWiLsxfcCic/EDg4O7gWG1J/oSh1fcTXydQ4fqX3lYfvh7lxgdKytOqmxIZTgnO8CTc=-----END PKCS7----- "> <input type="image" src="http://code.mios.com/trac/mios_fritzbox/raw-attachment/wiki/WikiStart/beer.png" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!"> <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form> }}} === Preparing your FRITZ!Box to send the calling information === You need to open the TCP-Port 1012 on your FRITZ!Box to use the plugin. For opening the port call `#96*5*` on your phone. If you want to close the port again you can call `#96*4*`, but then the plugin won't work anymore. === Installing the Fritz!Box call log plugin === ==== From apps.mios.com ==== * [http://apps.mios.com/plugin.php?id=3176 Install from Mios app market] ==== From downloaded source ==== * Download the four files found under "Browse Source">trunk above. * Go to: Apps -> Develop Apps -> Luup files in Vera UI * Add the four files using "Browse"-button. Click "Restart Luup after upload" checkbox and press Go. * Go to: Apps -> Develop Apps -> Create Device * Set "Upnp Device Filename" to "D_FritzBox.xml" * Set "Upnp Implementation Filename" to "I_FritzBox.xml" * Click "Create Device" * Reload * If you have a non standard ip. Go to device settings and update the default ip [[Image(fritzlog.png)]] === Notifications === * Outgoing Call (CALL) * Incoming Call (RING) * Call ended (DISCONNECT) * Connect (CONNECT) === Variables === Fetch incoming/outgoing number: `luup.variable_get( 'urn:hek:serviceId:FritzBox1', "Number", <deviceId>)` Fetch triggering action: `luup.variable_get( 'urn:hek:serviceId:FritzBox1', "Action", <deviceId>)` === Version history === '''v0.3''' - Smaller icon (50x50). '''v0.2''' - Fixed problem with phone number variable not beeing set correctly '''v0.1''' - Initial version released. Basic functionality. === Links === [http://forum.micasaverde.com/index.php/topic,12719 Forum thread]