           _            _     _                                   
          | |          (_)   | |                                  
  __ _ ___| |_ ___ _ __ _ ___| | __  __ _ _ __  _ __   ___  _   _ 
 / _` / __| __/ _ \ '__| / __| |/ / / _` | '_ \| '_ \ / _ \| | | |
| (_| \__ \ ||  __/ |  | \__ \   < | (_| | | | | | | | (_) | |_| |
 \__,_|___/\__\___|_|  |_|___/_|\_(_)__,_|_| |_|_| |_|\___/ \__, |  ( v1.5 )
   an asteriskunderground release...                         __/ |
                                                            |___/ 

Original code by natas, with contributions by stonersavant, earthian, and silentrage. asteriskunderground logo by Strom Carlson. Concept by Masters Of Deception, circa 1994.

<DISCLAIMER>

THIS IS A PROOF OF CONCEPT ONLY! Neither asteriskunderground nor its members recommend you use this application on a production system. You should ONLY call phone numbers you own! This script was written as an exercise to learn web/asterisk integration.

Anything you do is of your own accord!!!!!

</DISCLAIMER>

Alrite, here's the best working version so far of *.annoy aka Asterisk .annoy. You might call it .annoy 1.5, I don't think it's quite at version 2 yet. -stoner

What is it?
Inspired by a program the MoD wrote, asterisk annoy (*.annoy for short) is a proof of concept code to relentlessly dial a phone number, and when answered, play a chosen sound effect. 



Installation:

Modify manager.conf in /etc/asterisk/. Mine looks like this:

--------------------
<...snip...>
[general]
enabled = yes
port = 5038
bindaddr = 127.0.0.1
displayconnects = yes

[astuser]
secret = password
deny=0.0.0.0/0.0.0.0
permit=192.168.1.1/255.255.255.0
permit=127.0.0.1/255.255.255.0

read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
<...snip...>
--------------------

Next, copy all of the wav and gsm files into your asterisk sounds directory. USually, this is either /var/lib/asterisk/sounds or /usr/share/asterisk/sounds/

Finally, copy all of the php and jpg files into a folder on your webserver, and ensure their permissions are set correctly to be read by apache. 



Caveats: 
- Make sure you modify the variables in annoy2.php to reflect your manager and voip provider info.
- Make sure you modify the path to apache and php in index.php

ToDo:
- clean up aesthetics
- randomize callerid if none is passed
- randomize callerid if "random" is selected
- text-to-speech through cepstral
- .f33r?

questions or comments? email: i n f o at asterisk underground dot com (no spaces)
