Seems you are using the built-in HTTP Asterisk Manager Interface, aka AJAM.
I haven't tested xbmc-pbx-addon.php there but I would assume it wont work, and it was intended to be running under a traditional web server like Apache, so it will be nice to hear your results.
Remember that php file is going to be called from a python script running under XBMC in order to fill the GUI with CDR/VM information. However, if you want to test it, try this:
http://XXXXX:XXXX/XXXX/xbmc-pbx-addon.php?cdr
Best regards,
Hernán.-
[RELEASE] XBMC PBX Addon - Home Telephony Experience using Asterisk
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-04-29 14:38
Post: #11
|
| find quote |
pt-1
Senior Member Posts: 175 Joined: Aug 2006 Reputation: 0 |
2010-04-29 16:54
Post: #12
hmr Wrote:Seems you are using the built-in HTTP Asterisk Manager Interface, aka AJAM. I stuck the php file into :/var/lib/asterisk/static-http and :/var/lib/asterisk/static-http/config as I was unsure what you meant with the Asterisk http-root browsing to: http://xxx.xxx.xxx.xxx:8088/manager?acti...e=&secret= gives me this:
|
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-04-30 14:40
Post: #13
The screenshot you provided is the AJAM interface, which is not required nor used by this script.
Instead, you should install a regular web server such as Apache, and then copy the xbmc-pbx-addon.php file into its root directory, which should be /var/www/ if you are using Debian. Please let me know if you have any questions. Regards! Hernán.- |
| find quote |
pt-1
Senior Member Posts: 175 Joined: Aug 2006 Reputation: 0 |
2010-04-30 15:53
Post: #14
OK,
now I get this in the Explorer Window: <?xml version="1.0" ?> <pbx /> When browsing to your PHP File. I am not at home currently so cannot check from the Xbox |
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-04-30 17:22
Post: #15
You are getting closer!
That PHP file is trying to read CDR information from the Master.csv file generated by Asterisk, and given no information is shown, you will need to make sure it is being created. For more information on this topic: http://www.voip-info.org/wiki/view/Asterisk+cdr+csv This make me think I will need to add an error message on the PHP file to alert users when Master.csv is not found/readable. Keep us updated with your progres. Thanks, Hernán.- |
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-05-01 07:15
Post: #16
I've just uploaded a new version including those messages.
If CDR file and/or Voice Mail directory are not found, an error message will be shown in the XML output, which should help you on troubleshooting. Best regards, Hernan.- |
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-05-16 07:26
Post: #17
New version available, including these changes:
* Updated py-asterisk library * Added VoiceMail Context configuration * Added NewChannel State configuration * Added VoiceMail count notification on script startup * Added ability to Redirect phone calls if playing video The most notable change is the ability to Redirect (Transfer) incoming phone calls, which is in its early stage, but you can already achieve this: You are watching your favorite movie and do not want to receive phone calls until finishes (let's say 45 minutes remaining time). Your friend calls you and listen a message: "Hey, I'm watching this great movie, please call me back in 45 minutes". Yes, you are that cool ![]() As usual, please provide feedback and any help (specially on skinning) will be appreciated. Best regards! Hernan.- |
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-05-17 00:49
Post: #18
Uploaded new version, xbox compatible.
See changelog on first post. Hernan.- |
| find quote |
thatjoshguy
Junior Member Posts: 22 Joined: Mar 2010 Reputation: 0 |
2010-05-17 02:13
Post: #19
this is a pretty cool idea, i may have to test it out being an Asterisk user myself. Very cool implementation!
|
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-05-24 00:58
Post: #20
Thanks thatjoshguy!, please share your feedback once you have tested it
![]() Is there any experienced skinner or python developer can help us fix this bug? First time the script is opened, the WindowXML skin is not localized and therefore labels are shown empty. This is solved by opening script settings, and re-opening the script again. After this, all labels are properly displayed (and localized). I've been taking a look into other scripts and I wasn't able to figure out what's wrong on mine. Any help would be really appreciated! Thank you! Hernan.- |
| find quote |

![[Image: asterisk.png]](http://img571.imageshack.us/img571/6640/asterisk.png)

Search
Help