<br>On Fri, Sep 16, 2011 at 9:56 AM, Akib Sayyed <span dir="ltr">&lt;<a href="mailto:akibsayyed@gmail.com">akibsayyed@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

hello guys please tell me what parameter to add in modparam of acc to get duration <br>modparam(&quot;acc&quot;, &quot;db_extra&quot;,&quot;caller_id=$fu; callee_id=$tu; \<br>                                        rpid=$avp(s:rpid); \<br>


                                        duration=$avp(s:duration)\<br>                                        src_ip=$avp(s:source_ip); \<br>                                        src_port=$avp(s:source_port); \<br>                                        sip_proxy_ip=$avp(s:sip_proxy_ip); \<br>


                                        user_agent=$hdr(user-agent); \<br>                                        contact=$hdr(contact)<br>                                        &quot;) <br><br>is it correct<font color="#888888"></font></blockquote>

<div><br>No, that&#39;s not right unless you want to manually calculate that variable. Check the acc docs, you just need to set the cdr flag and the database field will automatically be updated. Should not require it to be in db_extra<br>

<br>-Brett<br> <br></div></div>