<div dir="ltr"><div>Thanks for answers. Today i tryed run script on 1.7.2. and everything works fine.</div><div>I will try migrate to 1.9 tomorrow again with debug...</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/4/23 Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi, Pavel!<br>
<br>
Using the &#39;B&#39; flag doesn&#39;t affect at all the timeout of the dialog, it simply indicates that when the dialog expires, OpenSIPS should send BYEs in both direction. If you don&#39;t use this flag, you will not see the BYEs, but the dialog will still end and the CDR will still be written.<br>

If you are setting the default timeout [1], please comment it. If you are specifying an avp [2] for the timeout, please comment it too, as it might be accidentally overwritten in your script.<br>
Also, are you using RTPProxy? The dialog might also be deleted due to lack of media. Finally, can you get any useful information from the system log?<br>
<br>
[1] <a href="http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#default-timeout-id" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/1.9.x/dialog.<u></u>html#default-timeout-id</a><br>
[2] <a href="http://www.opensips.org/html/docs/modules/1.9.x/dialog.html#timeout-avp-id" target="_blank">http://www.opensips.org/html/<u></u>docs/modules/1.9.x/dialog.<u></u>html#timeout-avp-id</a><div class="im"><br>
<br>
Best regards,<br>
<br>
Razvan Crainea<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="im">
On 04/23/2013 11:26 AM, <a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a> wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
I don&#39;t use flag &quot;B&quot; in create_dialog() because when i use it call may<br>
drop with 90 second.<br>
I understand that something wrong with timeout.<br>
<br>
I use default dialog parameters if i understood you.<br>
<br>
<br></div><div class="im">
2013/4/23 Răzvan Crainea &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;&gt;<br>
<br>
    Hi, Pavel!<br>
<br></div><div class="im">
    Are you using the &#39;B&#39; flag for the create_dialog() function? If not,<br>
    this might be the cause why you are not seeing the BYE&#39;s. However,<br>
    this means that somehow the dialog expires. Can you post the dialog<br>
    parameters you are using?<br>
<br>
<br>
    Best regards,<br>
<br>
    Razvan Crainea<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;<br>

<br>
    On 04/23/2013 10:58 AM, <a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a> &lt;mailto:<a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a>&gt;<div class="im"><br>
    wrote:<br>
<br>
        Yes, i use CDR flag to account.<br>
        No, i don&#39;t touch any timeout value;<br>
<br>
<br>
        2013/4/23 Răzvan Crainea &lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a><br></div>
        &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt; &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a><div class="im"><br>
        &lt;mailto:<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;&gt;&gt;<br>
<br>
<br>
             Hi, Pavel!<br>
<br>
             Are you using dialog-based accounting? Are you modifying<br>
        the dialog<br>
             timeout?<br>
<br>
             Best regards,<br>
<br>
             Razvan Crainea<br>
             OpenSIPS Core Developer<br></div>
        <a href="http://www.opensips-solutions." target="_blank">http://www.opensips-solutions.</a><u></u>____com<br>
        &lt;<a href="http://www.opensips-__solutions.com" target="_blank">http://www.opensips-__<u></u>solutions.com</a><div class="im"><br>
        &lt;<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-<u></u>solutions.com</a>&gt;&gt;<br>
<br>
<br>
             On 04/23/2013 09:53 AM, <a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a><br></div>
        &lt;mailto:<a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a>&gt; &lt;mailto:<a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a><div class="im"><br>
        &lt;mailto:<a href="mailto:pavel@eremina.net" target="_blank">pavel@eremina.net</a>&gt;&gt;<br>
<br>
             wrote:<br>
<br>
                 Hi!<br>
<br>
                 I&#39;ve have 1.9 Opensips and get some confuse...<br>
                 It can&#39;t save calls that duration more than 90 second.<br>
        Just save 91<br>
                 second in duration ...<br>
                 like that:<br>
<br>
                 2013-04-23 13:43:59     pavel <a href="tel:79678633317" value="+79678633317" target="_blank">79678633317</a><br></div>
        &lt;tel:<a href="tel:79678633317" value="+79678633317" target="_blank">79678633317</a>&gt; &lt;tel:<a href="tel:79678633317" value="+79678633317" target="_blank">79678633317</a> &lt;tel:<a href="tel:79678633317" value="+79678633317" target="_blank">79678633317</a>&gt;&gt;<div class="im">
<br>
<br>
                     88.05.7.96      2.3.0.40        *90*    10<br>
        <a href="mailto:sip%3A79678647317@18.10.36.8" target="_blank">sip:79678647317@18.10.36.8</a> &lt;mailto:<a href="mailto:sip%253A79678647317@18.10.36.8" target="_blank">sip%3A79678647317@18.<u></u>10.36.8</a>&gt;<br>

        &lt;mailto:<a href="mailto:sip%253A79678647317@18." target="_blank">sip%3A79678647317@18.</a>_<u></u>_10.36.8<br>
        &lt;mailto:<a href="mailto:sip%25253A79678647317@18.10.36.8" target="_blank">sip%253A79678647317@<u></u>18.10.36.8</a>&gt;&gt;<br></div>
                 &lt;mailto:<a href="mailto:sip%253A79678647317@18" target="_blank">sip%3A79678647317@18</a>.<br>
        &lt;mailto:<a href="mailto:sip%25253A79678647317@18" target="_blank">sip%253A79678647317@18</a><u></u>.&gt;____10.36.8<br>
                 &lt;mailto:<a href="mailto:sip%25253A79678647317@" target="_blank">sip%253A79678647317@</a>__<u></u>18.10.36.8<br>
        &lt;mailto:<a href="mailto:sip%2525253A79678647317@18.10.36.8" target="_blank">sip%25253A79678647317@<u></u>18.10.36.8</a>&gt;&gt;&gt;;transport=UDP<div class="im"><br>
<br>
<br>
<br>
<br>
                 And  some time i don&#39;t see &quot;BYE&quot; in sip_trace.<br>
<br>
                 Did any saw those bugs before...?<br>
<br>
<br></div>
                 ______________________________<u></u>_____________________<div class="im"><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></div>
        &lt;mailto:<a href="mailto:Users@lists.opensips." target="_blank">Users@lists.opensips.</a>_<u></u>_org<br>
        &lt;mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.<u></u>org</a>&gt;&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/<u></u>users</a>&gt;<br>
<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><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;__&gt;<br>
<br>
<br>
             ______________________________<u></u>_____________________<div class="im"><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></div>
        &lt;mailto:<a href="mailto:Users@lists.opensips." target="_blank">Users@lists.opensips.</a>_<u></u>_org<br>
        &lt;mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.<u></u>org</a>&gt;&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/<u></u>users</a>&gt;<br>
<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><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;__&gt;<div class="im"><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> &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>
    &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>