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
391 stars 200 forks source link

[Bug]: MESSAGE Unhandled transaction terminated (Strange behavior with SIP method MESSAGE) #844

Open k-levin opened 1 month ago

k-levin commented 1 month ago

Context

I use the Linphone Desktop with Asterisk PBX to build a video chat lab

General information

Expected behaviour

Get a text conversation between two Linphone-Desktop endpoints through Asterisk-20 PBX.

To Reproduce

  1. Use TCP and FQDN in SIP URI
  2. Get at least 2 registered Linphones on Asterisk
  3. Send text mesasge from Linphone Desktop to another Linphone Client App
  4. Not use TLS and secure

Additional context

I have an PBX Asterisk-20 and Linphone endpoints. I use SRV-Record to bind my local domain freedom.kch to TCP 5061 port on Asterisk. When I send text message from 203 (Linphone Android) to 202 (Linphone Desktop Win/Linux) - that well done. But origination of text message from Desktop Linphone is corrupted because of unacceptible structure of MESSAGE SIP request. The request contans two sequences of headers in one same SIP message. It looks like two SIP messages were splited into one or it try to manage any type of feature which server don't handeled

SDK logs URL

https://www.linphone.org:444//tmp/665d8872d2b7e_ce3b0a4c725eddfd58bb.gz

k-levin commented 1 month ago

So, It looks like messaging is acting with IMDN but I expected clear SIP messaging. Is it possible to clearify that behaviour? Thanks a lot!

k-levin commented 1 month ago

And I don't have this issue between two Linphone-Android clients on same Asterisk config. Chat is proceeding perfect and SIP dialog proceeds without errors