Hello,
I'm trying to use parallel forking if one extension is registered from
multiple devices. (using WebSockets)
This is the related code from kamailio.cfg:
------------------------------------------------------------------------------------------------------------------------------------
if (!t_load_contacts()) {
xlogl("L_WARN", "Error loading contacts for $rU\n");
sl_send_reply("500", "Server Internal Error
(Code:$cfg(line))");
exit;
} else {
xlogl("L_INFO", "Contacts loaded for $rU\n");
}
if (!t_next_contacts()) {
xlogl("L_INFO", "t_next_contacts - Only one contact found for $rU,
calling\n");
} else {
xlogl("L_INFO", "t_next_contacts - Multiple contacts found, parallel
forking\n");
}
route(RELAY);
------------------------------------------------------------------------------------------------------------------------------------
I noticed that on Kamailio 5.2.5 - this code is working fine, and Kamailio
is sending an INVITE to both Devices.But, on Kamailio 5.3.1 - that's not
working anymore. For some reason, kamailio is sending just one INVITE to
one device with wrong URI. The URI is set to the second device instead of
the correct one.
Was something changed in the t_next_contacts function related to this?
Thank you