• 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 20
[RELEASE] XBMC PBX Addon - Home Telephony Experience using Asterisk
#61
a little... Smile I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)
Reply
#62
cmonpellier Wrote:a little... Smile I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)

vonage is basically a SIP account and i believe if you google vonage and asterisk you will find how to incorporate the two to use your vonage from your asterisk box
Reply
#63
hmr Wrote:Sorry guys, I've been busy and haven't had time to continue working on this script.

Given you are doing a great job helping each other, I wonder if anyone is interested in continuing this project and becoming a member on the google code site, so you can review/fix/improve code, the wiki (documentation), and whatever you want.

In that case just send me a private message with your google account and I'll give you the access.

Thanks a lot for your support!
Hernan.-

Hello Heman,

I have got my hands pretty full with the MultiroomAV Streaming plugin I wrote and just released but you can add me as a contributor/member and I will do what I can.

By the way, can you PM me as I have a couple of questions that I wanted to ask you specific to the BG module wrote.

Thanks!! Big Grin
Enjoy OpenSource! :nod:
MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's
Reply
#64
cmonpellier Wrote:a little... Smile I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)

cmonpellier Wrote:a little... Smile I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)

Your best bet by far is to go to the elastix website and download a copy of the full iso and install that on a spare pc/laptop (btw... i like laptops because they have a battery in case of a power failure). It doesn't take much as far as resources but this should get you headed on your way should cover any questions regarding setup of Vonage or any other VoIP based service on you asterisk based box. Wink

Elastix Site:
http://www.elastix.org

32bit download:
http://sourceforge.net/projects/elastix/...o/download

Elastix without tears:

http://www.elastixconnection.com/downloa..._tears.pdf

Enjoy!!
Enjoy OpenSource! :nod:
MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's
Reply
#65
megacrypto Wrote:im still confused about the autoexec.py .. im on linux and i can't seem to find the Scripts dir to copy it to?

Anyone on this issue ?
Reply
#66
megacrypto Wrote:Anyone on this issue ?

Hello megacrypto...

I am running Lucid and the autoexec.py goes here:

/home/<username>/.xbmc/scripts/autoexec.py

My autoexec.py is the default but looks like this:

# Put this file into Q:\scripts folder to be executed when XBMC starts.
import os
import xbmc

# Change this path according your XBMC setup (you may not need 'My Scripts')
script_path = xbmc.translatePath(os.path.join(os.getcwd(),'My Scripts','xbmc-pbx-addon','bgservice.py'))
xbmc.executescript(script_path)


The directory xbmc-pbx-addon script goes here:

/home/<username>/.xbmc/scripts/My scripts/

Hope this helps. Big Grin
Enjoy OpenSource! :nod:
MY SETUP: XBMC 12 Frodo RC3, Multiple Asus EB1501's throughout the Home for XBMC based STB's
Reply
#67
Thanks for this addon. Works fine so far.
But what I noticed is when receiving an UTF-8 formatted CallerID on incoming call the addons runs into the following problem:

Quote:10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: > newcall_actions()
10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: >> Channel: DAHDI/1-1
10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: >> CallerID: Büro: Larry Handy <01712345678>
10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: >> Notification: Büro: Larry Handy <01712345678>
10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: >> Notification: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
(german umlauts in this case)

Running xbmc-9.11-r5 on Gentoo/stable.

-
Larry
Reply
#68
teshephe Wrote:Hello megacrypto...

I am running Lucid and the autoexec.py goes here:

/home/<username>/.xbmc/scripts/autoexec.py

My autoexec.py is the default but looks like this:

# Put this file into Q:\scripts folder to be executed when XBMC starts.
import os
import xbmc

# Change this path according your XBMC setup (you may not need 'My Scripts')
script_path = xbmc.translatePath(os.path.join(os.getcwd(),'My Scripts','xbmc-pbx-addon','bgservice.py'))
xbmc.executescript(script_path)


The directory xbmc-pbx-addon script goes here:

/home/<username>/.xbmc/scripts/My scripts/

Hope this helps. Big Grin

i dont have /home/<username>/.xbmc/scripts folder .. im also running lucid and XBMC r33778 .. the pbx addon is installed in /home/<user>/.xbmc/addons/xbmc-pbx-addon

?!
Reply
#69
pt-1 Wrote:@all,

I am at the same stage as teshephe that incoming calls are not shown in XBMC but registered in the xbmc.log on my work setup.

On my Home setup I cannot even run the php file from the browser ..

my Master.csv is here:
Code:
-rw-rw---- 1 asterisk asterisk 289337 2010-09-03 19:42 Master.csv
asterisk:/var/log/asterisk/cdr-csv#


my php file
Code:
-rwxr-xr-x 1 root root 5780 2010-09-03 19:35 xbmc-pbx-addon.php
asterisk:/var/www#


If I access it from the brower I get:
Code:
<?xml version="1.0" ?>
- <pbx>
- <cdr_error>
  <msg>Unable to read file: /var/log/asterisk/cdr-csv/Master.csv</msg>
  </cdr_error>
  </pbx>
- <!--  XBMC PBX Addon 0.0.6
  -->
Anything to spot ..?

I got php-xml installed as far as I understand
Code:
aptitude search php | grep xml
p   php-xml-htmlsax3                - SAX parser for HTML and other badly formed
p   php-xml-parser                  - PHP PEAR module for parsing XML
p   php-xml-rss                     - RSS parser
p   php-xml-serializer              - swiss-army knife for reading and writing X
p   php-xml-util                    - a XML utility for php-pear
i   php5-xmlrpc                     - XML-RPC module for php5

It was the chmod ...

now it works with this:

