<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">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><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
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>_______________________________________________<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>