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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to