Do i need to remove the load manually with `ds_load_update()` ??

Regards,

David Villasmil
email: [email protected]
phone: +34669448337

ᐧ

On Tue, Nov 27, 2018 at 3:58 PM David Villasmil <
[email protected]> wrote:

> Hello guys,
>
> I'm testing the dispatcher with the dialog module.
> 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:
>
>         "SET":  {
>           "ID": 101,
>           "TARGETS":  [{
>               "DEST": {
>                 "URI":  "sip:1.2.3.4:5080",
>                 "FLAGS":  "AP",
>                 "PRIORITY": 0,
>                 "ATTRS":  {
>                   "BODY":
> "weight=100;maxload=10;duid=bedd39c7-6c73-4477-ae7d-77f8cdc96797",
>                   "DUID": "bedd39c7-6c73-4477-ae7d-77f8cdc96797",
>                   "MAXLOAD":  10,
>                   "WEIGHT": 100,
>                   "RWEIGHT":  0,
>                   "SOCKET": ""
>                 },
>                 "RUNTIME":  {
>                   "DLGLOAD":  10
>                 }
>               }
>             }]
>
> The calls have been down for several seconds, but the "DLGLOAD" parameter
> doesn't go down, even though
>
> /usr/local/kamailio5/sbin/kamctl', 'dialog', 'show
>
> Output the correct amount of dialogs.
>
> I set the dialog handler just before relaying out:
>
>     t_on_failure("RTF_DISPATCH");
>     set_dlg_profile("gateways","$du");
>     route(RELAY);
>
> And the module is supposed to remove them automatically.
>
> Am i doing something wrong?
>
> Regards,
>
> David Villasmil
> email: [email protected]
> phone: +34669448337
> ᐧ
>
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to