[RELEASE] XBMC PBX Addon - Home Telephony Experience using Asterisk
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-05-24 23:45
Post: #21
anyone? any suggestion?
|
| find quote |
keylogthis
Junior Member Posts: 11 Joined: Jun 2010 Reputation: 0 |
2010-06-12 05:38
Post: #22
I really like this script. I have everything working except for VM and I was hoping that you could help me out with it. The VM shows up but when I try to play it it doesn't do anything after I click on Yes to play.
Here is the log: Code: 21:31:26 M: 31297536 NOTICE: -->Python Initialized<--I am able to put the URL http://192.168.1.223/xbmc-pbx-addon.php?...format=wav into a browser and it will download the wav file and I can listen to it. Let me know if there is anything that I can do to try and fix it or troubleshoot it. Thank you.
(This post was last modified: 2010-06-12 05:44 by keylogthis.)
|
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-06-14 03:31
Post: #23
keylogthis, glad to see you find this script useful!
Please verify your Asterisk Voicemail configuration (server side) and make sure you have format=wav and not format=wav49. Besides that, I don't have a Windows setup at this moment to test it (I guess you are using XBMC for Windows) but I would recommend you testing the new script version 0.0.5 I've just uploaded. BTW, have you tested all features (including call redirection)? Would like to hear your feedback. Thanks!! Hernan.- |
| find quote |
keylogthis
Junior Member Posts: 11 Joined: Jun 2010 Reputation: 0 |
2010-06-14 17:14
Post: #24
Thanks hernan. I'm running it on the xbox.
I checked my voicemail.conf and it didn't have anything set for format so I put in format=wav and now everything is working. I didn't test the redirection because I would not use this feature, but I'm curious what is the alert_info setting? |
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-06-14 19:08
Post: #25
Good to see VM playback is working for you now
![]() ALERT_INFO is used for distinctive ring on SIP channels. See here: http://www.voip-info.org/wiki/view/Aster...P+channels Given alert_info is some sort of variable which you can easily change its value from FreePBX (and I assume other GUIs as well) for different inbound routes, I'm taking advantage of it to control whether XBMC should redirect a call or not. Please let me know if there is anything you would like to have added/removed/changed on this script and any other feedback. Best regards! Hernán.- |
| find quote |
keylogthis
Junior Member Posts: 11 Joined: Jun 2010 Reputation: 0 |
2010-06-15 00:36
Post: #26
Actually, I spoke too soon. I don't have the CID notification working. It was working but only because I had it setup this way. Now since I have removed that method for CID notification I no longer have the pop-up.
I do have the autoexec.py in Q:\scripts so it should be running in the background as soon as XBMC starts but for some reason when the call comes in nothing happens. Call Logs are working. Voicemail is working. ...but notification doesn't work unless I follow the directions in the above link and create an extension with the commands from the article and set my inbound destination to it. So if you can help me out again I would be very grateful because I would like to use your script for everything instead of do it this way. Oh, and I have the settings for your script: Initiate upon NewChannel State: Ring Show CID Notification: Yes CID Notification Timeout: 15 EDIT, found a little more out: I changed autoexec.py to: Code: # Put this file into Q:\scripts folder to be executed when XBMC starts.And now I get the VM Inbox notification on start-up which was not working before I made this change. So the path is not set correctly in autoexec.py to start the bgservice.py in your script at the moment. CID notification now partially works but it gives an error message instead of showing name/number. It gives this message: "Error: ChannelStateDesc" I have tried to change the settings from both Ring and Down but it does the same thing. Any info on this problem? Thanks. Here is logfile: Code: 18:27:53 M: 37720064 NOTICE: XBMC PBX Addon Version: 0.0.5
(This post was last modified: 2010-06-15 01:33 by keylogthis.)
|
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-06-15 06:07
Post: #27
Thanks for your report!
Regarding autoexec.py, you are right, that path is for XBMC for Linux. I should find a way to detect the platform and automatically change paths accordingly. In regards to the CID notification issue, I've been testing this script with Asterisk 1.6 and it seems events have changed a little after 1.4, causing that error. I've just uploaded an updated bgservice.py file including support for Asterisk 1.4. Download it from here: http://code.google.com/p/xbmc-pbx-addon/...svn37&r=37 Please give it a try and let me know your results ![]() Good luck! Hernan.- |
| find quote |
keylogthis
Junior Member Posts: 11 Joined: Jun 2010 Reputation: 0 |
2010-06-15 08:25
Post: #28
Tried the new bgservice.py but it didn't do anything.
The VM Notification on start-up still works but when I make a call nothing happens... not even the error message that I was getting before and there is nothing in the log. Code: 01:02:26 M: 32563200 NOTICE: [XBMC PBX Addon]: Running in background...I made the calls at about 01:05 but it didn't register with the script. Quote:I should find a way to detect the platform and automatically change paths accordingly.Yeah, otherwise I would probably just make a comment or direction for people to edit that path. Easier on you, but it depends on how fancy you want to get, lol. Thanks for the great support.
(This post was last modified: 2010-06-15 08:32 by keylogthis.)
|
| find quote |
hmr
Member Posts: 83 Joined: Jun 2006 Reputation: 0 Location: Argentina |
2010-06-15 14:19
Post: #29
Good, that's some progress
![]() I don't have an Asterisk 1.4 to test it at this moment. Could you please remove all comments from log lines (You must change every occurrence of #log with log) and then copy the logfile so we can troubleshoot it? Thank you!! Hernán.- |
| find quote |
keylogthis
Junior Member Posts: 11 Joined: Jun 2010 Reputation: 0 |
2010-06-15 18:34
Post: #30
Here is the log file with all the log options enabled:
Code: 11:30:52 M: 38215680 NOTICE: XBMC PBX Addon Version: 0.0.6It was set to ring but I tried down because that was showing in the log but still nothing.
(This post was last modified: 2010-06-15 18:37 by keylogthis.)
|
| find quote |


Search
Help