So as far as I’m aware, Cloverleaf’s default behavior is to attempt to send x number of times, throw it in the error database, and then move on. However, I’m wanting to shut down the interface on a non-ACK.
[code]
# Init counter
set send_cnt 0
# Tell em bout it and put reason in metadata
echo “\n$module: Three consecutive AR\
responses – $ackmsg”
echo “Message to Error Database”
echo “Reply is:”
echo $msg\n\n
echo “Message is:”
echo [msgget $my_mh]\n
# Put reason in metadata and send message to
# Error database
msgmetaset $my_mh USERDATA “Exceeded\
Application Reject (AR) retrys – $ackmsg”
return “{KILLREPLY $mh} {ERROR $my_mh}”
[/code]
While I am planning on putting an email proc call in there, can I call the hcienginestop (or other command), or should I be looking to shut these down in another way?