[SR-Users] imc sends all messages with Content-Type: text/plain

Henning Westerholt hw at gilawa.com
Mon Nov 28 09:12:11 CET 2022


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 at lists.kamailio.org> On Behalf Of Joey Golan
Sent: Sunday, November 27, 2022 10:31 AM
To: Kamailio (SER) - Users Mailing List <sr-users at 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?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20221128/dc523b15/attachment.htm>


More information about the sr-users mailing list