<div dir="ltr">So I need to enable WITH_ACCDB so that it can alter the database table as it seems. I enabled this and restarted kamailio but it is not logging the misscall in the "acc" or "missed_calls" tables. In the config file there is something like this,<br>$avp(oexten) = $rU;<br>        if (!lookup("location")) {<br>                $var(rc) = $rc;<br>                route(TOVOICEMAIL);<br>                t_newtran();<br>                switch ($var(rc)) {<br>                        case -1:<br>                        case -3:<br>                                send_reply("404", "Not Found");<br>                                exit;<br>                        case -2:<br>                                send_reply("405", "Method Not Allowed");<br>                                exit;<br>                }<br>        }<br><br>        # when routing via usrloc, log the missed calls also<br>        if (is_method("INVITE")) {<br>                setflag(FLT_ACCMISSED);<br><div>        }</div><div><br></div><div>but I am not able to understand what it's doing. How can I get the missed calls logs? </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 3, 2019 at 12:07 PM Henning Westerholt <<a href="mailto:hw@skalatan.de">hw@skalatan.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div bgcolor="#FFFFFF">
<p>Hello Anuran,</p>
<p>you are probably want to look into the "acc" accounting module. The default cfg already has some code for this. It can account e.g. succesful and failed calls.<br>
</p>
<p>Cheers,</p>
<p>Henning<br>
</p>
<div class="gmail-m_-3060693611907365627moz-cite-prefix">Am 03.09.19 um 06:36 schrieb Anuran Barman:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hi,
<div>I want to show call logs in my SIP app. How can I do this with Kamailio? I want to do it from the
<b>kamailio.cfg </b>file. Is it possible to do it from where? I guess Dialog module should be used for this, but can not figure out how to do it. I want minimalist feature like who call whom with timestamp, thats all. How can I do this?</div>
</div>
<br>
<fieldset class="gmail-m_-3060693611907365627mimeAttachmentHeader"></fieldset>
<pre class="gmail-m_-3060693611907365627moz-quote-pre">_______________________________________________
Kamailio (SER) - Users Mailing List
<a class="gmail-m_-3060693611907365627moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>
<a class="gmail-m_-3060693611907365627moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<pre class="gmail-m_-3060693611907365627moz-signature" cols="72">-- 
Henning Westerholt - <a class="gmail-m_-3060693611907365627moz-txt-link-freetext" href="https://skalatan.de/blog/" target="_blank">https://skalatan.de/blog/</a>
Kamailio services - <a class="gmail-m_-3060693611907365627moz-txt-link-freetext" href="https://skalatan.de/services" target="_blank">https://skalatan.de/services</a></pre>
</div>

</blockquote></div>