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@gmail.com phone: +34669448337 ᐧ
Do i need to remove the load manually with `ds_load_update()` ??
Regards,
David Villasmil email: david.villasmil.work@gmail.com phone: +34669448337
ᐧ
On Tue, Nov 27, 2018 at 3:58 PM David Villasmil < david.villasmil.work@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@gmail.com phone: +34669448337 ᐧ
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@gmail.com mailto:david.villasmil.work@gmail.com phone: +34669448337
ᐧ
On Tue, Nov 27, 2018 at 3:58 PM David Villasmil <david.villasmil.work@gmail.com mailto:david.villasmil.work@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@gmail.com <mailto:david.villasmil.work@gmail.com> phone: +34669448337 ᐧ
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users