<br><div class="gmail_quote"><div><pre style="line-height:15.833333015441895px;font-size:14.166666030883789px;white-space:pre-wrap;margin-bottom:0px;font-family:courier,&#39;courier new&#39;,monospace;margin-top:0px;word-wrap:break-word">
Hello,</pre><pre style="line-height:15.833333015441895px;font-size:14.166666030883789px;white-space:pre-wrap;margin-bottom:0px;font-family:courier,&#39;courier new&#39;,monospace;margin-top:0px;word-wrap:break-word"><br></pre>

<pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">Thank you for your reply </span></font></pre>


<pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">
</span></font></pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">I follow your suggestions to modify SHM_MEMORY ,PKG_MEMORY value and </span></font><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">the system only two uac r</span></font><span style="font-family:arial;background-color:transparent;font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap"><font face="courier, courier new, monospace">egister.</font></span><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap;font-family:courier,&#39;courier new&#39;,monospace"> </span></pre>


<pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">
See the program after I start kamailio.</span></font></pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap"><br>
</span></font></pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap;font-family:courier,&#39;courier new&#39;,monospace">shm memory 1G  </span><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">
</span></font></pre>

<pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">pkg memory 10M</span></font></pre>


<pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap"><br>
</span></font></pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><font face="courier, courier new, monospace"><span style="font-size:14.285714149475098px;line-height:15.830357551574707px;white-space:pre-wrap">sh-3.00# ps -ef | grep kamailio
root     23627     1  0 12:57 ?        00:00:00 /home/pkg/kamailio-3.3.4/sbin/kamailio -f /home/pkg/kamailio-3.3.4/etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.pid -m 1024 -M 10 -u root -g kamailio
root     23635 23627  0 12:57 ?        00:00:03 /home/pkg/kamailio-3.3.4/sbin/kamailio -f /home/pkg/kamailio-3.3.4/etc/kamailio/kamailio.cfg -P /var/run/kamailio/kamailio.pid -m 1024 -M 10 -u root -g kamailio
</span></font>
</pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word">This problem is still the same last crazy the sending options message for uac
But the /var/log/syslog not the same as follows </pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word"><br></pre><pre style="margin-bottom:0px;margin-top:0px;word-wrap:break-word">Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl-&gt;next=(nil) tl-&gt;prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl-&gt;next=(nil) tl-&gt;prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl-&gt;next=(nil) tl-&gt;prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: CRITICAL: dialog [dlg_timer.c:205]: Trying to update a bogus dlg tl=0x77052ae4 tl-&gt;next=(nil) tl-&gt;prev=(nil)
Mar 20 12:58:53 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[23637]: ERROR: dialog [dlg_req_within.c:231]: failed to update dialog lifetime</pre></div><div><div><div><br></div><br><div class="gmail_quote">
2013/3/20 Rinor Hoxha <span dir="ltr">&lt;<a href="mailto:rinorhoxha@gmail.com" target="_blank">rinorhoxha@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div>Hi,<br></div>I had this &quot;issue&quot; some times ago. It turned out that I needed to increase the value of SHM_MEMORY, since by mistake I forgot a 0 on the value (1024 vs. 10240). However this happened only when high loads on system.<br>



</div>I needed also to tune PKG_MEMORY to my needs. ( both on /etc/default/kamailio )<br><br></div>Check your settings and see if this helps.<br><br></div>Br, Rinor<br><div><div><div><br></div></div></div></div><div class="gmail_extra">



<br><br><div class="gmail_quote"><div><div>On Tue, Mar 19, 2013 at 4:07 PM, dolphin <span dir="ltr">&lt;<a href="mailto:dolphinctk@gmail.com" target="_blank">dolphinctk@gmail.com</a>&gt;</span> wrote:<br></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
hi  ,  <div><br></div><div>i use  kamailio 3.3.4 version  <br><div><br></div><div>I  set  and load  dialog  module </div><div><br></div><div><div>modparam(&quot;dialog&quot;, &quot;ka_timer&quot;, 10)</div><div>modparam(&quot;dialog&quot;, &quot;ka_interval&quot;, 20)</div>




<div><br></div><div>use  <span style="background-color:rgb(254,254,238)">dlg_set_property(&quot;ka-src&quot;); </span></div><div><span style="background-color:rgb(254,254,238)"><br></span></div><div>When uac A call uac B connection success  , After 20 seconds, sip proxy send the OPTIONS message uac A </div>




<div><br></div><div>Crazy sent to fill my bandwidth  ,  I use ngrep  tools  see sip server  </div><div><br></div><div><div>U xxx.xxx.xxx:5002 -&gt; xxx.xxx.xxx.xxx:16296</div><div>OPTIONS sip:xxxxxx@xxx.xxx.xxx.xxx:16296;transport=udp SIP/2.0.</div>




<div>Via: SIP/2.0/UDP xxx.xxx.xxx.xxx:5002;branch=z9hG4bK92da.1584702.0.</div><div>To: sip:xxxxxxx@xxx.xxx.xxx.xxx:5002;tag=eb6e8f3e.</div><div>From: sip:xxxxxxx@xxx.xxx.xxx.xxx:5002;tag=D.ZHkBjEnKXX.DTO69bc09sbB4oFdU3O.</div>




<div>CSeq: 1 OPTIONS.</div><div>Call-ID: NDZlY2JhMjUyMjZiYTllZGJmZTA2MmYxODU5NmY3NGY..</div><div>Content-Length: 0.</div><div>User-Agent: SIP Server.</div></div><div><br></div><div>and  /var/log/syslog </div><div><br></div>




<div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)</div><div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message</div>




<div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: dialog [dlg_req_within.c:381]: failed to send the BYE request</div><div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)</div>




<div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message</div><div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: dialog [dlg_req_within.c:381]: failed to send the BYE request</div>




<div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [t_msgbuilder.c:1528]: build_uac_req(): no shmem (370)</div><div>Mar 19 21:09:07 cfa /home/pkg/kamailio-3.3.4/sbin/kamailio[12237]: ERROR: tm [uac.c:338]: t_uac: Error while building message</div>




<div> </div><div>Please help me  </div><div><br></div><div><br></div></div><div><br></div></div>
<br></div></div>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">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></blockquote></div></div></blockquote></div></div></div></div>