Home of the Squeezebox™ & Transporter® network music players.
Page 1 of 3 123 LastLast
Results 1 to 10 of 21
  1. #1
    Senior Member doubleugk's Avatar
    Join Date
    Feb 2010
    Location
    Stuttgart - Germany
    Posts
    287

    Lightbulb Fritz.Box Call Monitor

    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.
    ASUS P6-P5G41E W10 x64 | ASUS ZENBOOK W10 x64 | SheevaPlug Debian Wheezy | LMS 7.9 - 1481125532 | 9 SB Radios | 2 SB Receivers | iPeng 9 | Squeeze Player 1.3.12 & Squeeze Commander 0.9.6.4 & Squeeze Ctrl 1.9.6

  2. #2
    Senior Member dennis55's Avatar
    Join Date
    Dec 2006
    Location
    Waterfoot,Scotland
    Posts
    239

    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

    Scotland
    Linn Products Akurate DS/1
    Bonnec Audiosysteme Timpano Preamplifier
    Linn Products Akurate C4200 Dynamik
    Totem Acoustics Forest Signature (Biwired/Amped)
    SqueezeBox Radio's Original Black and a fancy RED one too :)
    Duet Controller
    Synology NAS DS 112+
    BubbleDS on Samsung Galaxy Note 3

    Linn LP12/Cirkus/Ekos2/Dynavector XX2 MK2/Linn Linto/Linn Lingo1/ Totem Forest Signatures

  3. #3
    Junior Member
    Join Date
    Feb 2012
    Location
    NL
    Posts
    6

    Thumbs up

    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

  4. #4
    Senior Member doubleugk's Avatar
    Join Date
    Feb 2010
    Location
    Stuttgart - Germany
    Posts
    287
    Quote Originally Posted by CyberClwn View Post
    Also it reads name from who is calling from the script ?
    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.

    Quote Originally Posted by CyberClwn View Post
    Can you make it (optional) to mute the SqueezePlayer, when the notification is displayed ?
    Therefor you need to change the coding from line 99 - 102. Simply put a # at the beginning and that should do.
    ASUS P6-P5G41E W10 x64 | ASUS ZENBOOK W10 x64 | SheevaPlug Debian Wheezy | LMS 7.9 - 1481125532 | 9 SB Radios | 2 SB Receivers | iPeng 9 | Squeeze Player 1.3.12 & Squeeze Commander 0.9.6.4 & Squeeze Ctrl 1.9.6

  5. #5
    Junior Member
    Join Date
    Feb 2012
    Location
    NL
    Posts
    6
    Hi doubleugk,

    Thanks for quick reply.

    Quote Originally Posted by doubleugk View Post
    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.
    Understood

    Quote Originally Posted by doubleugk View Post
    Therefor you need to change the coding from line 99 - 102. Simply put a # at the beginning and that should do.
    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)

  6. #6
    Junior 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:
    Quote Originally Posted by jonofe View Post
    Hi all,

    I want to show the caller-id of my asterisk telephony-server on my squeezebox radio, but I realized, that probably the syntax of the display and show comand has changed. Only the "line1:" and "line2:" parameter work, but not the additional parameters like "duration:", "centered:", "charset:", "font:", etc.

    Has someone found out a solution?
    I want to set the duration to "endless", so the user has to confirm this message by pressing a button or the message will be confirmed when the telephone-call ends.

    Any hint is very much appreciated.

    Kind regards

    André

    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)

  7. #7
    Junior Member
    Join Date
    Feb 2012
    Location
    NL
    Posts
    6

    Unhappy

    Quote Originally Posted by CyberClwn View Post
    So, the documentation is wrong, or it is just not working as it should.
    It's a bug:
    http://bugs.slimdevices.com/show_bug.cgi?id=15749
    LMS v7.7.1r33735
    Qnap419P+ • 4TB • FW 3.5.2
    1 SB Touch • 3 SB Radio • 1 SB Play (PC)

  8. #8
    Senior Member doubleugk's Avatar
    Join Date
    Feb 2010
    Location
    Stuttgart - Germany
    Posts
    287
    Quote Originally Posted by CyberClwn View Post
    It's a bug
    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 clue
    ASUS P6-P5G41E W10 x64 | ASUS ZENBOOK W10 x64 | SheevaPlug Debian Wheezy | LMS 7.9 - 1481125532 | 9 SB Radios | 2 SB Receivers | iPeng 9 | Squeeze Player 1.3.12 & Squeeze Commander 0.9.6.4 & Squeeze Ctrl 1.9.6

  9. #9
    Senior Member doubleugk's Avatar
    Join Date
    Feb 2010
    Location
    Stuttgart - Germany
    Posts
    287

    Talking 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.
    ASUS P6-P5G41E W10 x64 | ASUS ZENBOOK W10 x64 | SheevaPlug Debian Wheezy | LMS 7.9 - 1481125532 | 9 SB Radios | 2 SB Receivers | iPeng 9 | Squeeze Player 1.3.12 & Squeeze Commander 0.9.6.4 & Squeeze Ctrl 1.9.6

  10. #10
    Junior Member
    Join Date
    Feb 2012
    Location
    NL
    Posts
    6
    Quote Originally Posted by doubleugk View Post
    But I haven't figured it out how the access was performed.

    Maybe someone has a clue
    From what i can tell from that script, he uses the webinterface to open the addressbook and export it.
    A little too complex for me though.

    But i'll see what i can find
    LMS v7.7.1r33735
    Qnap419P+ • 4TB • FW 3.5.2
    1 SB Touch • 3 SB Radio • 1 SB Play (PC)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •