[sr-dev] [kamailio/kamailio] pv_evalx result in destination pv seems wrong (#1551)

Daniel-Constantin Mierla notifications at github.com
Fri Jun 1 11:07:00 CEST 2018


The issue is that the dlg vars are using core pv buffers to copy their value before returning it. I assume they do the copy to avoid future race with their shared memory location, by cloning in pv buffers.

A quick solution is to increase pv_buffer_slots value:

  * https://www.kamailio.org/wiki/cookbooks/5.1.x/core#pv_buffer_slots.

Must be more than the number of dlg vars you use in the string.

I will think to see if this can be avoided somehow in the dialog module.

-- 
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/1551#issuecomment-393820278
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20180601/0c58bdb9/attachment.html>


More information about the sr-dev mailing list