[sr-dev] [kamailio/kamailio] tm core.when free ack cancel_buf. (#2321)

Daniel-Constantin Mierla notifications at github.com
Thu May 14 20:53:36 CEST 2020


It seems that it is caused by an infinite loop of request to itself. That case normally is captured by using maxfwd module to handle Max-Forwards header and avoid looping. You should consider adding that in your config, you can see how it is done in the default kamailio.cfg.

In this case, somehow the length of the outgoing branch request buffer ended up negative (the invite_len), resulting in an inappropriate size of the buffer needed to build the correspinding CANCEL. I added safety checks can catch it with the commit:

  * https://github.com/kamailio/kamailio/commit/c45913497f222c67bcccdbc8724b25bb083c556f

Now is only in the master branch, in a couple of days I will backport if no issue is reported. 

Meanwhile you can test by cherry picking locally the commit in branch 5.2 and report if works ok or not.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2321#issuecomment-628824734
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20200514/1b1fc2c9/attachment.html>


More information about the sr-dev mailing list