Hello,

 

Just to add the obvious solution as well, the change_reply_status(..) could be adapted to support pseudo-variables. But of course, this needs some code extensions.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Friday, August 12, 2022 7:01 PM
To: sr-users@lists.kamailio.org
Subject: [SR-Users] Change reply code reason other than using change_reply_status

 

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.