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 <[email protected]> On Behalf Of Joey Golan
Sent: Sunday, November 27, 2022 10:31 AM
To: Kamailio (SER) - Users Mailing List <[email protected]>
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?

__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
[email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!
Edit mailing list options or unsubscribe:
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to