>       }
>  
>       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
_______________________________________________
sr-dev mailing list
[email protected]
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to