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

2022-08-12 Thread Henning Westerholt
tps://gilawa.com/> From: sr-users 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. b

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

2022-08-12 Thread Patrick Karton
Thanks Alex. great indeed. De : sr-users de la part de Alex Balashov Envoyé : vendredi 12 août 2022 18:12 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Change reply code reason other than using change_reply_status Depending on what you’re

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

2022-08-12 Thread Alex Balashov
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

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

2022-08-12 Thread Patrick Karton
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