Code:
asterisk:/var/log/asterisk/cdr-csv# ls -l
total 324
-rwxr-xr-x 1 asterisk asterisk 326102 2010-09-23 20:12 Master.csv
Reply
#70
I'm receiving script errors when trying to run version 0.0.6 on Dharma Beta 2 under Windows 7. Debug logs report similar errors from both bgservice.py on startup and from Default.py if I navigate to Programs > XBMC PBX Addon.

Code:
22:24:52 T:4500 M:2103074816  NOTICE: -->Python Interpreter Initialized<--
22:24:52 T:4500 M:2103074816   DEBUG: XBPyThread::Process - The source file to load is C:\Users\htpc\AppData\Roaming\XBMC\addons\xbmc-pbx-addon\bgservice.py
22:24:52 T:4500 M:2103074816   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\htpc\AppData\Roaming\XBMC\addons\xbmc-pbx-addon;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
22:24:52 T:4500 M:2103074816   DEBUG: XBPyThread::Process - Entering source directory C:\Users\htpc\AppData\Roaming\XBMC\addons\xbmc-pbx-addon
22:24:52 T:2520 M:2103074816  NOTICE: -->Python Interpreter Initialized<--
22:24:52 T:2520 M:2103074816   DEBUG: XBPyThread::Process - The source file to load is C:\Users\htpc\AppData\Roaming\XBMC\addons\script.libraryautoupdate\default.py
22:24:52 T:2520 M:2103074816   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\htpc\AppData\Roaming\XBMC\addons\script.libraryautoupdate;C:\Program Files\XBMC\addons\script.module.pil\lib;C:\Program Files\XBMC\addons\script.module.pysqlite\lib;special://xbmc/system/python/DLLs;special://xbmc/system/python/Lib;special://xbmcbin/system/python/python24.zip;special://xbmc/system/python\DLLs;special://xbmc/system/python\lib;special://xbmc/system/python\lib\plat-win;special://xbmc/system/python\lib\lib-tk;C:\Program Files\XBMC
22:24:52 T:2520 M:2103074816   DEBUG: XBPyThread::Process - Entering source directory C:\Users\htpc\AppData\Roaming\XBMC\addons\script.libraryautoupdate
22:24:52 T:4500 M:2102730752  NOTICE: XBMC PBX Addon Version: 0.0.6
22:24:52 T:2520 M:2102603776  NOTICE: update library add-on complete
22:24:52 T:2520 M:2102603776    INFO: Scriptresult: Success
22:24:52 T:2520 M:2102034432    INFO: Python script stopped
22:24:52 T:2520 M:2102018048   DEBUG: Thread 2520 terminating
22:24:52 T:4500 M:2101788672    INFO: -->Python script returned the following error<--
22:24:52 T:4500 M:2101788672   ERROR: Error Type: exceptions.AttributeError
22:24:52 T:4500 M:2101788672   ERROR: Error Contents: 'module' object has no attribute 'Language'
22:24:52 T:4500 M:2101755904   ERROR: Traceback (most recent call last):
                                              File "C:\Users\htpc\AppData\Roaming\XBMC\addons\xbmc-pbx-addon\bgservice.py", line 30, in ?
                                                __language__ = xbmc.Language(CWD).getLocalizedString
                                            AttributeError: 'module' object has no attribute 'Language'
22:24:52 T:4500 M:2101755904    INFO: -->End of Python script error report<--
22:24:52 T:4024 M:2101739520   DEBUG: thread start, auto delete: 1

Any thoughts?
Reply
#71
I have made the MASSIVE leap from 15 + years of windows to ubuntu this weekend and it has been a very steep learning curve... I now have my asterisk server up and running smoothly cause I really want this app, but am now stumped as to what goes where?

I am running Beta 3 R3471 on ubuntu 10.04 and I have read and reread this thread and still am at a loss as to where to put each file.... I dont have a scripts folder Oo

has any one got this up and running on the later builds if so, PLEASE help a complete linux novice!

a step by step for the later builds would be great, I so want to use this app.
Reply
#72
I have a problem that I have been working around for some time but I just wanted to check and see if anyone could give me some advice on it.

Running Elastix 1.6.2-7

The CID notification doesn't work unless I set my incoming route to have a CID Lookup Source of my phonebook. But then it only works for the people that call who are listed in the phonebook and it doesn't work for any other calls even though the CID shows in the asterisk call logs and on my phone when the call comes through.

In XBMC log it doesn't fire any event when a call from a number outside of my phonebook comes in so this makes me believe it is a problem not with the script but with my Asterisk configuration or the AMI.
Reply
#73
tytherman Wrote:I am running Beta 3 R3471 on ubuntu 10.04 and I have read and reread this thread and still am at a loss as to where to put each file.... I dont have a scripts folder Oo

has any one got this up and running on the later builds if so, PLEASE help a complete linux novice!

Hi tytherman!, this script was not updated to support later builds.

I haven't had time to get my hands on it for a while, so if you happen to know any developers willing to helps us, please bring them here!

Hope you can enjoy using it very soon!
Hernan.-
Reply
#74
hmr Wrote:Hi tytherman!, this script was not updated to support later builds.

I haven't had time to get my hands on it for a while, so if you happen to know any developers willing to helps us, please bring them here!


Hernan.-


what is the problem with the script?
Reply
#75
hi all,

couldn't find any how to's is there is any link of that.

thanks
Reply
  • 1
  • 3
  • 4
  • 5(current)
  • 6
  • 7
  • 20

Logout Mark Read Team Forum Stats Members Help
[RELEASE] XBMC PBX Addon - Home Telephony Experience using Asterisk3