<div dir="ltr"><div dir="ltr">Do i need to remove the load manually with `ds_load_update()` ??</div><div dir="ltr"><br clear="all"><div><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div><br></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=b8e05d5e-64b1-4b4e-a327-31003b168ab8"><font color="#ffffff" size="1">ᐧ</font></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 27, 2018 at 3:58 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Hello guys,<div><br></div><div>I'm testing the dispatcher with the dialog module.</div><div>After making several test calls, which are properly routed, the number of dialogs stay there for a while, preventing new calls from going to those destinations:</div><div><br></div><div><div><font face="monospace, monospace">        "SET":  {</font></div><div><font face="monospace, monospace">          "ID": 101,</font></div><div><font face="monospace, monospace">          "TARGETS":  [{</font></div><div><font face="monospace, monospace">              "DEST": {</font></div><div><font face="monospace, monospace">                "URI":  "sip:<a href="http://1.2.3.4:5080" target="_blank">1.2.3.4:5080</a>",</font></div><div><font face="monospace, monospace">                "FLAGS":  "AP",</font></div><div><font face="monospace, monospace">                "PRIORITY": 0,</font></div><div><font face="monospace, monospace">                "ATTRS":  {</font></div><div><font face="monospace, monospace">                  "BODY": "weight=100;maxload=10;duid=bedd39c7-6c73-4477-ae7d-77f8cdc96797",</font></div><div><font face="monospace, monospace">                  "DUID": "bedd39c7-6c73-4477-ae7d-77f8cdc96797",</font></div><div><font face="monospace, monospace">                  "MAXLOAD":  10,</font></div><div><font face="monospace, monospace">                  "WEIGHT": 100,</font></div><div><font face="monospace, monospace">                  "RWEIGHT":  0,</font></div><div><font face="monospace, monospace">                  "SOCKET": ""</font></div><div><font face="monospace, monospace">                },</font></div><div><font face="monospace, monospace">                "RUNTIME":  {</font></div><div><font face="monospace, monospace">                  "DLGLOAD":  10</font></div><div><font face="monospace, monospace">                }</font></div><div><font face="monospace, monospace">              }</font></div><div><font face="monospace, monospace">            }]</font></div><div><br></div><div>The calls have been down for several seconds, but the "DLGLOAD" parameter doesn't go down, even though</div><div><br></div><div>/usr/local/kamailio5/sbin/kamctl', 'dialog', 'show<br></div><div><br></div><div>Output the correct amount of dialogs.</div><div><br></div><div>I set the dialog handler just before relaying out:</div><div><br></div><div><div>    t_on_failure("RTF_DISPATCH");</div><div>    set_dlg_profile("gateways","$du");</div><div>    route(RELAY);</div></div><div><br></div><div>And the module is supposed to remove them automatically.</div><div><br></div><div>Am i doing something wrong?</div><div><br></div><div><div dir="ltr" class="m_6260969590990742883gmail_signature"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div></div></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=3c668f35-f3a3-492d-9477-ea0a32941579"><font color="#ffffff" size="1">ᐧ</font></div>
</blockquote></div>