[SR-Users] Dialiog and dispatcher
Daniel-Constantin Mierla
miconda at gmail.com
Tue Nov 27 17:37:16 CET 2018
Hello,
you have to execute ds_load_update() when routing the BYE via your
kamailio.cfg, i.e., inside route[WITHINDLG] if you have a config built
on the default one.
Cheers,
Daniel
On 27.11.18 17:03, David Villasmil wrote:
> Do i need to remove the load manually with `ds_load_update()` ??
>
> Regards,
>
> David Villasmil
> email: david.villasmil.work at gmail.com
> <mailto: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
> <mailto: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 <http://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
> <mailto:david.villasmil.work at gmail.com>
> phone: +34669448337
> ᐧ
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio World Conference -- www.kamailioworld.com
Kamailio Advanced Training, Nov 12-14, 2018, in Berlin -- www.asipto.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20181127/bb9b2ec7/attachment.html>
More information about the sr-users
mailing list