[SR-Users] pv_printf buffer for spec value
Daniel-Constantin Mierla
miconda at gmail.com
Wed Nov 4 09:38:17 CET 2015
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 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 with core parameters ?
>
> Best,
>
> Tristan.
>
> On 10/08/2015 09:13 AM, Sven Neuhaus wrote:
>> 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 large Call-Id headers?
>>
>> Looks like including a long call-id $ci in the log_prefix will trigger
>> this error message.
>>
>> Is there a way to make long call-ids work as log_prefix?
>>
>> -Sven
> > > _______________________________________________ > SIP Express
> Router (SER) and Kamailio (OpenSER) - sr-users mailing list >
> sr-users at lists.sip-router.org >
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Book: SIP Routing With Kamailio - http://www.asipto.com
Kamailio Advanced Training, Nov 30-Dec 2, Berlin - http://asipto.com/kat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20151104/3824d7be/attachment.html>
More information about the sr-users
mailing list