This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # ringback.sh CHANNEL CALLERD WAITTIME MAXRETRIES RETRYTIME CONTEXT EXTENSION PRIORITY DELAY SETVAR | |
| # bash ringback.sh "PJSIP/0232618@cuprox" "\"Ring Back\" <17070>" "30" "1" "30" "echo-test" "s" "1" "10" "FILE=Fax.tiff" | |
| CHANNEL=${1} | |
| CALLERID=${2} | |
| WAITTIME=${3} | |
| MAXRETRIES=${4} | |
| RETRYTIME=${5} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| requiredversion 2.0 | |
| package require httpios 1.0 | |
| # ----------------------- | |
| # Initialization | |
| # ----------------------- | |
| proc init { } { | |
| global param | |
| set param(interruptPrompt) true |
OlderNewer