Posts: 189
Joined: Sep 2011
Reputation:
3
freebs
Senior Member
Posts: 189
Would you mind posting an example of how you got it working ?
Shouldn't your ring state be set to RING for that version ?
thanks
Posts: 37
Joined: Nov 2010
Reputation:
0
olaffi
Junior Member
Posts: 37
I assume it's related to the callerID, if the callerid is supressed on the first try, it doesn't work.
If the callerid is submitted, everything work as expected. When then a second call arrives with callerid supressed, it shows the last callerID that called. I have to do some more tests tomorrow with two different mobile phones.
I also thought the channel state would be RING, but it's still DOWN, even when setting "signal ringing" on the inbound route settings.
Posts: 37
Joined: Nov 2010
Reputation:
0
olaffi
Junior Member
Posts: 37
Ok I have done some tests. The nightly r191 seems to work fine with asterisk 1.8. Sometimes the addon doesn't recognize the alertinfo, even if it's shown in the asterisk log, I then have to reload asterisk config, or do some changes on the affected inbound route, revert and apply.
If it's working, the only bug is if the first call after bootup comes from a anonymous callerID, nothing happens, no pausing, no popup. As soon as there was a call with a visible callerID, it shows the last callerID that called for a anonymous caller.
Will you release a new version that supports all 1.4, 1.6 and 1.8 asterisk?
Posts: 1
Joined: Dec 2011
Reputation:
0
2011-12-26, 12:25
(This post was last modified: 2011-12-26, 12:31 by spoonzor.)
After installing XBMC PBX it takes a while to exit XBMC. I assume this has to do with the background.py script that takes a while to end.
I'm running PBX plugin 1.0.9 on XBMC 10.1 (compiled march 9 2011) on Ubuntu 10.04 with Asterisk 1.6.2.5
The second problem is that XBMC doesn't look for new movies/series onload when the PBX plugin is enabled.
Any suggestions to solve this problem are more then welcome.
- Apart from above problems the PBX plugin works wonderful and I like it a lot. One minor problem i had was that my Asterisk installation seems to give DOWN on external calls and RING on internal calls (or the other way around, im not sure anymore) so I could choose to either pop-up on external calls or on internal calls. It was easy to fix this by altering the background.py script a bit. Of course I put the original script back after I found out about the above problems, but that didn't make any difference.
Thanks in advance! Spoon.
Posts: 6
Joined: Sep 2011
Reputation:
0
2012-01-20, 17:05
(This post was last modified: 2012-01-20, 17:05 by rlust.)
Everything is working except the inbound call notification.
Here is the message that I am getting.
Any ideas would be great!
08:59:31 T:2859465584 NOTICE: [XBMC PBX Addon]: > NewChannel()
08:59:31 T:2859465584 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327067971.59
08:59:31 T:2859465584 NOTICE: [XBMC PBX Addon]: >> State: Down
08:59:32 T:2859465584 NOTICE: [XBMC PBX Addon]: >> Notification: need more than 1 value to unpack
Thanks
Randy
Posts: 6
Joined: Sep 2011
Reputation:
0
Here are my versions:
[XBMC PBX Addon]: Version 1.0.9
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: XBMC for Linux
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: Running in background...
08:58:56 T:2851072880 NOTICE: VideoInfoScanner: Starting scan ..
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: >> Asterisk 1.8
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: >> Asterisk 1.8.3.3 built by root @ pbx.local on a x86_64 running Linux on 2011-05-10 14:19:06 UTC
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: >> Notification: New messages: 4
08:58:56 T:2859465584 NOTICE: [XBMC PBX Addon]: __init__()
Posts: 112
Joined: Mar 2004
Reputation:
0
Rrrr
Senior Member
Posts: 112
I have same thing, need to get inbound calls working.
I have looked at the log from bgservice.py.
From the log, one can notice that the routine called NewCallerID is never being entered.
I have run this with NewChannel State DOWN but also with AUTO which the routine corrects it to Ring (which is correct for Asterisk 1.8 ChannelStateDesc).
Please can you suggest how I could have inbound call working?
22:01:59 T:30192 NOTICE: [XBMC PBX Addon]: Version 1.0.9
22:01:59 T:30192 NOTICE: [XBMC PBX Addon]: XBMC for win32
22:02:00 T:30192 NOTICE: [XBMC PBX Addon]: Running in background...
22:02:00 T:24292 NOTICE: StorageServer Module loaded RUN
22:02:00 T:24292 NOTICE: StorageClient-0.8 Starting server
22:02:00 T:30248 ERROR: CRemoteControl::Connect - failed to connect
22:02:00 T:30192 NOTICE: [XBMC PBX Addon]: >> Asterisk 1.8
22:02:00 T:30192 NOTICE: [XBMC PBX Addon]: >> Asterisk 1.8.6.0 built by root @ pbx.local on a i686 running Linux on 2011-10-25 14:14:37 UTC
22:02:00 T:30192 NOTICE: [XBMC PBX Addon]: >> Notification: New messages: 1
22:02:00 T:30192 NOTICE: [XBMC PBX Addon]: __init__()
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: > NewChannel()
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438929.29
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >> State: Down
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >>> Will attach to this one:
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >>> UniqueID: 1327438929.29
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >>> State: Down
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: > NewChannel()
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438930.30
22:02:09 T:30192 NOTICE: [XBMC PBX Addon]: >> State: Down
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: > Hangup()
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438930.30
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: > Hangup()
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438929.29
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: > hangup_actions()
22:02:10 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438929.29
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: > NewChannel()
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438951.31
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >> State: Down
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >>> Will attach to this one:
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >>> UniqueID: 1327438951.31
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >>> State: Down
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: > NewChannel()
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438951.32
22:02:31 T:30192 NOTICE: [XBMC PBX Addon]: >> State: Down
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: > Hangup()
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438951.32
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: > Hangup()
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438951.31
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: > hangup_actions()
22:02:37 T:30192 NOTICE: [XBMC PBX Addon]: >> UniqueID: 1327438951.31
KODI: LibreElec on Raspberry Pi
KODI: LibreElec on Asus Chromebox