#!/usr/local/bin/wermit +
#this script will page all three of the it staff with a trouble code

# setup the modem info
set modem hangup-method modem-command
set modem type hayes
set line /dev/tty9
set speed 9600

# dial 1st pager with the trouble code then hangup and dial the rest
pdial 9,12012341234,,,,,,,\%1#
hangup

# wait a few seconds before paging 2nd person
sleep 5
pdial 9,12012341234,,,,,,,\%1#
hangup                                        

# wait a few seconds before paging 3rd person
sleep 5
pdial 9,12012341234,,,,,,,\%1#
hangup

exit 0
