Reply
 
Thread Tools Display Modes
  #1  
Old 01-09-08, 09:25 AM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,893
Telephone Reminders 4.0.3 Adds 3 New Functions
In keeping with the PBX in a Flash promise, here is the sixth in the Nerd Vittles script collection. In under 10 seconds, it installs the new Telephone Reminders application for Asterisk 1.4 on PBX in a Flash systems only. Run the install only once! After installation, you can access Telephone Reminders by dialing 1-2-3 from any phone on your system. The default password is 12345678. Recurring reminders are supported!

Two different bugs have been reported in this thread, and we found a third that caused recurring reminders to not be delivered. All downloads after 4 a.m., Feb. 25, 2008 have all reported issues fixed so there is no need for patches. If you read this entire thread, you will have a very good grasp of why deprecating commands and changing basic system functionality in Asterisk is such a very bad idea!!


While you'll never know it from the install, reworking this application for Asterisk 1.4 was a royal pain!!! It took almost 40 hours and is the major reason for much of this week's Nerd Vittles diatribe.

If you'd like to test this (do it only once!!), log into your PBX in a Flash server as root and issue the following commands:
Code:

cd /root
wget http://bestof.nerdvittles.com/applications/reminders4/reminders.pbx
chmod +x reminders.pbx
./reminders.pbx
amportal restart
ln -s /opt/swift/bin/swift /usr/bin/swift
For preliminary documentation and customization tips, see the Telephone Reminder 3.0 documentation on the Best of Nerd Vittles site. Your feedback is appreciated!!

If, for some reason, you get a bad install, you can install again. Read this comment for what you need to clean up either before or after running the installation a second time.

Last edited by wardmundy : 03-18-08 at 07:30 AM.
Reply With Quote
  #2  
Old 01-09-08, 10:09 AM
cosmicwombat cosmicwombat is offline
Guru
 
Join Date: Nov 2007
Posts: 478
Very nice...
I just needed to add the misc destination and change the password in the dialplan.

I have a call to my phone scheduled. I'll let you know if it worked...

Thanks Ward. Double thanks for dealing with this combined with 1.4.
I have been reading through some of the changes from 1.2 to 1.4....whew doggies...

Robert
Reply With Quote
  #3  
Old 01-09-08, 02:08 PM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,893
Originally Posted by cosmicwombat View Post
I just needed to add the misc destination and change the password in the dialplan.
At least in this version of FreePBX, the Misc Destination entry isn't required.
Reply With Quote
  #4  
Old 01-09-08, 10:20 AM
jrglass jrglass is offline
Senior Member
 
Join Date: Oct 2007
Posts: 125
Originally Posted by wardmundy View Post
In keeping with the PBX in a Flash promise, here is the sixth in the Nerd Vittles script collection. In under 10 seconds, it installs the new Telephone Reminders application for Asterisk 1.4 on PBX in a Flash systems only. Run the install only once!! After installation, you can access Telephone Reminders by dialing 1-2-3 from any phone on your system. The default password is 12345678. Recurring reminders are supported!

While you'll never know it from the install, reworking this application for Asterisk 1.4 was a royal pain!!! It took almost 40 hours and is the major reason for much of this week's Nerd Vittles diatribe.

If you'd like to test this (do it only once!!), log into your PBX in a Flash server as root and issue the following commands:
Code:
cd /root
wget http://bestof.nerdvittles.com/applications/reminders4/reminders.pbx
chmod +x reminders.pbx
./reminders.pbx
amportal restart
For preliminary documentation and customization tips, see the Telephone Reminder 3.0 documentation on the Best of Nerd Vittles site. Your feedback is appreciated!!

Just tried it and it worked great.


Jeff
Reply With Quote
  #5  
Old 01-09-08, 10:58 AM
cosmicwombat cosmicwombat is offline
Guru
 
Join Date: Nov 2007
Posts: 478
Yep, it works just fine...
Thanks Ward.
Reply With Quote
  #6  
Old 01-09-08, 07:23 PM
wifinetguy wifinetguy is offline
Member
 
Join Date: Jan 2008
Location: Virginia, USA
Posts: 88
Each time I try this out, it gets all the way to asking for the time to make the call for the reminder, but it immediately disconnects after entering either AM or PM. I've tried it 5 times while varying my inputs thinking it was something I was doing, but it always disconnects the call at the exact same place.

Any ideas?
Reply With Quote
  #7  
Old 01-09-08, 07:28 PM
wifinetguy wifinetguy is offline
Member
 
Join Date: Jan 2008
Location: Virginia, USA
Posts: 88
OK, Never Mind.
I was trying to test this by making a reminder for only a few minutes in the future. If I do it for tomorrow or later, all works fine. However, 10 minutes in the future doesn't cut it.
Reply With Quote
  #8  
Old 01-09-08, 09:59 PM
morejavi morejavi is offline
Junior Member
 
Join Date: Dec 2007
Posts: 4
It does work for a few minutes into the future. Just enter the time in miliary time if it is PM and it works everytime (at least it works for PM, I have not tried it setting an wake up call before 12:00 PM). Time was 10:00 PM if I set a reminder for 10:05 PM but enter it as 2205 it works fine. If I enter the time as 1005 and press 2 for PM it fails every time.
Reply With Quote
  #9  
Old 01-10-08, 04:30 AM
wardmundy wardmundy is offline
Nerd Uno
 
Join Date: Oct 2007
Posts: 3,893
The scheduled time has to be at least 5 minutes in the future. Check the time on your computer by typing date at the command prompt. Sounds like it may not be set correctly.
Reply With Quote
  #10  
Old 01-10-08, 06:10 PM
cosmicwombat cosmicwombat is offline
Guru
 
Join Date: Nov 2007
Posts: 478
Quite impressive actually
I have sent a few messages to my self and they worked great. I noticed along the way that using military time worked every time while entering a time then choosing 1 or 2 for am/pm caused an immediate disconnect roughly 50% of the time. I'll test that out more...

Also, I remember setting my email address, but I am not getting any email output for message actions. Am I not supposed to?

I'll reread things.

EDIT: Ok, so I see:
-- Executing [h@remindem:1] Set("SIP/201-08588678", "email=") in new stack
-- Executing [h@remindem:2] GotoIf("SIP/201-08588678", "1?4") in new stack

And I am guessing email= with no address means no email?

OK, i just needed to keep reading...
in (/var/lib/asterisk/agi-bin/reminder.php)
  • $emaildebuglog = 0 ... If set to 1, the debug log is emailed to the email address set below when each reminder is scheduled.
and (in CLI) to get email delivery of the message...
database put EMAIL 6781234567 joe@schmo.com So, I am getting all sorts of email now

Last edited by cosmicwombat : 01-10-08 at 06:59 PM. Reason: more info.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 07:03 AM.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2007-2008, Ward Mundy & Associates