I couldn’t find it in the documentation, but I am pretty sure that 
change_reply_status will not work on a 2xx response as a proxy cannot change 
those types of responses. You would have to be using B2BUA to do that.

I think your best bet would be to try one of the functions in the textops 
module [1], possibly replace() [2].

[1] - https://opensips.org/docs/modules/2.4.x/textops.html
[2] - https://opensips.org/docs/modules/2.4.x/textops.html#func_replace


Ben Newlin

From: Users <users-boun...@lists.opensips.org> on behalf of Антон Ершов 
<suhari...@gmail.com>
Reply-To: OpenSIPS users mailling list <users@lists.opensips.org>
Date: Friday, February 14, 2020 at 12:01 PM
To: OpenSIPS users mailling list <users@lists.opensips.org>
Subject: Re: [OpenSIPS-Users] rewrite status-line

I understand correctly that on my side I can not fix this problem?

пт, 14 февр. 2020 г. в 17:17, Антон Ершов 
<suhari...@gmail.com<mailto:suhari...@gmail.com>>:
They can not

пт, 14 февр. 2020 г., 17:10 johan <jo...@democon.be<mailto:jo...@democon.be>>:

To me 200 OK is perfectly valid.   The operator should fix this at his side.
On 14.02.20 15:01, Антон Ершов wrote:
Hello friends!
we have final equipment that does not meet 200OK correctly. it adds an extra 
space between 200 and OK. from the point of view of rfc is not very scary. but 
there is an operator that cannot handle the given 200OK. I tried to fix it with 
change_reply_status in module sipmsgops.
but it rewrites the status-line with the same extra space.
Is this a bug?



_______________________________________________

Users mailing list

Users@lists.opensips.org<mailto:Users@lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to