[sr-dev] [kamailio/kamailio] Sipt Redirection Number Retrieves old values (#2030)
duarterocha91
notifications at github.com
Thu Aug 8 13:58:20 CEST 2019
I see that in the file sipt/sipt.c, function sipt_get_redirection_number we have this array where redirection number will be written :
static char sb_s_buf[26];
Is there a reason for this to be static and therefore keep its value between function calls ?
I've removed the static and the problem seems to disappear, but i'm worried that there might be consequences for the change, since i'm not too familiar with the code.
--
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/2030#issuecomment-519487981
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20190808/353ec732/attachment.html>
More information about the sr-dev
mailing list