[sr-dev] [kamailio] rtpengine: hash table to keep the selected nodes (#390)

Daniel-Constantin Mierla notifications at github.com
Thu Nov 12 11:08:24 CET 2015


>  	}
>  
>  	if (body_out)
>  		*body_out = body;
>  
> +	if (op == OP_DELETE) {
> +		/* Delete the key<->value from the hashtable */
> +		if (!rtpengine_hash_table_remove(&callid)) {

Some notes:

  * when session is created, there is no to-tag (initial invite)
  * the via-branch can be different for re-invite or bye, so it cannot be used as part of the key all the time

---
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/pull/390/files#r44639702
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20151112/0d90cc65/attachment.html>


More information about the sr-dev mailing list