<div dir="ltr"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 5, 2014 at 10:16 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I think the first patch was corrupted while I pasted it. Please try to use this one[1].<br>
<br>
[1] <a href="http://pastebin.com/DvRCwT20" target="_blank">http://pastebin.com/DvRCwT20</a><br></blockquote></div><br><div><div><div><div>Hi Razvan,<br><br>Actually, it seems that message from patch was just a warning and can be ignored (<a href="http://unix.stackexchange.com/questions/1395/what-does-patch-unexpectedly-ends-in-middle-of-line-mean" target="_blank">http://unix.stackexchange.com/questions/1395/what-does-patch-unexpectedly-ends-in-middle-of-line-mean</a>).<br>

<br></div>So i checked the code and the problem was a typo.<br>Instead of :<br>  LM_DBG(&quot;Registered terminated callback with flags %x\n&quot;, reg-&gt;flags);<br>it should have been:<br>  LM_DBG(&quot;Registered terminated callback with flags %x\n&quot;, re<span style="color:rgb(0,0,255)">q</span>-&gt;flags);<br>

<br></div>So I corrected it and rebuilt opensips and tested it.<br>Here are the logs:<br><a href="http://pastebin.com/Ne3vUdzG" target="_blank">http://pastebin.com/Ne3vUdzG</a><br><br></div>Regards,<br></div>Takeshi<br></div>
</div>