{"id":751,"date":"2016-09-25T18:42:54","date_gmt":"2016-09-26T00:42:54","guid":{"rendered":"https:\/\/wmbuck.net\/blog\/?p=751"},"modified":"2016-09-25T18:42:54","modified_gmt":"2016-09-26T00:42:54","slug":"caller-id-in-kodi-redux","status":"publish","type":"post","link":"https:\/\/wmbuck.net\/blog\/?p=751","title":{"rendered":"Caller Id in Kodi &#8211; Redux"},"content":{"rendered":"<p>I posted <a href=\"https:\/\/wmbuck.net\/blog\/?p=625\">in this post<\/a> about how I arranged to get caller-Id to show up in Kodi. At that time I was still using POTS, but since then I have switched to VoIP and set up Asterisk.<\/p>\n<p>I did find another plugin that would connect to Asterisk and obtain information about incoming calls. But until now it was only half way working. I finally got around to paying attention to it. It was originally provided by &#8220;hmronline&#8221; and I found it at code.google.com. It was last worked on with Dharma, and I had to do some things to get it ready for Jarvis.<\/p>\n<p>The source code is now in the tarragon svn repository, under the name KodiAsterisk. On coriander, where the production Kodi lives, there is a checked out directory under \/Users\/wmb called kodiasterisk. For Kodi to install it it has to be zipped, so the sequence is to svn update the directory, then zip the directory as script.service.dee-kodi-asterisk.zip. Then install it within Kodi.<\/p>\n<p>It attaches to asterisk on cinnamon using the Asterisk manager interface.\u00a0 Authentication on the manager interface uses files in \/etc\/asterisk\/manager.d which has one file per authorized user, containing credentials.<\/p>\n<p>The code has features to<\/p>\n<ul>\n<li>give a notification of the caller id<\/li>\n<li>put up a picture of the caller<\/li>\n<li>pause a video if one is playing<\/li>\n<li>redirect the call (within asterisk) if a video is playing<\/li>\n<li>indicate whether there are voice mails<\/li>\n<\/ul>\n<p>I have the notification running, the picture coming up, and the video being paused. I don&#8217;t use the redirect feature. Also, since my voice mail is not on Asterisk the features of voice mail aren&#8217;t being used.<\/p>\n<p>I did put pictures into a folder within \/Storage\/Pictures\/KodiPictures. The pictures here are named with the phone number, and contain a snapshot of the caller, in jpeg. If there is no picture in the folder for a particular number nothing is put up, but the notification and pausing still occur.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I posted in this post about how I arranged to get caller-Id to show up in Kodi. At that time I was still using POTS, but since then I have switched to VoIP and set up Asterisk. I did find another plugin that would connect to Asterisk and obtain information about incoming calls. But until &hellip; <a href=\"https:\/\/wmbuck.net\/blog\/?p=751\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Caller Id in Kodi &#8211; Redux<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,10,27,4,25,9,6],"tags":[],"class_list":["post-751","post","type-post","status-publish","format-standard","hentry","category-asterisk","category-fedora","category-kodi","category-linux","category-mac","category-ubuntu","category-xbmc"],"_links":{"self":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751"}],"collection":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=751"}],"version-history":[{"count":1,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions"}],"predecessor-version":[{"id":753,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=\/wp\/v2\/posts\/751\/revisions\/753"}],"wp:attachment":[{"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=751"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=751"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wmbuck.net\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=751"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}