<p>Hello.</p>

<p>The following insert query is executed for insertion of missed calls. The setuptime value is provided as date time format which should be an integer.</p>

<p>I am using PostgreSQL as a back end.</p>

<p>insert into missed_calls (method,from_tag,to_tag,callid,sip_code,sip_reason,time,src_ip,src_user,src_domain,dst_ouser,dst_user,dst_domain,user_agent,dr_id,rpid,pai,disconnect_reason,origprefix,destprefix,setuptime,created ) values ('INVITE','as371faadb','0081eace-000b-0328-0000-0000','40576feb77a8ca0530f208dd2152f883@192.168.1.15:5060','487','Request Terminated','2015-11-24 16:56:54','xx.70.xx.1','xxxxx','192.168.1.15','5538xxxx','+xxxx','xx.169.xx.161','Microbase CommServer','3','"xxxx"','','Q.850; cause=16','5538','+','1970-01-01 00:00:21',1448384193)</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/703">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciaE70zNs-X6KuJyWqKizkzJZZC2-ks5pJJAYgaJpZM4Goi_h.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OpenSIPS/opensips/issues/703"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>