[SR-Users] permanent usrloc entries in Kamailio

Klaus Darilion klaus.mailinglists at pernau.at
Wed Sep 7 10:58:05 CEST 2011



Am 07.09.2011 10:16, schrieb Daniel-Constantin Mierla:
> Hello,
> 
> On 9/6/11 3:54 PM, Klaus Darilion wrote:
>> Hi!
>>
>> Recently I had a problem with permanent usrloc entries when upgrading a
>> server from SER 0.9 to Kamailio 3.1.
>>
>> Obviously the problem was that the permanent entries had "flag=128" and
>> now expires=0 is used, see old thread:
>>
>> http://old.nabble.com/usrloc-permanent-records-and-strptime-td17668417.html
>>
>>
>> The strange thing is, that even setting the expiry to 2099-0...... did
>> not worked and Kamailio deleted the "expired" entries. Only setting it
>> to "1970-01-01 01:00:00" worked.
>>
>> Any ideas what could been wrong?
> what do you see if you dump UL entries via MI? By year 2038 it time_t
> will overflow and go negative in many 32b OSes.

I can not test anymore, but I guess that would have been the case.

Thanks
Klaus



More information about the sr-users mailing list