YAC Listener Caller-Id (1 Viewer)

HDMS

Portal Member
July 16, 2010
21
10
Christchurch
New Zealand New Zealand
Country flag
This is the YAC listener that was part of the core in MP version 1. It has the additions of the external plugin that was developed later allowing pause of playing media.

This plugin requires YAC server to be installed some where on the network, with a modem that can receive caller-id information from your Telco provider.

The Plugin displays Caller Name / Number / Time / and Thumbnail (if you add pictures to the Thumbs\Yac directory with file names same as the displayed number).

Under configuration options you can popup a dialog with caller information for a configured time, pause media, resume media after call end by pressing the enter key. The is also an option now to clear the call queue e.g. if calls are in the queue only the currently showing call will be displayed all others will be cleared on resume.

Link to Plugin page: https://www.team-mediaportal.com/extensions/utilities/yac-listener-caller-id

If you don't already have YAC installed on your network you will need YAC Server and Client (Download the appropriate windows version from link below).

Link to External YAC page: http://www.sunflowerhead.com/software/yac/
 
Last edited:

ArnoldGoat

MP Donator
  • Premium Supporter
  • May 27, 2007
    94
    18
    73
    Lyttelton
    New Zealand New Zealand
    Country flag
    It generates an error saying it cannot open yac-area-codes.xml. Do you have a sample or spec for it? I have been waiting for this plugin since the earlier one was removed! Thanks for doing it.
     

    HDMS

    Portal Member
    July 16, 2010
    21
    10
    Christchurch
    New Zealand New Zealand
    Country flag
    I have now included the yac-area.code.xml file in the MPE1 install package. open your MP Extension installer, do a refresh then update the YAC Listener to version 1.1.4.2
     

    ArnoldGoat

    MP Donator
  • Premium Supporter
  • May 27, 2007
    94
    18
    73
    Lyttelton
    New Zealand New Zealand
    Country flag
    Caller ID now restored to its former glory. The problem I had was in fact unrelated to the area codes file, but thanks for your prompt response anyway.
     

    corporate_gadfly

    Portal Pro
    May 17, 2011
    396
    136
    Canada Canada
    Brilliant!! I am using this in combination with my Obihai 202 (a VOIP ATA). The Obihai device has the ability log to a syslog server.

    I use obi2yac which acts as the syslog server and can talk to Yac listeners. (It also does OpenCNAM/WhitePages (optional) lookups and can also do name substitutions). Then I simply used @HDMS 's plugin to act as the YAC listener.

    AFAICT, I didn't have to run Yac listener or Yac server at any time.

    I also tried out the thumb feature and it works fantastic as well.

    Cheers.
     

    wiyosaya

    MP Donator
  • Premium Supporter
  • January 22, 2014
    77
    25
    United States of America United States of America
    I've been using this plugin for a while, and I believe I have everything setup correctly. When a call comes in, MP pauses, however, I have to dismiss the dialog 10 times every single time before MP continues. Is there some setting I am missing?

    Also, is this plugin compatible with MP2?

    Thanks.
     

    HDMS

    Portal Member
    July 16, 2010
    21
    10
    Christchurch
    New Zealand New Zealand
    Country flag
    Sorry for the long delay. But I didn't get this forwarded to my email.

    Another user experienced this when I 1st released it, they were running Vista which I didn't have and couldn't test on that platform. What operating system are you running?
    I created a fix for this user, in the plugin go to the plugin config screen and tick 'Closing the dialogue Clears the Call queue'. This removes all entry's in the call queue when the dialogue closes.
    I don't know if it works with MP2 as I don't have it installed.
     

    wiyosaya

    MP Donator
  • Premium Supporter
  • January 22, 2014
    77
    25
    United States of America United States of America
    Thanks for your reply.

    I am on Windows 10 at this point, however, it was also happening on Windows 8.1.

    Anyway, the instructions you gave solved the problem in Windows 10.

    I will give it a try at some time, though I am not sure when, with MP2. When I do, I will get back to this thread with the results.
     

    wiyosaya

    MP Donator
  • Premium Supporter
  • January 22, 2014
    77
    25
    United States of America United States of America
    FYI - I installed MP2, and the Yac-Listener did not get imported for plug-ins; however, all the other plugins that I use did. However, I already know that they are compatible with MP2. So I assume that Yac-listener is not compatible with MP2 for some reason.
     

    ArnoldGoat

    MP Donator
  • Premium Supporter
  • May 27, 2007
    94
    18
    73
    Lyttelton
    New Zealand New Zealand
    Country flag
    I have just upgraded from MP1.18 straight to MP1.23 and YAC has stopped working. When a message is received, the client pauses, doesn't display anything, and doesn't resume unless I hit 'play'. I have tried it on 2 clients (one installed from scratch, not upgraded) and symptoms are similar. The image file mentioned in the log is present. It was working in MP1.18. The YACserver is home-brew.
    Here's a bit of log:
    Code:
    [2019-12-14 18:14:10,090] [Log    ] [MPMain   ] [INFO ] - Main: Activation request received
    [2019-12-14 18:14:10,172] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2019-12-14 18:14:10,269] [Log    ] [YAC Listener] [INFO ] - ***** INCOMING CALL: 14 December 2019 6:14:10 PM *****
    [2019-12-14 18:14:10,270] [Log    ] [YAC Listener] [INFO ] -    Name: Text Message
    [2019-12-14 18:14:10,272] [Log    ] [YAC Listener] [INFO ] -    Number: Main Gate opened
    at 6:14 pm
    [2019-12-14 18:14:10,273] [Log    ] [YAC Listener] [INFO ] -    Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\text-message.jpg
    [2019-12-14 18:14:10,274] [Log    ] [YAC Listener] [INFO ] - Exception: Object reference not set to an instance of an object. TargetSite: Boolean PostYACDialog(System.String, System.String)
    [2019-12-14 18:14:10,275] [Log    ] [YAC Listener] [INFO ] - failed to parse call
    [2019-12-14 18:15:10,180] [Log    ] [MPMain   ] [INFO ] - Main: Activation request received
    [2019-12-14 18:15:10,277] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2019-12-14 18:16:10,282] [Log    ] [MPMain   ] [INFO ] - Main: Activation request received
    [2019-12-14 18:16:10,366] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2019-12-14 18:16:32,231] [Log    ] [YAC Listener] [INFO ] - ***** INCOMING CALL: 14 December 2019 6:16:32 PM *****
    [2019-12-14 18:16:32,235] [Log    ] [YAC Listener] [INFO ] -    Name: Text Message
    [2019-12-14 18:16:32,235] [Log    ] [YAC Listener] [INFO ] -    Number: Main Gate closed
    at 6:16 pm
    [2019-12-14 18:16:32,236] [Log    ] [YAC Listener] [INFO ] -    Image: C:\ProgramData\Team MediaPortal\MediaPortal\Thumbs\YAC\text-message.jpg
    [2019-12-14 18:16:32,236] [Log    ] [YAC Listener] [INFO ] - Exception: Object reference not set to an instance of an object. TargetSite: Boolean PostYACDialog(System.String, System.String)
    [2019-12-14 18:16:32,237] [Log    ] [YAC Listener] [INFO ] - failed to parse call
    [2019-12-14 18:17:10,374] [Log    ] [MPMain   ] [INFO ] - Main: Activation request received
    [2019-12-14 18:17:10,455] [Log    ] [MPMain   ] [INFO ] - Main: Deactivation request received
    [2019-12-14 18:18:10,476] [Log    ] [MPMain   ] [INFO ] - Main: Activation request received
    [20
     

    Users Who Are Viewing This Thread (Users: 0, Guests: 1)

    Top Bottom