Actually, I spoke too soon. I don't have the CID notification working. It was working but only because I had it setup
this way. Now since I have removed that method for CID notification I no longer have the pop-up.
I do have the autoexec.py in Q:\scripts so it should be running in the background as soon as XBMC starts but for some reason when the call comes in nothing happens.
Call Logs are working.
Voicemail is working.
...but notification doesn't work unless I follow the directions in the above link and create an extension with the commands from the article and set my inbound destination to it. So if you can help me out again I would be very grateful because I would like to use your script for everything instead of do it this way.
Oh, and I have the settings for your script:
Initiate upon NewChannel State: Ring
Show CID Notification: Yes
CID Notification Timeout: 15
EDIT, found a little more out:
I changed autoexec.py to:
Code:
# Put this file into Q:\scripts folder to be executed when XBMC starts.
import os
import xbmc
xbmc.executescript('Q:\\scripts\\xbmc-pbx-addon\\bgservice.py')
And now I get the VM Inbox notification on start-up which was not working before I made this change. So the path is not set correctly in autoexec.py to start the bgservice.py in your script at the moment.
CID notification now partially works but it gives an error message instead of showing name/number. It gives this message: "Error: ChannelStateDesc"
I have tried to change the settings from both Ring and Down but it does the same thing. Any info on this problem? Thanks.
Here is logfile:
Code:
18:27:53 M: 37720064 NOTICE: XBMC PBX Addon Version: 0.0.5
18:27:56 M: 32342016 NOTICE: [XBMC PBX Addon]: Running in background...
18:27:56 M: 32350208 NOTICE: [XBMC PBX Addon]: >> Asterisk 1.4.24 built by root @ centos5-rpmbuilder.palosanto.com on a i686 running Linux on 2015-03-12 18:14:36 UTC
18:27:56 M: 32342016 NOTICE: [XBMC PBX Addon]: >> New messages: 0
18:27:56 M: 32342016 NOTICE: [XBMC PBX Addon]: __init__()
[color=Red]18:28:09 M: 29974528 NOTICE: [XBMC PBX Addon]: >> 'ChannelStateDesc'[/color]
18:28:53 M: 34107392 NOTICE: -->Python Initialized<--