<div dir="ltr"><div>Thanks for suggestion. I will give it try.<br>Since every call will have to check database, will this effect the performance of Kamailio for high volume server?<br><br></div>Gary<br></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Tue, Jul 2, 2013 at 8:55 AM, I.Pavlov <span dir="ltr"><<a href="mailto:ip@izhnet.ru" target="_blank">ip@izhnet.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="RU"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Hi, Gary. I had same problem. Try to use “db_mode” parameter of dialog module with 1 value.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><em><span lang="EN-US">1 - REALTIME</span></em><span lang="EN-US"> - any dialog information changes will be reflected into the database immediatly.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US">Then you can kill the dead dialogs through database.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d" lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a> [mailto:<a href="mailto:sr-users-bounces@lists.sip-router.org" target="_blank">sr-users-bounces@lists.sip-router.org</a>] <b>On Behalf Of </b>Gary Chen<br>
<b>Sent:</b> Tuesday, July 02, 2013 4:14 PM<br><b>To:</b> Kamailio (SER) - Users Mailing List<br><b>Subject:</b> [SR-Users] How to cleanup unconfirmed dialog in memory?<u></u><u></u></span></p><div><div class="h5"><p class="MsoNormal">
<u></u> <u></u></p><div><div><div><div><div><p class="MsoNormal"><u></u> <u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">Kamailio 3.3.3<u></u><u></u></p></div><p class="MsoNormal">I am using dialog module to do the concurrent call limit. Once a while I got a dead unconfirmed dialog hung in memory. The only way I know to cleanup this is to restart kamailio. So my questions are:<br>
1) Does anybody know a better way to cleanup the dead dialog without having to restart the kamailio server? This is a production server. I really really hate to restart the server.<u></u><u></u></p></div><p class="MsoNormal" style="margin-bottom:12.0pt">
2) How easy to modify the source code to timeout the dead unconfirmed dialog in memory? <u></u><u></u></p></div><p class="MsoNormal">Gary  <u></u><u></u></p></div></div></div></div></div><br>_______________________________________________<br>

SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>