## Result of "REJECT" is a non-authorized submitter, and
## should be rejected.
## Result of "" means it's not a virtualized client and
## should be subject to our default modem settings
GetClient ()
{
# Pretend to lookup the user
CUSTOMER=`echo "SELECT customer FROM $MYSQL_DB.users WHERE
username='$1' AND email='$2';" | mysql -u $MYSQL_USER -p$MYSQL_PASSWD -h
$MYSQL_HOST --skip-col
umn-names`

# These guys can do whatever they want - they pay big bucks for the
# privilege, but we make the calling_party appear to be them
SetControlParam UseJOBTSI true
SetControlParam UseJobTagLine true
SetControlParam Notify ${NOTIFY}
SetControlParam LocalIdentifier ${IDENTIFIER}
---