Re: How to route a specific reply instead of triggering failure route? (Handling 422 reply)
Tola Odunuga via sr-users <[email protected]> Tue, 10 Mar 2026 18:57:02 -0700
| Newsgroups | gmane.comp.voip.ser |
|---|---|
| Message-ID | <[email protected]> |
Regards Tola Sent from my iPhone; please excuse any typos. > On Mar 10, 2026, at 8:01 AM, Benoit Panizzon via sr-users <[email protected]> wrote: > Hi Gang > > Not using the timer module. > > I just stumbled over an issue when a CPE replies with 422. > > I have set-up a failure route to be used when resolving the location of > a registered cpe fails or if that cpe returns an error. > > I react on most cases like re-routing to voicemail etc. > > But in case of a 422 I would like to send that reply back to the caller > so the call can be re-attempted with a lower session timer. > > For this to work, I need to route the reply back to the origin. Using > t_send_reply() from within the failure route creates a new reply, > missing the required Min-Se header from the original reply. > > Is there something like a t_route_reply()? Of would I need to extract > the Min-SE header from the reply and then append it again to the reply > generated with t_send_reply()? > > Mit freundlichen Grüssen > > -Benoît Panizzon- > -- > I m p r o W a r e A G - Leiter Commerce Kunden > ______________________________________________________ > > Zurlindenstrasse 29 Tel +41 61 826 93 00 > CH-4133 Pratteln Fax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > ______________________________________________________ > __________________________________________________________ > Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] > To unsubscribe send an email to [email protected] > Important: keep the mailing list in the recipients, do not reply only to the sender! __________________________________________________________ Kamailio - Users Mailing List - Non Commercial Discussions -- [email protected] To unsubscribe send an email to [email protected] Important: keep the mailing list in the recipients, do not reply only to the sender!