Hello guys,
I've got this scenario where some gateways will register on my kamailio and
i need to send them calls on a load-balance fashion.
is this possible?
Thanks!
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337
ᐧ
Hi!
I’m having some issues with dispatcher and cannot get why it’s not working
Idea is to use ds_next_dst right after ds_select_dst
I’m having it like this
modparam("dispatcher", "list_file", "/tmp/dispatcher.list")
modparam("dispatcher", "flags", 2) # Enable dispather failover
modparam("dispatcher", "xavp_dst", "_dispacher_dst_list_")
…
ds_select_dst(«1», «0»);
…
# Some extra check on $du here
…
ds_next_dst();
But get in logs
WARNING: dispatcher [dispatch.c:2285]: ds_update_dst(): no xavp uri field in next destination record
But contents of /tmp/dispatcher.list is
1 sip:172.28.0.12:5060
1 sip:172.28.0.19:5060
Can I somehow dump xavp_dst var to check if ds_select_dst is correct?
kamailio 5.2.0-dev6
Regards, Igor
Good Morning All,
The following Incoming request came in =>
SIP Incoming Request: [[BYE sip:2406506175@20.20.20.20:5060;alias=10.10.10.5~55157~2 SIP/2.0
I called handle_ruri_alias(), and expected the destination and port to be set to 10.10.10.5:55157, but it was not.
It was left 20.20.20.20:5060.
Is my thinking correct or is there another way to set the destination and port to the alias?
Thanks All!,
-Steve