Page 1 of 8 123 ... LastLast
Results 1 to 10 of 78

Thread: CallerID

  1. #1
    Join Date
    Dec 2001
    Posts
    11,560

    Default CallerID

    Attached is some updates tothe calleridhandler.lua file.

    Includes..

    Tracking of last 100 calls, saved between G sessions
    Replacement of Names or Numbers as desired
    Ability to add callbacks so your own code gets called when a call comes in
    Option for voice

    Pending

    Broadcasting to NR clients <- ANYONE want to suggest a standard labe to use?
    Broadcasting to G clients

    Place both files in the luascripts dir.
    Attached Files Attached Files

  2. #2
    Join Date
    Jul 2001
    Location
    Risør - Norway
    Posts
    5,477

    Default

    How about putting everything related to Caller ID in a table called CID and then use CID.String for the internal full display (number, name, date, time) and CID.NetRemoteString for what you send to NR?
    Tor - managing director of the Cinema Inferno home theater and multi-zone sound system with Girder running the show in the back, NetRemote as the GUI and Media Center 17, PowerDVD and ZoomPlayer as playback software
    Hobsyssel mastiffs: http://www.hobsyssel.no

  3. #3
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    Its already in a table called..... CallerID

    It works with the callerid modem and netcallerid serial devices.

    To use a different device to send a call info do...

    CallerID:NewCall (Name,Number,Date,Time)

  4. #4
    Join Date
    Jul 2001
    Location
    Risør - Norway
    Posts
    5,477

    Default

    Aha. OK, didn't check... ops: Anyway, CallerID.String/CallerID.NetRemoteString, then.
    Tor - managing director of the Cinema Inferno home theater and multi-zone sound system with Girder running the show in the back, NetRemote as the GUI and Media Center 17, PowerDVD and ZoomPlayer as playback software
    Hobsyssel mastiffs: http://www.hobsyssel.no

  5. #5
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    updates...

    callerid.xml goes in plugins\ui

    callerid ui.lua goes in plugins\treescript

    other files go in luascript

    on the settings page there is now callerid. edit these as needed.

    to substitute cid info use this command

    CallerID:AddReplacement (NameNumber,NewName,NewNumber)

    NameNumber can be any name or number to match
    NewName is the new name to use, maybe nil
    NewNumber is the new number, maybe nnil


    ie.

    CallerID:AddReplacement ('1234567890','Test')

    Makes any number or name with 1234567890 become Test

    or

    CallerID:AddReplacement ('Girder','Promixis Girder')


    For, create a file with these commands and place in the startup dir or create a tree item that runs on girder startup.
    Attached Files Attached Files

  6. #6

    Default

    I installed the files, added a line to the startup sequence, and when I call my home, only the OSD part works. It did replace the # with the name I put in, so that part works, but no luck with TTS. The default voice has been configured, and I know the LUA voice code works when testing it from within the Girder interface. Any suggestions?

    Btw, that's pretty cool that you can add more tabs to the interface using some XML and LUA!
    Reverse engineered from Martian technology.

  7. #7
    Join Date
    Apr 2004
    Location
    Dearborn, MI
    Posts
    1,968

    Default

    Same results here... not even the OSD....

    Also how do you add numbers for the replacements?

    John

  8. #8
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    can you check the registry entries under girder/4/plugins/callerid>?

  9. #9
    Join Date
    Dec 2001
    Posts
    11,560

    Default

    And then test with from the interactive console...


    CallerID:NewCall ('Testing',1234567890)

  10. #10
    Join Date
    Apr 2004
    Location
    Dearborn, MI
    Posts
    1,968

    Default

    The interactive console displayed the OSD and also did the TTS.

    John

Page 1 of 8 123 ... LastLast

Posting Permissions

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