Koozali.org: home of the SME Server
Obsolete Releases => SME VoIP (Asterisk, SAIL etc) => Topic started by: Teviot on September 05, 2010, 08:36:59 AM
-
This is a wakeup call script adapted from http://www.voip-info.org/wiki/view/Asterisk+tips+Wake-Up+Call+Perl
I added that Wake-Up Call using the following steps
1. downloaded the agi script and place jwakeup.agi in the /var/lib/asterisk/agi-bin directory and changed the premissions for the file to 755
2. edited the jwakeup.agi script to change the
my $TOUCH = "/usr/bin/touch";
to
my $TOUCH = "/bin/touch";
3. added the custom application to the pbx with my additions
exten => 800,1,Answer
exten => 800,2,AGI(jwakeup.agi)
exten => 800,3,Playback(thank-you-for-calling)
exten => 800,4,Playback(wakeup-call)
exten => 800,5,Hangup
You can change the extension that the WakeUp Call resides at by changing 800 to and extension number you like.
4. Pressed commit
5. Test WakeUp Call to make sure it is working.
I would also like to thank Franco for helping me to get this script to work