[sr-dev] [kamailio/kamailio] filter_body() fails when there isn't a space after "Content-Type:" (#2748)

duarterocha91 notifications at github.com
Mon May 31 16:18:52 CEST 2021


Hi Daniel,

Thanks for the update.

I'm using kamailio 5.4 and i've copied the textops files from the link you provided and replaced the textops files. Made make clean and make all on the textops folder and got these warnings : 

"[root at dev_sbc_a_vts01 textops]# make
CC (gcc) [M textops.so]         textops.o
textops.c: In function ‘find_hdr_line_start’:
textops.c:1614:2: warning: implicit declaration of function ‘parse_hname2_str’ [-Wimplicit-function-declaration]
  if(parse_hname2_str(&sname, &h1)==NULL) {
  ^
textops.c:1614:34: warning: comparison between pointer and integer [enabled by default]
  if(parse_hname2_str(&sname, &h1)==NULL) {
                                  ^
textops.c: In function ‘ki_remove_hf_idx’:
textops.c:1815:34: warning: comparison between pointer and integer [enabled by default]
  if(parse_hname2_str(hname, &hfm)==NULL) {
                                  ^
textops.c: In function ‘ki_str_ifind’:
textops.c:4457:2: warning: implicit declaration of function ‘str_casesearch’ [-Wimplicit-function-declaration]
  p = str_casesearch(txt, needle);
  ^
textops.c:4457:4: warning: assignment makes pointer from integer without a cast [enabled by default]
  p = str_casesearch(txt, needle);
    ^
CC (gcc) [M textops.so]         api.o
CC (gcc) [M textops.so]         txt_var.o
LD (gcc) [M textops.so]         textops.so
"

After that i've done the make all; make install . When restarting Kamailio i receive this error loading the module : 

" ERROR: <core> [core/sr_module.c:512]: load_module(): could not open module </usr/local/kamailio-5.4/lib64/kamailio/modules/textops.so>: /usr/local/kamailio-5.4/lib64/kamailio/modules/textops"

Is only replacing the module enough or do i need to install the complete version? 

Best Regards,


-- 
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/2748#issuecomment-851522028
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20210531/2d179fca/attachment-0001.htm>


More information about the sr-dev mailing list