I really hate digging up this thread, but I ran into a new problem once I registered more than one ATA to an account, it was deleting a valid entry.
I still need it to delete all but the newest entry based on username, (ID being the newest), but also with the same cseq entry.
So if I have 5 entries with the same username, and 3 of those have the same cseq, and 2 of them have a different cseq, I need it to keep the newest unique cseq for the username.
This will allow it to keep the latest entry for each ATA registered.
Im not sure if that made sense.
Thanks for any help