Koozali.org: home of the SME Server

WakeUp Call Installation Procedure

Offline Teviot

  • *
  • 610
  • +0/-0
WakeUp Call Installation Procedure
« 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
« Last Edit: September 06, 2010, 06:06:40 AM by Teviot »
Regards
M0GLJ
......................................................
I am new to SAIL SME Server v8b6 and have been using SME for many years.
I have already done some research and only ask questions if I still can't work it out.