Telephone Reminders 4.0.3 Adds 3 New Functions

broswell

New Member
Joined
Mar 31, 2009
Messages
5
Reaction score
0
Notes on Telephone Reminders w/ Asterisk 1.6

Asterisk 1.6 needs the | character replaced with the , in the dialplan. When we execute with the | the time is not set properly.

I had to create the /var/spool/asterisk/recurring and /var/spool/asterisk/reminders directories by hand. (Not sure what the reminders directory is used for, but it is in the source.

Did anyone ever post the code with the more sophisticated UI do edit and delete reminders?

I am using the system for "Papa Poke" a reminder system for friend's parent who needs reminders for medications and showing up for dinner appoints in an assisted living facility. Thanks for all who contributed

bob
 
Joined
Oct 5, 2010
Messages
188
Reaction score
38
Telephone Reminders add-on compatibility with Asterisk 1.8, PIAF 1755 (non incredible build)??? I know it will work with Incredible PBX, however what about just adding this to a basic install of PIAF? Has anyone tried and configured successfully?
 

franklin

New Member
Joined
Feb 26, 2011
Messages
3
Reaction score
0
Hi, I am using Reminders 4 on Asterisk 1.4 with Elastix. I just noticed that Reminders set through the Web have strange behavior around midnight. They go out immediately, even if they are scheduled for 10 and 20 minutes in the future. The beginning of hte message also gets chopped off.
[FONT=&quot]
If I schedule them for 8AM they take fine.

I just now set a one by phone to go out at 00:31, and I get this on the web:
[/FONT]0031.20110320.<phonenumber>.call March 20, 2011 - 01:31 am call to <phone number>

and this in /var/spool/asterisk/ougoing
-rw------- 1 asterisk asterisk 314 Mar 20 2011 0031.20110320.<phone number>.call

Thanks for the cool program, Ward.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Probably a bug. Just after midnight is when the app does it's housecleaning. If there is a more suitable time, just change the times in /etc/crontab that run_recurring and run_reminders are run.
 

franklin

New Member
Joined
Feb 26, 2011
Messages
3
Reaction score
0
automated reminder scripts

Thanks, Ward. I'm investigating auto reminders. Looking at http://www.maniacmartin.com/files/asterical.

I got vobject-0.8.1c into /usr/lib/python2.4/site-packages
at [root@pbx vobject-0.8.1c]# vi README.txt
showed to run python setup.py install
which worked, but also installed python_dateutil-1.5-py2.4.egg
which has its own dir dateutil.

I had previously installed python-dateutil-1.2-1.el5.rf.noarch.rpm
which created
/usr/lib/python2.4/site-packages/dateutil

So there is a dateutil dir in
/site-packages/ and /site-packages/python_dateutil-1.5-py2.4.egg/

both have the same files but slightly different sizes.

Question for you: Do you have this working? And can you tell me If I have the packages installed in the right place? Thanks.
 

franklin

New Member
Joined
Feb 26, 2011
Messages
3
Reaction score
0
remindem -- trying to dial operator

I see the routine for reminder<n> and remindem in /tmp/reminder-dialplan.txt. Trying to make it so 2 calls the operator. Editing remindem in reminder-dialplan.txt
does nothing. Where can I acces the file that runs the call?

Thanks.

Edit. Found it in /etc/asterisk/extension_custom.conf
and this works great:
[remindem]
exten => s,1,Answer
exten => s,2,Wait(2)
exten => s,3,Set(TIMEOUT(digit)=7)
exten => s,4,Set(TIMEOUT(response)=10)
exten => s,5,Playback(custom/reminder5)
exten => s,6,Wait(2)
exten => s,7,Playback(custom/${MSG})
exten => s,8,Set(TIMEOUT(digit)=4)
exten => s,9,Set(TIMEOUT(response)=5)
exten => s,10,Set(counter=1)
exten => s,11,Background(to-hear-msg-again)
exten => s,12,Background(press-1)
exten => s,13,Background(to-reach-operator)
exten => s,14,Background(press-2)
exten => s,15,WaitExten(,)
exten => 1,1,Playback(custom/${MSG})
exten => 1,n,Goto(s,11)
exten => 2,1,Playback(pls-hold-while-try)
exten => 2,n,Goto(from-did-direct,1000,1)
exten => onemo,1,NoOp(Callee Replayed Message. Dialed: ${APPTPHONE}.)
exten => onemo,2,Playback(custom/${MSG}) ; playing again by request
exten => onemo,3,Goto(h,1)
exten => t,1,NoOp(Callee's Answering Machine probably answered. Dialed: ${APPTPHONE}.)
exten => t,2,Background(restarting)
exten => t,3,Wait(1)
exten => t,4,Goto(onemo,1)
exten => h,1,Set(email=${DB(EMAIL/${APPTPHONE})}) ; see if number to call has an associated email address
exten => h,2,GotoIf($["foo${email}" = "foo"]?4)
exten => h,3,system(mime-construct --to ${email} --subject "Telephone Reminder" --file /var/lib/asterisk/sounds/custom/${APPTTIME}.${APPTDT}.${APPTPHONE}.gsm --type audio/gsm)
exten => h,4,NoOp(Callee hung up. Dialed: ${APPTPHONE}.)
exten => h,5,System(/bin/rm -f /var/lib/asterisk/sounds/custom/${APPTTIME}.${APPTDT}.${APPTPHONE}.gsm)
exten => h,6, backckground(goodbye)
exten => h,7,Hangup
 

Members online

Forum statistics

Threads
25,824
Messages
167,831
Members
19,249
Latest member
jetest
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top