[SR-Users] Problems with http_query(POST)

Joao Alves Jalves at amdocs.com
Thu Jun 11 18:13:18 CEST 2015


Hi,

I'm finding a problem submitting a HTTP POST using the http_query().  Currently running on kamailio version: 4.1.8 on Debian wheezy.

Normally this command has been worked fine, but since the body of the message increased (the POST data size is around 2000 bytes ) I start to get the following problem:

8(49381) ERROR: <core> [pvapi.c:1338]: pv_printf(): no more space for spec value
8(49381) ERROR: <core> [pvapi.c:1347]: pv_printf(): buffer overflow -- increase the buffer size...
8(49381) ERROR: <core> [sr_module.c:1696]: get_str_fparam(): Could not convert the PV-formated string to str
8(49381) ERROR: utils [functions.c:112]: http_query(): cannot get post value

I've searched on how to increase buffer and found some global settings that could be directly, however the problem persist despite having set very high values for those:

pv_buffer_size=32768
tcp_rd_buf_size=32768
maxbuffer=262144

Can someone assist and suggest a solution.

Thanks,
Joao Alves


This message and the information contained herein is proprietary and confidential and subject to the Amdocs policy statement,
you may review at http://www.amdocs.com/email_disclaimer.asp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20150611/9efb4a07/attachment.html>


More information about the sr-users mailing list