[RELEASE] XBMC PBX Addon - Home Telephony Experience using Asterisk

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
hmr Offline
Member
Posts: 83
Joined: Jun 2006
Reputation: 0
Location: Argentina
Post: #231
Hello everyone,

Real life kept me away from updating this script but I'm planning to get back and make some progress these days.

Given the fact XBMC Eden is around the corner, I was planning to only focus on this version, but I would like to get some input from you to better understand how people is using this script and therefore I'll ask to answer these:

* Which XBMC version are you running ?
* Which OS and version are you running for XBMC ?
* Which Asterisk version (and distro) are you running ?
* Any missing feature you would like to see ?

So I'll try to make progress based on this feedback and also ensure support for Asterisk 1.8 that was requested several times.

Thanks for your help!
Hernán.-
find quote
marigo Offline
Junior Member
Posts: 15
Joined: Mar 2012
Reputation: 0
Post: #232
XBMC version: XBMCbuntu 11.0-BETA3
Ubuntu 11.10
Asterisk: 1.6.2.13

Hello Hmr,

I worked out your installation guide and everything works except the incoming call pop-up. I have set the NewChannel State to "ring" but no incoming calls appears on the screen.

Maybe you can see something in the log of xmbc?
Code:
14:04:17 T:2849442672  NOTICE: [XBMC PBX Addon]: Version 1.0.9
14:04:17 T:2849442672  NOTICE: [XBMC PBX Addon]: XBMC for Linux
14:04:17 T:2849442672  NOTICE: [XBMC PBX Addon]: PATH: /home/marigo/.xbmc/addons/script.xbmc-pbx-addon
14:04:17 T:2849442672  NOTICE: [XBMC PBX Addon]: Launching GUI...
14:04:17 T:2849442672  NOTICE: [XBMC PBX Addon]: __init__()
14:04:18 T:3042797312   ERROR: Control 120 in window 13000 has been asked to focus, but it can't
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: > onInit()
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: > skinSetup()
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: > getInfo()
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: >> Asterisk 1.6
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: >> Asterisk 1.6.2.13 built by slug @ oldbuilder on a i686 running Linux on 2010-11-29 22:54:00 UTC
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: > showInfo()
14:04:18 T:2849442672  NOTICE: [XBMC PBX Addon]: >> Done.
14:04:28 T:2849442672  NOTICE: [XBMC PBX Addon]: > onInit()
14:04:28 T:2849442672  NOTICE: [XBMC PBX Addon]: > skinSetup()
14:04:28 T:2849442672  NOTICE: [XBMC PBX Addon]: > getInfo()
14:04:28 T:2849442672  NOTICE: [XBMC PBX Addon]: >> Asterisk 1.6
14:04:28 T:2849442672  NOTICE: [XBMC PBX Addon]: >> Asterisk 1.6.2.13 built by slug @ oldbuilder on a i686 running Linux on 2010-11-29 22:54:00 UTC

Kind regards,

Marigo
(This post was last modified: 2012-03-14 20:58 by marigo.)
find quote
hmr Offline
Member
Posts: 83
Joined: Jun 2006
Reputation: 0
Location: Argentina
Post: #233
Hi!

I've just uploaded a new version (1.0.10) based on all the feedback I've received so far.

There are fixes and new features as well (details are on first post), so please test them all and let us know your results!

Thanks!
Hernán.-
(2012-03-13 15:55)marigo Wrote:  Maybe you can see something in the log of xmbc?

Hi Marigo, based on your logs I can't see this addon running on background. Have you rebooted after configuring it for the first time ?

BTW, there is a new version so I will ask you to update to the new one.

Please let me know how it works.

Thanks!
Hernán.-
(This post was last modified: 2012-03-14 03:46 by hmr.)
find quote
davidber Offline
Junior Member
Posts: 1
Joined: Aug 2009
Reputation: 0
Post: #234
(2012-02-20 03:16)hmr Wrote:  * Which XBMC version are you running ?
* Which OS and version are you running for XBMC ?
* Which Asterisk version (and distro) are you running ?
* Any missing feature you would like to see ?

