[SR-Users] pv_printf buffer for spec value

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 5 09:04:30 CET 2015


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 12:38 AM, Daniel-Constantin Mierla wrote:
>> 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
>>
>>
>> _______________________________________________
>> 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/20151105/c516768b/attachment.html>


More information about the sr-users mailing list