[SR-Users] Dialiog and dispatcher

David Villasmil david.villasmil.work at gmail.com
Tue Nov 27 17:03:32 CET 2018


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

Regards,

David Villasmil
email: david.villasmil.work at gmail.com
phone: +34669448337

ᐧ

On Tue, Nov 27, 2018 at 3:58 PM David Villasmil <
david.villasmil.work at gmail.com> 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: david.villasmil.work at gmail.com
> phone: +34669448337
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181127/b82afddd/attachment.html>


More information about the sr-users mailing list