[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    [SR-Users] failed to find string from message body
From:       Juha Heinanen <jh () tutpro ! com>
Date:       2022-01-29 15:41:15
Message-ID: 25077.24603.947757.995366 () tutpro ! com
[Download RAW message or body]

I tried to check if message body contains a string using function call

str_find("$rb", "string"))

but it failed like this:

Jan 29 17:37:03 siika /usr/bin/sip-proxy[2577003]: ERROR: <core> [core/pvapi.c:1491]: \
                pv_printf_mode(): no more space for spec value - printed:0 token:6880 \
                buffer:4096
Jan 29 17:37:03 siika /usr/bin/sip-proxy[2577003]: ERROR: <core> [core/pvapi.c:1503]: \
                pv_printf_mode(): buffer overflow -- increase the buffer size...
Jan 29 17:37:03 siika /usr/bin/sip-proxy[2577003]: ERROR: <core> \
[core/sr_module.c:1698]: get_str_fparam(): Could not convert the PV-formated string \
                to str
Jan 29 17:37:03 siika /usr/bin/sip-proxy[2577003]: ERROR: textops [textops.c:4457]: \
str_find_f(): cannot get first parameter

Any suggestions on how to get it done properly?

-- Juha

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic