For NewNet's Active Message Store (AMS) component, you may wish to know whether there is a way to delete all the messages that have been stuck to a specific number.
There is no way to perform this action. You can use the tp_qcli delete command to delete a specific message, but there is no way to mass delete messages stuck to a particular number. For instance, the following examples delete the message with ID 12345678:
tp_qcli --client --delete --id=12345678 --domain=usa
tp_qcli --client -d -i=12345678 -d=usa
The output of these commands would be
Message with id 12345678 deleted
For more information, please refer to section B.4.2.2 delete on Page 162 of the attached AMS Operator Manual.