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
402 stars 207 forks source link

Linphone does not show incoming SMS messages from SIP sources #573

Open DesiOtaku opened 2 years ago

DesiOtaku commented 2 years ago

I am currently using Voip.ms for sending and receiving SMS messages. Sending out an SMS works fine. However, when an SMS message is sent to my account, voip.ms does get it, and it does sent it over to Linphone, but Linphone does not display it.

I can confirm that linphone does get the message from the log. Here is the slightly censored log portion:

2021-11-10 15:31:01:800 [linphone/belle-sip] MESSAGE channel [0x5582e6967770]: received [515] new bytes from [TCP://newyork3.voip.ms:5060]:
MESSAGE sip:XXXXXXX@XX.XX.XXX.XX:XXXXXXXX;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 208.100.60.68:5060;branch=z9hG4bK197331a9;rport
Max-Forwards: 70
From: "XXXXXXXXXXX" <sip:XXXXXXXXXXX@newyork3.voip.ms>;tag=as6098488f
To: <sip:XXXXX@XX.XX.XXX.XX:XXXXXX;transport=tcp>
Contact: <sip:XXXXXXXXX@XXX.XXX.XX.XX:XXXX;transport=TCP>
Call-ID: 3eb8b26a1c654f9d0bb646883e2e4644@XXX.XXX.XXX.XX:XXXX
CSeq: 102 MESSAGE
User-Agent: voip.ms
X-SMS-To: XXXXXXXXXX
Content-Type: text/plain;charset=UTF-8
Content-Length: 5

Yyyyy
2021-11-10 15:31:01:802 [linphone/belle-sip] MESSAGE channel [0x5582e6967770] [510] bytes parsed
2021-11-10 15:31:01:802 [linphone/belle-sip] MESSAGE channel [0x5582e6967770] read [5] bytes of body from [newyork3.voip.ms:5060]

I did try to set my "account" to be the voip.ms account rather than the core ship account.

DesiOtaku commented 2 years ago

Forgot to also add in this:

2021-11-10 15:31:01:802 [linphone/belle-sip] MESSAGE channel [0x5582e6967770] [510] bytes parsed 2021-11-10 15:31:01:802 [linphone/belle-sip] MESSAGE channel [0x5582e6967770] read [5] bytes of body from [newyork3.voip.ms:5060] 2021-11-10 15:31:01:803 [linphone/belle-sip] MESSAGE Changing [server] [MESSAGE] transaction [0x7fc1740f3670], from state [INIT] to [TRYING] 2021-11-10 15:31:01:803 [linphone/liblinphone] MESSAGE Chat message 0x5582e832a690: moving from Idle to Delivered 2021-11-10 15:31:01:803 [linphone/liblinphone] MESSAGE MainDb::addEvent() of type 5 2021-11-10 15:31:01:803 [linphone/liblinphone] ERROR Unable to find chat room storage id of: ConferenceId(peer=IdentityAddress(sip:XXXXXXXXXX@newyork3.voip.ms), local=IdentityAddress(sip:XXXXXX@XX.XX.XXX.XX)). 2021-11-10 15:31:01:803 [linphone/liblinphone] ERROR MainDb::addEvent() failed. 2021-11-10 15:31:01:804 [linphone/liblinphone] MESSAGE Linphone core [0x5582e619e1c0] notified [message_received] 2021-11-10 15:31:01:804 [linphone/belle-sip] MESSAGE Changing [server] [MESSAGE] transaction [0x7fc1740f3670], from state [TRYING] to [COMPLETED]

morciej commented 2 years ago

Sigh... same problem on mine. Can anyone interpret this please?

MrRoy commented 2 years ago

I have the same problem, also on voip.ms. I can send an SMS, but cannot receive any through Linphone

morciej commented 2 years ago

See issue 765. Not much in the way of hope.

MrRoy commented 2 years ago

@morciej thanks for letting me know. I subscribed to that other issue, let us know what response you get (if any) from voip.ms.

morciej commented 2 years ago

They asked me to capture some packets and show them. I guess I will have to dust off Wireshark.

xtronics commented 1 year ago

There is a Debian bug about this with some useful information.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=983365

sierracircle commented 1 year ago

I am having exactly the same issue. Voip.ms sms will send from Linphone but not arrive in the message area. If I watch the logfile I can see the messages coming in, but they are not showing up

xtronics commented 1 year ago

sip text appear in a box in the newest version (5.0.0-beta.64) - yet still not showing up in the main message window.

sierracircle commented 1 year ago

Well, I guess that is progress. So far I have not had much luck with SMS over SIP. Linphone has come the closest as it sends every time, and receives, but does not show the incoming message.

sysfu commented 1 year ago

I am having exactly the same issue. Voip.ms sms will send from Linphone but not arrive in the message area. If I watch the logfile I can see the messages coming in, but they are not showing up

How did you guys get linphone to send SMS messages?! I have the opposite problem. I can receive messages all day long, (although finding them is another issue), But I cannot reply to any of them, or send an an outbound SMS message via the Linphone client. Voip.ms tech support does not offer much in the way of client configuration advice.

sierracircle commented 1 year ago

I still have not had any luck. I can occassionally recieve texts, but not send.

sysfu commented 1 year ago

I still have not had any luck. I can occassionally recieve texts, but not send.

I recently setup a test account with Telnyx to see if I have any better luck with them on the back end. Will update this thread with any progress.

Weird thing that I noticed happened when receiving texts. I get the notification, click on it, which opens the message in the main desktop app window conversation view. While I'm in the process of reading the text...POOF! It disappears.

Simoon-F commented 2 weeks ago

Is there any progress?