<div dir="ltr"><div><div>Razvan, <br>sorry again.<br></div>I did a dumb mistake and used &quot;opensipsctl fifo debug 9&quot; instead of enabling the debug in the opensips.cfg file. So when opensips restarted, debug was disabled.<br>
Here are the logs:<br><a href="http://pastebin.com/mtG6n68E">http://pastebin.com/mtG6n68E</a><br><br></div>Regards,<br>Takeshi<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, May 8, 2014 at 3:06 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi, Takeshi!<br>
<br>
I don&#39;t see any BYE or restart in your logs. Can you please send the logs starting from the INVITE, then restart and BYE?<br>
<br>
Best regards,<br>
<br>
Razvan Crainea<div class=""><br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><br>
<br></div><div class="">
On 05/07/2014 11:58 AM, mayamatakeshi wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">
Hi Razvan,<br>
<br>
<br>
On Wed, May 7, 2014 at 5:10 PM, Răzvan Crainea &lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a><br></div><div class="">
&lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;&gt; wrote:<br>
<br>
    Hi, Takeshi!<br>
<br>
    I am not sure you patch was successfully installed, since I don&#39;t<br>
    see the logs I put in the patch.<br>
<br>
<br>
Sorry. I was loading the modules from the wrong path so it was using<br>
unpatched build.<br>
Here are the logs:<br>
<a href="http://pastebin.com/5ubakRkP" target="_blank">http://pastebin.com/5ubakRkP</a><br>
(but I only see the &quot;Registered terminated callback with flags&quot; line in<br>
them).<br>
<br>
    Is there any chance you could give me access to a development<br>
    machine where this is happening?<br>
<br>
<br>
If it gets difficult for you to debug this from the logs only, i will<br>
try to prepare an environment at home because the company i work for<br>
doesn&#39;t allow me to give this access.<br>
<br>
Regards,<br>
Takeshi<br>
<br>
<br>
    Best regards,<br>
<br>
    Răzvan Crainea<br>
<br>
    OpenSIPS Core Developer<br></div>
    <a href="http://www.opensips-solutions." target="_blank">http://www.opensips-solutions.</a><u></u>__com &lt;<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-<u></u>solutions.com</a>&gt;<div class="">
<br>
<br>
    On 05/05/2014 05:43 PM, mayamatakeshi wrote:<br>
<br>
<br>
<br>
        On Mon, May 5, 2014 at 10:16 PM, Răzvan Crainea<br>
        &lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;<br></div><div class="">
        &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a> &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;&gt;&gt; wrote:<br>
<br>
             I think the first patch was corrupted while I pasted it.<br>
        Please try<br>
             to use this one[1].<br>
<br>
             [1] <a href="http://pastebin.com/DvRCwT20" target="_blank">http://pastebin.com/DvRCwT20</a><br>
<br>
<br>
        Hi Razvan,<br>
<br>
        Actually, it seems that message from patch was just a warning<br>
        and can be<br>
        ignored<br></div>
        (<a href="http://unix.stackexchange." target="_blank">http://unix.stackexchange.</a>__<u></u>com/questions/1395/what-does-_<u></u>_patch-unexpectedly-ends-in-__<u></u>middle-of-line-mean<br>
        &lt;<a href="http://unix.stackexchange.com/questions/1395/what-does-patch-unexpectedly-ends-in-middle-of-line-mean" target="_blank">http://unix.stackexchange.<u></u>com/questions/1395/what-does-<u></u>patch-unexpectedly-ends-in-<u></u>middle-of-line-mean</a>&gt;).<div class="">
<br>
<br>
        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;,<br>
        reg-&gt;flags);<br>
        it should have been:<br>
            LM_DBG(&quot;Registered terminated callback with flags %x\n&quot;,<br>
        req-&gt;flags);<br>
<br>
        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>
        Regards,<br>
        Takeshi<br>
<br>
<br></div><div class="">
        ______________________________<u></u>___________________<br>
        Users mailing list<br>
        <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.<u></u>org</a>&gt;<br>
        <a href="http://lists.opensips.org/cgi-__bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>__bin/mailman/listinfo/users</a><br>
        &lt;<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/<u></u>cgi-bin/mailman/listinfo/users</a><u></u>&gt;<br>
<br>
<br>
    ______________________________<u></u>___________________<br>
    Users mailing list<br>
    <a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> &lt;mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.<u></u>org</a>&gt;<br>
    <a href="http://lists.opensips.org/cgi-__bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>__bin/mailman/listinfo/users</a><br></div><div class="">
    &lt;<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/<u></u>cgi-bin/mailman/listinfo/users</a><u></u>&gt;<br>
<br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>