2010-09-08, 16:00
a little... I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)
cmonpellier Wrote:a little... I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)
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.-
cmonpellier Wrote:a little... I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)
cmonpellier Wrote:a little... I use Vonage, do I need an external hardware (guess not) or account (SIP ?, not understand what that does)
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?
megacrypto Wrote:Anyone on this issue ?
Quote:10:47:06 T:139717844629264 M:2611159040 NOTICE: [XBMC PBX Addon]: > newcall_actions()(german umlauts in this case)
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)
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.
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:
Anything to spot ..?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
-->
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
asterisk:/var/log/asterisk/cdr-csv# ls -l
total 324
-rwxr-xr-x 1 asterisk asterisk 326102 2010-09-23 20:12 Master.csv
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
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
has any one got this up and running on the later builds if so, PLEASE help a complete linux novice!
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.-