| View previous topic :: View next topic |
| Author |
Message |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Tue Nov 29, 2005 3:29 am Post subject: Phlink Web Access 2.1 |
|
|
I'm pleased to announce Phlink Web Access 2.1, an update to the versatile web interface for Phlink.
Response to 2.0 so far has been gratifying. Thank you for all your interest, and especially those of you who've donated!
With this version I've tried to incorporate much of your feedback:- it locates the Phlink application by ID, not by filename
- it improves URL composition when hosted behind Apache
- it adds an option to delete recordings while preserving calls (but see below...)
- it uses undocumented Apple APIs to format phone numbers when possible
In addition to these requested features, it fixes some unreported cosmetic and functional bugs. It also adds a few modest improvements to the default theme.
Note: unfortunately, the new feature to delete recordings from a call currently does not work. With some luck, a future Phlink update might fix this for us. If not, we'll have to revisit this requested feature in some other way.
| the announcement for version 2.0 wrote: | Novices: it's easy and safe to install or remove. Simply double-click on the downloaded application and it runs in the background. It announces itself to Safari and other browsers using Bonjour technology.
Gurus: it's themeable and extensible, using HTML templates stored within the application bundle. Included themes even provide new features to Phlink: you can now export the call log as tab-delimited text, and create podcasts from your existing smart call lists.
It talks directly to Phlink, using AppleEvents. So as you edit labels, notes, and other call properties using a web browser, those changes will appear immediately in Phlink's Call Log window and vice-versa.
For more information and to download, visit the Phlink Web Access web site. |
Considering responses from all the early adopters already, I believe this project is off to an encouraging start. Thanks, everybody — and have fun! |
|
| Back to top |
|
 |
Dennis
Joined: 27 Apr 2005 Posts: 62
|
Posted: Tue Nov 29, 2005 7:43 am Post subject: |
|
|
| Great news! I'm installing the new version right now! |
|
| Back to top |
|
 |
Bert Rozenberg Guest
|
Posted: Tue Nov 29, 2005 3:59 pm Post subject: Re: Phlink Web Access 2.1 |
|
|
| jonct wrote: |
[*]it uses undocumented Apple APIs to format phone numbers when possible
|
Cool!!
Thanks for that one
Donation is on it's way.
Bert |
|
| Back to top |
|
 |
cehrhardt
Joined: 10 Sep 2005 Posts: 1
|
Posted: Mon Dec 05, 2005 2:03 am Post subject: Great Stuff! |
|
|
He that's a great add-on! it's so cool! I have just one question... is it possible to protect the page by username / password? i have a dyndns account and so i can get the information's over the web. but for safety reasons not everyone should get it... Maybe it's a simple comment in the Config file?
Thanks for your help! And you have done greats work with the whole phillink-stuff!
Greatings from snowy switzerland
Carl |
|
| Back to top |
|
 |
Bert Rozenberg
Joined: 29 Nov 2005 Posts: 2 Location: Netherlands
|
Posted: Mon Dec 05, 2005 12:38 pm Post subject: Re: Great Stuff! |
|
|
| cehrhardt wrote: | | He that's a great add-on! it's so cool! |
Don't forget to send your donation. That way we're stimulating the author to keep working on it.
| cehrhardt wrote: | | ... is it possible to protect the page by username / password? |
Yes, download this file and follow the instructions.
Bert Rozenberg |
|
| Back to top |
|
 |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Mon Dec 05, 2005 1:18 pm Post subject: Re: Great Stuff! |
|
|
Thanks, guys!
Bert, you're right: to make one's Phlink Web Access site visible to the outside world I recommend using Apache (i.e. Web Sharing) as a go-between.
That way you have the strongest defense against denial-of-service attacks, and the greatest flexibility among access rules and authentication methods.
As you mentioned, the separate voicemail.conf file should help a person get started with such a setup. |
|
| Back to top |
|
 |
Bert Rozenberg
Joined: 29 Nov 2005 Posts: 2 Location: Netherlands
|
Posted: Tue Dec 06, 2005 2:48 pm Post subject: Re: Phlink Web Access 2.1 |
|
|
| jonct wrote: | | I'm pleased to announce Phlink Web Access 2.1, an update to the versatile web interface for Phlink. |
Question:
Is it possible to configure the date/time mask somewhere.
We're only using millitairy time here, so the AM/PM stuff is a pain.
Bert Rozenberg |
|
| Back to top |
|
 |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Tue Dec 06, 2005 10:58 pm Post subject: Re: Phlink Web Access 2.1 |
|
|
| Bert Rozenberg wrote: | Is it possible to configure the date/time mask somewhere.
We're only using millitairy time here, so the AM/PM stuff is a pain. |
Sure! If you don't mind editing the theme templates for now. Each template is likely to specify more than one date/time format, as needed throughout the page.
- Crack open the application package: select it and Show Package Contents.
- Inside the "themes" directory, look inside each theme's directory.
- Search every ".tmpl" file you find for the term "strftime".
You'll see a number of cases that look roughly like this:
| Code: | | $call.time.strftime('%A, %D at %I:%M %p') |
Where you see "%I:%M %p" substitute "%H:%M" — for example: | Code: | | $call.time.strftime('%A, %D at %H:%M') | For a list of what all the possible '%' placeholder values mean, enter "man strftime" at a Terminal prompt. Or check the Python documentation.
Ultimately, date/time formats will always need to be under the control of the theme templates, since some themes (e.g. rss) have very specific requirements. But you're right: date/time formats, like telephone number formats, deserve some sort of clever out-of-the-box solution as a starting point. Hmm...
Edit: By the way, you can edit these themes while the application is running. Save the template file and reload the page in your browser to see your changes. This won't work for the top-level "defaults.cfg" or "server.cfg" files, but it will work for theme files, including each theme's own "theme.cfg" overrides. |
|
| Back to top |
|
 |
