<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix"><tt>Hi, Alexander!<br>
        <br>
        1. You don't need the variable, you can use directly
        $DLG_timeout = 10;<br>
        2. How do you check if the dialog is deleted or not? Are you
        using the dlg_list command? If you also want to send BYE
        messages to your clients, you should use the 'B' flag when
        creating the dialog[1].<br>
        <br>
        [1]
        <a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/dialog#id293797">http://www.opensips.org/html/docs/modules/1.11.x/dialog#id293797</a><br>
        <br>
        Best regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Răzvan Crainea
OpenSIPS Solutions
<a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
      On 12/18/2014 08:59 AM, Kalala Alexander wrote:<br>
    </div>
    <blockquote cite="mid:1238511418885963@web30o.yandex.ru" type="cite">
      <div>I for some reason it does not work ... Dialog is not break.</div>
      <div> </div>
      <div> </div>
      <div>if(is_method("INVITE")){<br>
        setflag(FLT_ACC);<br>
        $var(time)=10;<br>
        create_dialog(); <br>
        $DLG_timeout = $var(time);<br>
        xlog("L_NOTICE"," DIALOG $DLG_timeout sec $var(time)\n"); <br>
        }</div>
      <div> </div>
      <div> </div>
      <div>Conclusion:</div>
      <div>DIALOG 10 sec 10</div>
      <div> </div>
      <div>16.12.2014, 12:41, "Răzvan Crainea"
        <a class="moz-txt-link-rfc2396E" href="mailto:razvan@opensips.org">&lt;razvan@opensips.org&gt;</a>:</div>
      <blockquote type="cite">
        <div bgcolor="#FFFFFF">
          <div>Hi, Alexander!<br>
            <br>
            You can simply assing the dialog variable with the value of
            the AVP:<br>
            <br>
            $DLG_timeout = $avp(old_timeout_avp);<br>
            <br>
            Best regards,<br>
            <pre>Răzvan Crainea
OpenSIPS Solutions
<a moz-do-not-send="true" href="http://www.opensips-solutions.com/">www.opensips-solutions.com</a></pre>
            On 12/13/2014 02:14 AM, Kalala Alexander wrote:</div>
          <blockquote cite="mid:4424381418429646@web20j.yandex.ru"
            type="cite">
            <div>Perhaps there is an example of how to use and take
              $DLG_timeout  seconds of AVP ??</div>
            <div> </div>
            <div>13.12.2014, 02:59, "Laszlo" <a moz-do-not-send="true"
                href="mailto:laszlo@voipfreak.net">&lt;laszlo@voipfreak.net&gt;</a>:</div>
            <blockquote type="cite">
              <div>See <a moz-do-not-send="true"
href="http://www.opensips.org/Documentation/Migration-1-10-0-to-1-11-0#toc2">http://www.opensips.org/Documentation/Migration-1-10-0-to-1-11-0#toc2</a>
                <div> </div>
                <div> </div>
              </div>
              <div><br>
                <div>On Sat, Dec 13, 2014 at 12:47 AM, Kalala Alexander
                  <span>&lt;<a moz-do-not-send="true"
                      href="mailto:klistrod@yandex.ru" target="_blank">klistrod@yandex.ru</a>&gt;</span>
                  wrote:
                  <blockquote style="margin:0 0 0 0.8ex;border-left:1px
                    #ccc solid;padding-left:1ex;">Hi,<br>
                    <br>
                    <a moz-do-not-send="true"
                      href="http://www.opensips.org/html/docs/modules/1.11.x/dialog.html"
                      target="_blank">http://www.opensips.org/html/docs/modules/1.11.x/dialog.html</a><br>
                    <br>
                    Prompt where disappeared function "timeout_avp"
                    module Dialog whether there is any alternative to
                    it?<br>
                    <br>
                    --<br>
                    С уважением<br>
                    Инженер по телекоммуникациям <br>
                    Калала Александр <br>
                    vel: <span><span>375291146285</span></span><br>
                    life: <span><span>375256819996</span></span><br>
                    skype: klistrod<br>
                    <br>
                    VoIP Network Engineer<br>
                    dCAP, CCNAVoice<br>
                    Kalala Alexander<br>
                    <a moz-do-not-send="true"
                      href="http://callcenters.by/" target="_blank">http://callcenters.by/</a><br>
                    <a moz-do-not-send="true" href="http://skytel.by/"
                      target="_blank">http://skytel.by/</a><br>
                    <a moz-do-not-send="true" href="http://voiplab.by/"
                      target="_blank">http://voiplab.by/</a><br>
                    <a moz-do-not-send="true"
                      href="http://asterisk-pbx.by/" target="_blank">http://asterisk-pbx.by/</a><br>
                    <br>
                    <br>
                    _______________________________________________<br>
                    Users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
                    <a moz-do-not-send="true"
                      href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
                      target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></blockquote>
                </div>
                <br>
                <div> </div>
                -- <br>
                <div>
                  <div>
                    <div>
                      <div>
                        <div><br>
                          --</div>
                        Kind regards,</div>
                      Laszlo Bekesi</div>
                    <a moz-do-not-send="true"
                      href="http://voipfreak.net/" target="_blank">http://voipfreak.net</a></div>
                </div>
              </div>
              ,
              <p>_______________________________________________<br>
                Users mailing list<br>
                <a moz-do-not-send="true"
                  href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
                <a moz-do-not-send="true"
                  href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
            </blockquote>
            <div> </div>
            <div> </div>
            <div><em>-- <br>
                С уважением</em></div>
            <div><em>Инженер по телекоммуникациям </em></div>
            <div><em>Калала Александр </em></div>
            <div><em>vel: <span>375291146285</span></em></div>
            <div><em>life: <span>375256819996</span></em><em><br>
              </em></div>
            <div><em>skype: klistrod<br>
              </em></div>
            <div><em> </em></div>
            <div><em>VoIP Network Engineer<br>
                dCAP, CCNAVoice<br>
                Kalala Alexander</em></div>
            <div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
              <em></em></div>
            <div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
            <div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
            <div><a moz-do-not-send="true"
                href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
            <div><img moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"></div>
            <div><img moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"></div>
            <div> </div>
            <div><img moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"></div>
            <div><img moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"><img
                moz-do-not-send="true"
                src="http://skytel.by/images/overview/logo.png"></div>
            <div> </div>
            <br>
            <br>
            <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
          </blockquote>
        </div>
        ,
        <p>_______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
          <a moz-do-not-send="true"
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></p>
      </blockquote>
      <div> </div>
      <div> </div>
      <div><em>-- <br>
          С уважением</em></div>
      <div><em>Инженер по телекоммуникациям </em></div>
      <div><em>Калала Александр </em></div>
      <div><em>vel: 375291146285</em></div>
      <div><em>life: 375256819996</em><em><br>
        </em></div>
      <div><em>skype: klistrod<br>
        </em></div>
      <div><em> </em></div>
      <div><em>VoIP Network Engineer<br>
          dCAP, CCNAVoice<br>
          Kalala Alexander</em></div>
      <div><a moz-do-not-send="true" href="http://callcenters.by/">http://callcenters.by/</a>
        <em></em></div>
      <div><a moz-do-not-send="true" href="http://skytel.by/">http://skytel.by/</a></div>
      <div><a moz-do-not-send="true" href="http://voiplab.by/">http://voiplab.by/</a></div>
      <div><a moz-do-not-send="true" href="http://asterisk-pbx.by/">http://asterisk-pbx.by/</a></div>
      <div> </div>
      <div><img moz-do-not-send="true"
          src="http://skytel.by/images/overview/logo.png"></div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <div> </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>