BelledonneCommunications / linphone-desktop

Linphone is a free VoIP and video softphone based on the SIP protocol. Mirror of git://git.linphone.org/linphone-desktop.git
https://linphone.org/
GNU General Public License v3.0
406 stars 207 forks source link

Feature request: Option to disable Message Composition Indication (RFC 3994) #785

Closed sysfu closed 1 year ago

sysfu commented 1 year ago

While troubleshooting a problem sending outbound SIP text messages via Linphone 5.1.2 and the voip.ms service I discovered the cause. Linphone is sending XML 'isComposing' typing indicator SIP messages which are triggering SIP/2.0 415 Unsupported Media Type error messages from voip.ms servers. This causes any subsequently typed text messages to fail.

I discovered this while trying to get Zoiper 5 Pro working with the service. Zoiper software has an option to disable typing notifications on a per SIP account basis. Once I did that, and the typing indicator SIP messages stopped being sent, that resolved the issue for me. I was finally able to both send and receive text messages with the Zoiper 5 Pro app for my voip.ms SMS-enabled DID.

It would be great if Linphone could also be configured to work the same way. I think this can be accomplished by disabling the typing indicator messages.

Please consider adding this feature, allowing end users to disable Message Composition Indication (RFC 3994)

Also of note: there was an inquiry about disabling typing indicators on the linphone-users mailing list from 2015 that went unanswered. Apparently it was causing this persons contacts to receive confusing and unwanted messages on their end of the conversation.

julonexus commented 1 year ago

in linphonerc file: [sip] im_notif_policy=none

This will deactivate compose/imdn events.

sysfu commented 1 year ago

in linphonerc file: [sip] im_notif_policy=none

This will deactivate compose/imdn events.

Thank you for the config file setting.

Can you please re-open this issue with the clarification that this is a request to add a GUI toggle switch on a per account basis under Preferences => SIP accounts => Account Settings?