No the uac_redirect module does not create Diversion header.
but thats not a big issue.
we can still use branch_route to add a Diversion with diversion module before forwarding the request. ________________________________ De : Benoît Panizzon benoit.panizzon@imp.ch Envoyé : vendredi 24 juin 2022 11:11 À : Patrick Karton patrickarton@hotmail.com Cc : Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org Objet : Re: [SR-Users] How to handle a 301 redirect request from a client?
Hi Patrick
You can check the uac_redirect module.
Not sure it handle Diversion header but its a good starting point.
Merci! That sounds promising I'll try. The ability to add a 'reason' let's me hope it might create a Diversion header.
-- Mit freundlichen Grüssen
-Benoît Panizzon- @ HomeOffice und normal erreichbar -- 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 ______________________________________________________