Wake-up call utility.

Introduction

This is a short howto for a php based wake-up call utility which was contributed to voip-info.

The files can be found here:

http://www.voip-info.org/tiki-index.php?page=Asterisk+tips+Wake-Up+Call+PHP

  1. The files (wakeup.php and wakeconfirm.agi) should be saved into in /var/lib/asterisk/agi-bin
  2. Make sure that wakeup.php is executable (chmod +x wakeup.php)
  3. Run dos2unix on wakeup.php (dos2unix wakeup.php)
  4. If you are running asterisk native sounds (the American voiceovers), make sure that you have the additional asterisk sounds installed (ATrpms have them - yum install asterisk-extra-sounds --enablerepo=atrpms)
  5. Create a custom-app with a span of internal in server-manager and name it whatever you want. Paste these lines in there (you can change the actual extension number to anything you like as long as it doesn't conflict with any existing extension):

Code:
exten => 77,1,agi,wakeup.php
exten => 77,n,Hangup

Finally, stop and start asterisk (use the stop/start button in globals panel).

And that should get the script going. The README file contains most of the information you need to get you on the road

Topic revision: r1 - 19 Jun 2008 - 08:35:15 - SelintraLimited
 
    

This site is powered by the TWiki collaboration platformSARK SARKPBX and POLYGATE are registered trademarks of Aelintra Telecom Limited.
Ideas, requests, problems regarding SARK UCS/MVP? Send feedback