In modules/rtpengine/rtpengine.c:
> } > > if (body_out) > *body_out = body; > > + if (op == OP_DELETE) { > + /* Delete the key<->value from the hashtable */ > + if (!rtpengine_hash_table_remove(&callid)) {
I don't think immediately deleting the hash table entry on "delete" is a good idea as it may only be a single branch that has been deleted and a "delete" does not preclude the possibility of more commands (offer, answer, or something else) coming for the same call-ID. Perhaps resetting the expiry value for the entry to something small might be a better idea.
—
Reply to this email directly or view it on GitHub.