try t_cancel_branches() [1] Regards, Bastian
[1] https://www.kamailio.org/docs/modules/5.5.x/modules/tmx.html#tmx.f.t_cancel_branches 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: > https://lists.kamailio.org/pipermail/sr-users/2009-March/022447.html > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions > To unsubscribe send an email to sr-users-le...@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-le...@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: