BelledonneCommunications / linphone-android

Linphone.org mirror for linphone-android (https://gitlab.linphone.org/BC/public/linphone-android)
https://linphone.org
GNU General Public License v3.0
1.13k stars 690 forks source link

SIP 488 error #1145

Closed szucsi23 closed 4 years ago

szucsi23 commented 4 years ago

Hey! We are working on a device, that utilizes VOIP, and with that, we are using the esp-adf library. We just updated from the v2.0-beta3 version to the v2.1 version, but after the update we can not call to the Linphone app on our android phones. It still works with other android voip apps, but with linphone we get a SIP 488 error message. What could be the problem? We tried different codecs, same result. I have attached the Linphone logs from the previous, working version, and the current version as well. Thanks in advance!

2v0b3-antisip-good.txt 2v1-antisip-err488.txt

Viish commented 4 years ago

Hi,

From the antlr error log it seems there is an issue in the CRLF (end of line) characters in the SDP:

2020-08-26 15:01:06:255 [org.linphone/belle-sip] MESSAGE [org.antlr.runtime.MismatchedTokenException] reason [()* loopback of 411:22: ( attribute CR LF )*] at line[10] position[0]
2020-08-26 15:01:06:255 [org.linphone/belle-sip] MESSAGE [org.antlr.runtime.MismatchedTokenException] reason [()* loopback of 411:22: ( attribute CR LF )*] at line[10] position[0]
2020-08-26 15:01:06:255 [org.linphone/belle-sip] ERROR session_description parser error for

Check with wireshark to see what's really in the packet, and then contact the esp-adf owner to fix the issue.

Cheers,

szucsi23 commented 4 years ago

Will do, thanks for the quick response!