Latest Eden
Vista 64bit (rofl - it works and I haven't upgraded it yet.)
PBXinaFlash - Asterisk 1.4.21.2
find quote
Rrrr Offline
Member
Posts: 98
Joined: Mar 2004
Reputation: 0
Post: #235
Eden RC2 on W7
Pbxinaflash - Asterisk v.1.8.6.0

It worked before on xbmc-pbx-addon v 1.0.9
After upgrade to v 1.0.10 (thanks for putting in a reminder to update the backend too Smile) and a restart of XBMC it works fine, except this:

As soon as the external call comes in, a playing video in xbmc jumps to pause, a notification of caller with callername and number pops up, BUT
the other phones that are ringing stop ringing too. I would prefer that other phones keep ringing so I can decide to answer the call.

I have tried to set wait time in extensions_custom.conf to a higher amount (followed by amportal restart), but this did not change the behaviour.

I modified the script, but the first lines still look like this:
Quote:[xbmc-now-playing]
exten => s,1,Wait(10)
exten => s,n,Answer()
exten => s,n,Noop(----------------------------)
exten => s,n,Noop(XBMC PBX Addon - Now Playing)
exten => s,n,Noop(----------------------------)
exten => s,n,Noop(--> Video Title: ${xbmc_video_title})
exten => s,n,Noop(--> Remaining Time: ${xbmc_remaining_time})
exten => s,n,Wait(2)
exten => s,n,Set(CHANNEL(language)=en)
exten => s,n,Playback(silence)
exten => s,n,Playback(pls-hold-while-try)
exten => s,n,Wait(2)
...

What should I change?

XBMC (11.0 Eden) on Asrock 330Pro W7. Asterisk 1.8 PBX in a Flash.
find quote
hmr Offline
Member
Posts: 83
Joined: Jun 2006
Reputation: 0
Location: Argentina
Post: #236
(2012-03-14 12:36)Rrrr Wrote:  What should I change?

You have to disable the option "Redirect calls if XBMC is playing Video".

If you keep it enabled, Asterisk will answer that call in the xbmc-now-playing context, and therefore other phones will stop ringing.

Best regards!
Hernán.-
find quote
Rrrr Offline
Member
Posts: 98
Joined: Mar 2004
Reputation: 0
Post: #237
Very nice, thank you very much.

XBMC (11.0 Eden) on Asrock 330Pro W7. Asterisk 1.8 PBX in a Flash.
find quote
gillou666 Offline
Junior Member
Posts: 15
Joined: Apr 2012
Reputation: 0
Post: #238
Hi hmr,

In first, thank you for addon !
Your project work more or less with asterisk 10.1 on XBMC Apple TV 2

Just add :

in Manager.py in method class BaseManager(object): in _AST_BANNERS the new Call manager.

'Asterisk Call Manager/1.2\r\n'

I have some trouble with duration message but i work on it
find quote
Kissell Offline
Member
Posts: 74
Joined: Feb 2012
Reputation: 2
Post: #239
I'm trying to get the caller ID picture to display... I entered a folder for the location of the pictures... but what should i name the photos?

My caller ID shows up in XBMC as "8005551212 <8005551212>" so I tried making a file named 8005551212.jpg, in that folder... but it didn't work... how should my pictures be saved and named to match a caller ID?

EDIT: Nevermind... dropping the file extension works.
(This post was last modified: 2012-04-08 07:53 by Kissell.)
find quote
Kissell Offline
Member
Posts: 74
Joined: Feb 2012
Reputation: 2
Post: #240
How come the calls show up as "8005551212 <8005551212>" instead of showing the person's name from the caller ID in the asterisk phonebook?
find quote
Post Reply