Hello,
there seems to be no configuration parameter to achieve this. Of course, the module can be
extended e.g. with a pull request.
Probably worth to check also what the RFCs say in this regard, but in all cases if could
be extended if its configurable for example by a module parameter.
Cheers,
Henning
--
Henning Westerholt –
https://skalatan.de/blog/
Kamailio services –
https://gilawa.com<https://gilawa.com/>
From: sr-users <sr-users-bounces(a)lists.kamailio.org> On Behalf Of Joey Golan
Sent: Sunday, November 27, 2022 10:31 AM
To: Kamailio (SER) - Users Mailing List <sr-users(a)lists.kamailio.org>
Subject: [SR-Users] imc sends all messages with Content-Type: text/plain
Hello,
I'm checking the imc module and it appears that imc sends all messages with hard-coded
content type header so if client sends an application/im-iscomposing+xml message, other
clients receives the message with content-type text/plain which is very confusing.
I think the right behavior is to take the content-type header from the original message
and use it in the messages imc sends.
Is there a workaround that might help me achieve that?