Thanks Alex.
great indeed.
________________________________
De : sr-users <sr-users-bounces(a)lists.kamailio.org> de la part de Alex Balashov
<abalashov(a)evaristesys.com>
Envoyé : vendredi 12 août 2022 18:12
À : Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Objet : Re: [SR-Users] Change reply code reason other than using change_reply_status
Depending on what you’re trying to accomplish, you could intercept the negative reply (if
a negative reply is what you’re trying to change) in a failure_route and use send_reply()
to send back an entirely different reply to the caller, functionally altering the
status/reason.
— Alex
On Aug 12, 2022, at 1:00 PM, Patrick Karton
<patrickarton(a)hotmail.com> wrote:
hello is there a way to change reply code reason other than using () function.
because the first parameterc of change_reply_status needs to be a constant so i can not
use pseudo var for first argument of that function.
so i use change_reply_status_code to change to code with a pseudo. but i would also to
change the code reason.
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web:
http://www.evaristesys.com/,
http://www.csrpswitch.com/
__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users(a)lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
*
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users