start.sh (437B)
1 #!/bin/sh 2 3 # Build the handler first 4 dmd handle.d -of=handle 5 6 # Generate the message wave file 7 flite -o message.wav -t "I know what you did last summer" 8 9 # Standard boilerplate 10 export SIPROC_USERNAME="max" 11 export SIPROC_PASSWORD="max1234" 12 export SIPROC_ID_URI='Max Muster <sip:max@sipproxy.com>' 13 export SIPROC_REGISTRAR_URI='sip:sipproxy.com' 14 15 #Call someone 16 while sleep 60 17 do 18 echo "CALL sip:contact@sipproxy.com" 19 done | siproc ./handle