For all of you that call a Fritz.Box router with phone capability his/her own, this might be something nice to have.
The attached Perl script is monitoring any incoming calls on the Fritz.Box and forward them to all LMS clients, which are turned on. Off course you can only see the notification pop-up if the client has a display ;-) If so, the caller number and the called party (line) appear in a small window.
For some reason I did not manage to increase the display time of the notification to an acceptable length. The actual value is already up to 6000 with no recognizable effect. Maybe someone has any clue why?
I would welcome any suggestions and improvements.
Results 1 to 10 of 19
Thread: Fritz.Box Call Monitor
-
2012-01-17, 12:08 #1
Fritz.Box Call Monitor
Synology DS410j • 4TB • CPU 800 MHz • RAM 128 MB • FW 4.0 - 2198 • Platform armv5tel-linux (MARVELL_88F6281)
LMS 7.7.2 - r33893 | Perl 5.8.6 | SQLite 1.34_01 (sqlite 3.7.5)
3 SB Radios | 2 SB Receivers | Samsung Galaxy S Advance | Squeeze Player 1.3.5 & Squeeze Commander 0.9.6.4 | XELIO 7" with Squeeze Commander
-
2012-02-02, 02:45 #2
Fritz!Fon app
hi there doubleugk, interesting idea you have for LMS ............
Here i use Transporter(original)with SheevaPlug and SqueezeBoxserver attached to a Western Digital Elements 500gb external usb drive.
the SheevaPlug is running Debian on software compiled by Thomas (http://www.squeezeplug.de/).
this setup is very simple and straightforward to use,the Plug uses less than 5w ........so it runs continuously attached to my network.
i use Fritz!Box 7390 router/modem on a cable connection,this machine is very comprehensive in it's options.
my mobile phone is Samsung Galaxy S2 and i run Fritz!App Fon which enables IP Telephony via mobile.
i also use an APP called SqueezeCommander by Thomas Flatterman
http://www.squeezecommander.com/.
all these Germans!!
best regards
dennis mclaughlin
ScotlandLinn Products Akurate DS/1
Bonnec Audiosysteme Timpano Preamplifier
Linn Products Akurate C4200 Dynamik
Totem Acoustics Forest (Biwired/Amped)
SqueezeBox Radio
Duet Controller
Synology NAS DS 112+
BubbleDS on Samsung Galaxy Note
Linn LP12/Cirkus/Ekos2/Dynavector DV17D2/Linn Linto/Linn Lingo1
-
2012-02-06, 03:49 #3Junior Member
- Join Date
- Feb 2012
- Location
- NL
- Posts
- 6
Hi doubleugk,
That's a funny feature/gadget.
I really like it, but indeed it is too bad about the displaytime.
It shows only for a second or so, so you need to look very quickly.
Also it reads name from who is calling from the script ?
Would be nice if it got the name from the fritzbox too.
Btw, I run the script/LMS on my Qnap TS419p+, and have a fritzbox 7340 with VOIP. I tried it only on a Radio, will try it on a touch later on.
Just a thought:
Can you make it (optional) to mute the SqueezePlayer, when the notification is displayed ?
Thank,
Rik
-
2012-02-06, 04:13 #4
I haven't yet found a way to read from the FB address book. But this is definitely something that would be nice to have. Maybe someone will post a hint.
Therefor you need to change the coding from line 99 - 102. Simply put a # at the beginning and that should do.Synology DS410j • 4TB • CPU 800 MHz • RAM 128 MB • FW 4.0 - 2198 • Platform armv5tel-linux (MARVELL_88F6281)
LMS 7.7.2 - r33893 | Perl 5.8.6 | SQLite 1.34_01 (sqlite 3.7.5)
3 SB Radios | 2 SB Receivers | Samsung Galaxy S Advance | Squeeze Player 1.3.5 & Squeeze Commander 0.9.6.4 | XELIO 7" with Squeeze Commander
-
2012-02-06, 15:12 #5Junior Member
- Join Date
- Feb 2012
- Location
- NL
- Posts
- 6
Hi doubleugk,
Thanks for quick reply.
Understood
Ok, But i was meaning like put a "my $AdjustVolume = 0/1;" in the code.
Also i ment to mute it for the duration of the display-duration. So restore volume after popup is gone.
Really like this script
Trying to see if the displaydration can be longer, then i really can use it.
Thanks for it, and your time, already
LMS v7.7.1r33735
Qnap419P+ • 4TB • FW 3.5.2
1 SB Touch • 3 SB Radio • 1 SB Play (PC)
-
2012-02-06, 16:19 #6Junior Member
- Join Date
- Feb 2012
- Location
- NL
- Posts
- 6
Hi,
Because i try to understand your script, and like it to work i have been done some searching.
This resulted in finding this post:
The line (line 94 in your script) like:
<playerid> display Line%201 Line%202 6
Works, but the duration is still default (3 sec.)
Line like:
<playerid> show line1:Line%201 line2:Line%202 duration:6
Works too, but also with default duration, and then seems to hang the session.
Only works again after a disconnec/reconnect to the LMS.
So, the documentation is wrong, or it is just not working as it should.
LMS v7.7.1r33735
Qnap419P+ • 4TB • FW 3.5.2
1 SB Touch • 3 SB Radio • 1 SB Play (PC)
-
2012-02-07, 11:28 #7Junior Member
- Join Date
- Feb 2012
- Location
- NL
- Posts
- 6
LMS v7.7.1r33735
Qnap419P+ • 4TB • FW 3.5.2
1 SB Touch • 3 SB Radio • 1 SB Play (PC)
-
2012-02-08, 00:05 #8
Thanx very much for this investigation. I haven't even thought about checking the bug list.
Regarding the FB address book access I still haven't found a useful hint. One guy wrote a VB script that exports a CSV and XML file. But I haven't figured it out how the access was performed.
Maybe someone has a clueSynology DS410j • 4TB • CPU 800 MHz • RAM 128 MB • FW 4.0 - 2198 • Platform armv5tel-linux (MARVELL_88F6281)
LMS 7.7.2 - r33893 | Perl 5.8.6 | SQLite 1.34_01 (sqlite 3.7.5)
3 SB Radios | 2 SB Receivers | Samsung Galaxy S Advance | Squeeze Player 1.3.5 & Squeeze Commander 0.9.6.4 | XELIO 7" with Squeeze Commander
-
2012-02-08, 08:42 #9
Update - iPeng 1.4.7 support
With the 1.4.7 version iPeng will display the caller information.
Last edited by doubleugk; 2012-02-08 at 08:49.
Synology DS410j • 4TB • CPU 800 MHz • RAM 128 MB • FW 4.0 - 2198 • Platform armv5tel-linux (MARVELL_88F6281)
LMS 7.7.2 - r33893 | Perl 5.8.6 | SQLite 1.34_01 (sqlite 3.7.5)
3 SB Radios | 2 SB Receivers | Samsung Galaxy S Advance | Squeeze Player 1.3.5 & Squeeze Commander 0.9.6.4 | XELIO 7" with Squeeze Commander
-
2012-02-08, 15:05 #10Junior Member
- Join Date
- Feb 2012
- Location
- NL
- Posts
- 6

Reply With Quote

