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 <patrickar...@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@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@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

Reply via email to