[OpenSIPS-Users] ACC module EPOCH for timestart

Brett Nemeroff brett at nemeroff.com
Mon Apr 4 14:15:11 CEST 2011


On Mon, Apr 4, 2011 at 1:34 AM, Robert Thomas <thomcr at gmail.com> wrote:

> I have been looking to se if I can store on my DB along with the time field
> that is actually a datetime in the DB, and EPOCH value.
>
>
Using db_extra, you can add just about any field you want to the acc record:
http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id293711

For example, you can write the PV $Ts.

That being said, you can normally use a db time field with some simple
conversion for whatever you need. Remember it's a date object and not really
a string.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110404/01273ad8/attachment.htm>


More information about the Users mailing list