Sean Conner
Joined: 12 Jun 2004 Posts: 28
|
Posted: Thu Dec 08, 2005 9:54 pm Post subject: PWA 2.1 and podcast |
|
|
| I have successfully installed PWA, but I can't seem to download all recorded messages via podcast from iTunes. I get the list of calls in iTunes, but some files simply won't download. Sometimes it will crash iTunes. I am at a complete loss. I have no problem getting to the audio from the rss webpage with Safari. Am I missing a setting? Any suggestions? |
|
| Back to top |
|
 |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Fri Dec 09, 2005 2:12 am Post subject: Re: PWA 2.1 and podcast |
|
|
| Sean Conner wrote: | | I can't seem to download all recorded messages via podcast from iTunes. I get the list of calls in iTunes, but some files simply won't download. Sometimes it will crash iTunes. | Hmm. That sure doesn't sound good.
Well, I know that iTunes 5 will quietly ignore calls with recordings in 3GPP and other formats — it needs MP3 or AAC. iTunes 6 will accept 3GPP locally, but will then present a warning if you try to synch them to an iPod. So to podcast I'd recommend storing recordings in MP3 or AAC, and using a smart call list to narrow the podcast to calls recorded since that setting was in place.
But I've not seen iTunes crash. Are we talking about a very large number of recordings at once? And are some of them loading OK, or none at all? |
|
| Back to top |
|
 |
Sean Conner
Joined: 12 Jun 2004 Posts: 28
|
Posted: Fri Dec 09, 2005 4:06 pm Post subject: |
|
|
| Thanks for the response. The call list of those that leave messages is not long, only a dozen or so calls. There are roughly 200 calls in the list (via phlink) however. Via iTunes, I only see the calls the leave messages (~15). The odd thing... the only coorelation between calls I can download via iTunes and those I canot is that those that I can are formated "Unknown - withheld" or "unknown - (xxx) XXX-XXXX" in the description and those that I cannnot are "Bill Smith - (xxx) XXX-XXXX." I don't know if the name format has anything to do with it. It may simply be a coincidence. But all calls from "unknown" can be downloaded. All calls where the description includes a full name before the name won't download. I wonder if the spaces between the name have anything to do with it? The Podcast name is simply the date formatted like this "2005-12-01 12:48:49" with no other differences. The duration of the call doesn't appear to be the issue. Is it possible that there is a meta formatting problem? Or possible that name of the file that is recorded? |
|
| Back to top |
|
 |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Sun Dec 11, 2005 3:35 pm Post subject: |
|
|
| Sean Conner wrote: | | all calls from "unknown" can be downloaded. All calls where the description includes a full name before the name won't download. |
Wow! That's interesting. And I assume the full name doesn't contain anything special like angle brackets, but it does include spaces.
| he further wrote: | | Is it possible that there is a meta formatting problem? Or possible that name of the file that is recorded? |
You can certainly run it through a validator and see what comes up.
Now that you mention it I can think of a case I should have anticipated better, which is when the filename has been enhanced by PMC to include more call details. I should double-check to make sure the resulting download URL is properly encoded.
See if that's it. If it is, I can describe a temporary fix in advance of the next version. (Beyond renaming each file in the Finder, which should also work.)
If it's any more complicated than that and you wouldn't mind doing so, send me a private message (PM) with the generated RSS. Good luck! |
|
| Back to top |
|
 |
Sean Conner
Joined: 12 Jun 2004 Posts: 28
|
Posted: Mon Dec 12, 2005 3:17 pm Post subject: |
|
|
Thanks for the help. It appears that if I rename the file name in the finder the download works well. This appears to be an issue with a "space" in between the name. Thus, if the caller is "unknown" no space is present. A call from "BillSmith" works while "Bill Smith" does not. I am using PMC, so does this problem derive from the ring script that is run? Is it possible to fix in a config file?
Thanks. |
|
| Back to top |
|
 |
jonct
Joined: 19 Jul 2004 Posts: 298
|
Posted: Tue Dec 13, 2005 2:02 am Post subject: |
|
|
| Sean Conner wrote: | | I am using PMC, so does this problem derive from the ring script that is run? |
That's the trigger, yes, but the bug is mine. Sorry about that.
| Quote: | | Is it possible to fix in a config file? |
For the moment, let's patch your template file: themes/rss/index.tmpl.
Insert a new line 9, between the existing datetime and title lines (shown here for context):
| Code: | #from datetime import *
#from urllib import quote
#set $title = $params.get('title','Voicemail') |
Then change line 53: replace "$rec.link" with "$quote($rec.link)".
| Code: | | <enclosure url="$util.baseUrl()/$quote($rec.link)" length=... /> |
For the next version I'll fix this where it belongs in the core code, for all themes at once. But this will give you a workaround right now — without even stopping the server. |
|
| Back to top |
|
 |
Sean Conner
Joined: 12 Jun 2004 Posts: 28
|
Posted: Tue Dec 13, 2005 7:36 am Post subject: |
|
|
| appears to work like a charm. Thanks for the help and your hard work on the app. |
|
| Back to top |
|
 |
|