Unfortunately this didn't help me.
The message is still only saved, but not forwarded.
Judging by the code of the TM module, branch 0 of the transaction is “blind”.
After t_should_relay_response() the message is saved in uac and that’s it... the processing process, as I understand it, is finished.
try t_cancel_branches() [1]Regards,Bastian__________________________________________________________On Sat, Nov 4, 2023 at 12:52 PM Михаил Горюцкий via sr-users <sr-users@lists.kamailio.org> wrote:Hello, I encountered such a problem:__________________________________________________________
An INVITE request comes to Kamailio.
Kamailio finds a location and forwards this INVITE to a device.
The device receives a push notification and registers on a new IP: port.
The tsilo module creates a new branch.
And this branch sends the INVITE.
The device responds with 100 -> 180 -> 302.
100 and 180 are forwarded to the calling subscriber, but anything greater than 300, such as 302, is not forwarded.
DEBUG: tm [t_reply.c:1363]: t_should_relay_response(): ->>>>>>>>> T_code=180, new_code=302
DEBUG: tm [t_reply.c:1448]: t_should_relay_response(): store - other branches still active
DEBUG: tm [t_reply.c:1925]: relay_reply(): reply status=3 branch=1, save=1, relay=-1 icode=0 msg status=302
Kamailio saves this code and does not pass it to the caller. Is there a way to immediately pass this 302? It seems like something can be done in t_on_branch_failure, which is invoked, but I can't figure out what needs to be done there.
Is there a parameter that can solve my problem?A similar question has been asked before, but the link in Daniel's response leads to a non-existent ID:
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-leave@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe: