WIP Call Notifications - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Service Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=152) +---- Thread: WIP Call Notifications (/showthread.php?tid=179036) |
Call Notifications - NordishByNature - 2013-11-27 Call Notifications Call Notifications does what the name says: On incoming phone calls XBMC will show a notification. The idea and parts of code are based on XBMC Yac Listener developed by @doug. (Forum Thread) Since he won't update his code anymore I decided to code this thing. Any feedback and contributions are welcome. Asterisk Client is already on my TODO list. Features:
current version: 0.5.3 download: 0.5.3.zip github: https://github.com/mablae/service.script.call-notifications/ Screenshots: Client Support:
Credits doug, hernandito, and rest xbmc Community - I hope anybody will find this useful. If so, please let me know. reserved RE: Call Notifications - Martijn - 2013-11-27 please make the id "service.script.call-notifications" or "service.call.notifications" or similar. xbmc.* is reserved for xbmc itself and having service.* make it more clear what it does. RE: Call Notifications - NEOhidra - 2013-11-27 Nice! Since the PBX add on is abandoned I can't wait for your asterisk implementation - fingers crossed. RE: Call Notifications - NordishByNature - 2013-11-27 Hey Martijn, okay changed that. Thanks for all the help! RE: Call Notifications - oldtvwatcher - 2013-11-27 It's actually possible to send call notifications from Asterisk (and probably any other software-based PBX) to XBMC now. I found the information buried in this article and this is an excerpt of the pertinent part: Quote:If you have XBMC running on a system on your local network, you could use a line such as this to send notifications to it: If you try to use one of the lines above, change the quotation marks back to regular plain ones, rather than the enhanced ones that are shown in this post, otherwise they won't work. Note that the extension ****1122 refers to a technique the author used to make this work in FreePBX as explained in the original article - in basic Asterisk you'd just use the extension number. Also, the phone icon mentioned is this: See the original article for more information, but keep in mind that it was aimed at FreePBX users so if you are using basic Asterisk, there are probably instructions there that don't apply to you. (Edited to include change made by blog's author after I pointed out an error, and additional changes for Frodo) RE: Call Notifications - hernandito - 2013-11-27 Nordish this is awesome... thank you! My Yac has been crapping out on me... and I cant test... I will give it a good try at fixing. One thing that I thing would be awesome, is to say in the addon folder have a folder whenre the user uploads photos of various common callers. The jpg file will be named the phone number of the person calling. So the script puts the persons icon when it matches the incoming phone number.... I will spend a few hours diagnosing my Yac. Thank you! RE: Call Notifications - hernandito - 2013-11-27 deleted double post... RE: Call Notifications - hernandito - 2013-11-27 When installing, I get a "dependency not met error".... Do I still need the original YAC addon? RE: Call Notifications - NordishByNature - 2013-11-28 (2013-11-27, 19:44)xbmclinuxuser Wrote: It's actually possible to send call notifications from Asterisk (and probably any other software-based PBX) to XBMC now. I found the information buried in this article and this is an excerpt of the pertinent part: Thanks, I'll take a look at it. hernandito Wrote:When installing, I get a "dependency not met error".... Do I still need the original YAC addon? It should work with Gotham and Frodo. What XBMC version are you running? Dougs Addon is not needed anymore. You may delete the folder, to be sure it does not conlict on ports. Can you send a debug log to pastie, with the installing part in it? Cheers Nordish a.k.a mablae RE: Call Notifications - oldtvwatcher - 2013-11-28 (2013-11-28, 04:47)NordishByNature Wrote:(2013-11-27, 19:44)xbmclinuxuser Wrote: It's actually possible to send call notifications from Asterisk (and probably any other software-based PBX) to XBMC now. I found the information buried in this article and this is an excerpt of the pertinent part: There was one small part of the example line I didn't understand so I contacted the author, and he made a small edit in the original blog post, and replied saying it was an error that had slipped through. I have updated my post above to include that edit. RE: Call Notifications - fantasticn - 2013-11-28 Hi NordishByNature, thanks for this great addon. Just to get it right: Using this addon in connection with a FritzBox does not require to have FritzBox running a Yac-Server (e.g. Freetz-Image) ? The addon may then use the built in callmonitor-server of the FritzBox instead - correct? Brgds, FantasticN RE: Call Notifications - NordishByNature - 2013-11-28 (2013-11-27, 23:09)hernandito Wrote: My Yac has been crapping out on me... and I cant test... I will give it a good try at fixing.Remember: you cannot use it on same ip / lan interface. The XBMC needs to sit on some other IP than YAC Software. Also this YAC Software does Client/Server part wrong. The Server is hosted inside XBMC and the Client is the Windows program. Very strange. (2013-11-27, 23:09)hernandito Wrote: One thing that I thing would be awesome, is to say in the addon folder have a folder whenre the user uploads photos of various common callers. The jpg file will be named the phone number of the person calling. So the script puts the persons icon when it matches the incoming phone number.... Yeah, the lookup part is going live today. I am thinking about how to integrate with as much configurations and PBX Systems and make it also user-friendly. Nobody wants to enter their Phonebooks in XBMC manually. (2013-11-28, 10:03)fantasticn Wrote: Just to get it right: Using this addon in connection with a FritzBox does not require to have FritzBox running a Yac-Server (e.g. Freetz-Image) ? The addon may then use the built in callmonitor-server of the FritzBox instead - correct? Exactly! Please try it out and let me know if it worked. cheers Nordish RE: Call Notifications - hernandito - 2013-11-28 (2013-11-28, 04:47)NordishByNature Wrote:hernandito Wrote:When installing, I get a "dependency not met error".... Do I still need the original YAC addon? I am using Openelec Frodo 12.2... debug log from right after doing this is this: http://pastebin.com/iRPnujPU Thanks for your help! Hernando RE: Call Notifications - NordishByNature - 2013-11-28 (2013-11-28, 17:12)hernandito Wrote: I am using Openelec Frodo 12.2... debug log from right after doing this is this: I have to thank you, Sir Code: 10:04:44 T:140093996463936 DEBUG: Addon script.module.twisted requires script.module.zope-interfaces version 4.0.5 which is not available Okay, I changed the name of that module to script.module.zope.interface ... My mistake I am sorry.. Also the name of the addon changed from xbmc.addon.call-notifications to service.script.call-notifications - Please delete the old version manually to avoid errors. New Version: v0.5.3 I hope things get more stable soon... Nordish RE: Call Notifications - hernandito - 2013-11-28 No luck Nordish... I am getting this: Code: 12:37:33 T:140344841652032 DEBUG: ------ Window Deinit (FileBrowser.xml) ------ I have to leave to visit family (Thanksgiving) and I will return tomorrow... I cannot wait to try it. Thanks. H. |