[SR-Users] Change reply code reason other than using change_reply_status

Henning Westerholt hw at gilawa.com
Fri Aug 12 21:14:14 CEST 2022


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<https://gilawa.com/>

From: sr-users <sr-users-bounces at lists.kamailio.org> On Behalf Of Patrick Karton
Sent: Friday, August 12, 2022 7:01 PM
To: sr-users at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20220812/0bc2e19c/attachment.htm>


More information about the sr-users mailing list