Hello,
the tmx module has a function that can be used to cancel active branches.
For locally generated replies, headers can be added with
append_to_reply(...).
Cheers,
Daniel
On 16.12.24 14:38, Christian Berger via sr-users wrote:
Hi,
we have the following situation:
Multiple UAs are subscribed to the proxy and get INVITEd via parallel
forking.
Now one of the UAs sends us a 302 status, we would like to handle this
like a failure. So we'd like to CANCEL all the other branches, and
forward the 302 status to the original INVITE.
We have tried t_reply("302", "$T(reply_reason)") in the response,
which almost solves this, however we cannot pass the required headers
form the 302 response in it.
BTW, could there have been a change in the default behavior of
Kamailio? We think it used to "just work" in the past.
Thank you very much
Christian Berger
--
Christian Berger - berger(a)sipgate.de
Telefon: +49 (0)211-63 55 55-0
Telefax: +49 (0)211-63 55 55-22
sipgate GmbH - Gladbacher Str. 74 - 40219 Düsseldorf
HRB Düsseldorf 39841 - Geschäftsführer: Thilo Salmon, Tim Mois
Steuernummer: 106/5724/7147, Umsatzsteuer-ID: DE219349391
www.sipgate.de -
www.sipgate.co.uk
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions --
sr-users(a)lists.kamailio.org
To unsubscribe send an email to sr-users-leave(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only
to the sender!
--
Daniel-Constantin Mierla (@
asipto.com)
twitter.com/miconda --
linkedin.com/in/miconda
Kamailio Consultancy, Training and Development Services --
asipto.com