[SR-Users] Timezone in acc table

Igor Potjevlesch igor.potjevlesch at gmail.com
Sat Nov 16 17:03:03 CET 2013


Hello,

Thank you for your suggestions.  I will wait for the 4.1 I think or patch
or billing.

Regards,

Igor.
Le 14 nov. 2013 15:43, "Carlos Ruiz Díaz" <carlos.ruizdiaz at gmail.com> a
écrit :

> Hi,
>
> as a workaround you could create a trigger for the before-insert event to
> modify the new row with the correct values by adding or subtracting hours
> depending on your timezone.
>
> Regards,
> Carlos
>
>
> On Thu, Nov 14, 2013 at 11:37 AM, Daniel-Constantin Mierla <
> miconda at gmail.com> wrote:
>
>>  Hello,
>>
>> upcoming release 4.1 has more options to control the time value in acc
>> table. See time_mode parameter and the next after it:
>>
>> http://kamailio.org/docs/modules/devel/modules/acc.html#acc.p.time_mode
>>
>> Otherwise, you can set the timezone to gmt.
>>
>> Cheers,
>> Daniel
>>
>>
>> On 11/14/13 2:55 PM, Igor Potjevlesch wrote:
>>
>>  Hi,
>>
>>
>>
>> I’m wondering how can I change the timezone when INVITE, ACK, BYE and
>> CANCEL are inserted into acc table? Indeed, today, each entrie has the same
>> datetime than the server. I would prefer to have UTC time in “time” column
>> instead.
>>
>> I know that it was the behaviour with old SER releases.
>>
>>
>>
>> Thank for your help.
>>
>>
>>
>> Regards,
>>
>>
>>
>> Igor.
>>
>>
>> ------------------------------
>>     <http://www.avast.com/>
>>
>> Ce courrier électronique ne contient aucun virus ou logiciel malveillant
>> parce que la protection Antivirus avast! <http://www.avast.com/> est
>> active.
>>
>>
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing listsr-users at lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>> --
>> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
>> Kamailio Advanced Trainings - Berlin, Nov 25-28
>>   - more details about Kamailio trainings at http://www.asipto.com -
>>
>>
>> _______________________________________________
>> 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
>>
>>
>
>
> --
> Carlos
> http://caruizdiaz.com
> +595981146623
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20131116/d9ebe7d6/attachment.html>


More information about the sr-users mailing list