Re: [SR-Users] pv_printf buffer for spec value

2015-11-05 Thread Sven Neuhaus
Am 04.11.2015 um 19:36 schrieb Tristan Mahé: > Simple update to 1024b: > > https://github.com/kamailio/kamailio/pull/389 Thank you Tristan, 1024 is plenty. -Sven signature.asc Description: OpenPGP digital signature ___ SIP Express Router (SER) and

Re: [SR-Users] pv_printf buffer for spec value

2015-11-05 Thread Daniel-Constantin Mierla
Hello, On 04/11/15 19:36, Tristan Mahé wrote: > Hello Daniel, > > Simple update to 1024b: > > https://github.com/kamailio/kamailio/pull/389 ok. > > I'll try to provide a new config file entry as soon as I can ! That would be great as well! Cheers, Daniel > > Best, > > Tristan. > > On 11/04/2015 1

Re: [SR-Users] pv_printf buffer for spec value

2015-11-04 Thread Tristan Mahé
Hello Daniel, Simple update to 1024b: https://github.com/kamailio/kamailio/pull/389 I'll try to provide a new config file entry as soon as I can ! Best, Tristan. On 11/04/2015 12:38 AM, Daniel-Constantin Mierla wrote: > Hello, > > it is ok to increase the size, what would be a good value? Thi

Re: [SR-Users] pv_printf buffer for spec value

2015-11-04 Thread Daniel-Constantin Mierla
Hello, it is ok to increase the size, what would be a good value? This would be something easy. If someone wants to make a patch to set the size, that's even better. Cheers, Daniel On 04/11/15 00:08, Tristan Mahé wrote: > Hi Sven, > > log_prefix seems to be defined in dprint.c and maximum size

Re: [SR-Users] pv_printf buffer for spec value

2015-11-03 Thread Tristan Mahé
Hi Sven, log_prefix seems to be defined in dprint.c and maximum size is 128: #define LOG_PREFIX_SIZE 128 static char log_prefix_buf[LOG_PREFIX_SIZE]; So recompiling with a bigger size could certainly help. Daniel, could we set the default higher for next releases or provide a way to increase it

Re: [SR-Users] pv_printf buffer for spec value

2015-10-08 Thread Sven Neuhaus
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Am 08.10.15 um 14:58 schrieb Sven Neuhaus: > I found the culprit: it's a long Call-ID header. The header line is > 113 characters. Why does it trigger this error even with a > pv_buffer_size of 65536? Is there some other buffer I can increase > for l

Re: [SR-Users] pv_printf buffer for spec value

2015-10-08 Thread Sven Neuhaus
Hi, I found the culprit: it's a long Call-ID header. The header line is 113 characters. Why does it trigger this error even with a pv_buffer_size of 65536? Is there some other buffer I can increase for large Call-Id headers? -Sven signature.asc Description: OpenPGP digital signature __

Re: [SR-Users] pv_printf buffer for spec value

2015-10-06 Thread Daniel-Constantin Mierla
Hello, On 06/10/15 11:20, Sven Neuhaus wrote: > Hi, > > Am 05.10.2015 um 18:46 schrieb Daniel-Constantin Mierla: >> that might not be related to the core pv buffers, some variables are >> using their own buffers. You need to identify the variable that throws >> that error. >> >> As a side note, th

Re: [SR-Users] pv_printf buffer for spec value

2015-10-06 Thread Sven Neuhaus
Hi, Am 05.10.2015 um 18:46 schrieb Daniel-Constantin Mierla: > that might not be related to the core pv buffers, some variables are > using their own buffers. You need to identify the variable that throws > that error. > > As a side note, the last version should have the default core pv buffer >

Re: [SR-Users] pv_printf buffer for spec value

2015-10-05 Thread Daniel-Constantin Mierla
Hello, that might not be related to the core pv buffers, some variables are using their own buffers. You need to identify the variable that throws that error. As a side note, the last version should have the default core pv buffer size set to 8kB, maybe the wiki docs were not updated. Cheers, Da

[SR-Users] pv_printf buffer for spec value

2015-10-05 Thread Sven Neuhaus
Hello, I'm getting these errors since the last couple of changes I made to the Kamailio 4.3.x configuration: ERROR: [pvapi.c:1361]: pv_printf(): no more space for spec value ERROR: [pvapi.c:1370]: pv_printf(): buffer overflow -- increase the buffer size... I'm not even using pv_printf() so thi