linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

Linphone does not show incoming SMS messages from SIP sources

Open DesiOtaku opened this issue 3 years ago • 15 comments

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:[email protected]: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:[email protected]>;tag=as6098488f
To: <sip:[email protected]:XXXXXX;transport=tcp>
Contact: <sip:[email protected]:XXXX;transport=TCP>
Call-ID: [email protected]: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 avatar Nov 10 '21 21:11 DesiOtaku

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:[email protected]), local=IdentityAddress(sip:[email protected])). 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]

DesiOtaku avatar Nov 10 '21 21:11 DesiOtaku

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

morciej avatar Jan 07 '22 17:01 morciej

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

MrRoy avatar Feb 17 '22 15:02 MrRoy

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

morciej avatar Apr 19 '22 08:04 morciej

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

MrRoy avatar Apr 19 '22 22:04 MrRoy

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

morciej avatar Apr 20 '22 03:04 morciej

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

xtronics avatar Nov 23 '22 01:11 xtronics

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

sierracircle avatar Dec 02 '22 01:12 sierracircle

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.

xtronics avatar Dec 02 '22 02:12 xtronics

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.

sierracircle avatar Dec 02 '22 02:12 sierracircle

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.

sysfu avatar Aug 28 '23 18:08 sysfu

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

sierracircle avatar Aug 29 '23 17:08 sierracircle

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.

sysfu avatar Aug 30 '23 16:08 sysfu