oslec helper 1.0 Copyright (c) 2007 Rowetel David Rowe ---------------------------------------------------------------------- REQUIREMENTS ---------------------------------------------------------------------- - Asterisk - Asterisk headers (If you choose to compile from source) ---------------------------------------------------------------------- BINARY INSTALLATION ---------------------------------------------------------------------- Run the following commands while inside the source directory for this program. make installbin All the above command does is copies the module library files to the default Asterisk module dir: /usr/lib/asterisk/modules ---------------------------------------------------------------------- INSTALLATION FROM SOURCE ---------------------------------------------------------------------- Run the following commands while inside the source directory for this program. make make install If that worked, the module should now be loaded in to Asterisk next time it is restarted. If you want to load the Jukebox application in to a running instance of Asterisk without restart, then issue this command: make start If you make a change any of the code, you can recompile, intall, and reload all the modules in to Asterisk with one command: make restart To unload the modules: make stop ---------------------------------------------------------------------- USAGE ---------------------------------------------------------------------- There is two ways to use this app. You can simple call it from your dialplan with required arguments: exten => 111,n,oslec(R(),N()) Another way would be: In your extensions.conf set: Set(DYNAMIC_FEATURES=helper1#helper2#helper3) ; in features.conf set: helper1 => #9,callee,oslec,R(5) helper2 => #0,callee,oslec,N(0) helper3 => #1,callee,oslec,N(1)