linphone-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Linphone-users] Linphone vs Freeswitch = 488 Not Acceptable here


From: Vladyslav Zakhozhai
Subject: Re: [Linphone-users] Linphone vs Freeswitch = 488 Not Acceptable here
Date: Wed, 21 Mar 2018 11:22:23 +0200

Hi Russel,

Thank you for your answer. You are talking about obvious things. And yes I can test different configurations of freeswitch but it will take more time. Btw as I have already told echo test works fine, outgoing calls works fine. But during incoming call linphone fails.

But the main reason of my previous mail was the following. What linphone means? If I could manage to understand the "language" of linphone's log I can solve the problem possibly.


On Wed, Mar 21, 2018 at 3:15 AM, Russell Treleaven <address@hidden> wrote:
Make an extension that answers and echos back media.
Make the simplest scenario that you can and then start adding things back one by one until it breaks.




On Tue, Mar 20, 2018 at 8:36 PM, Vladyslav Zakhozhai <address@hidden> wrote:
Hello.

I have an issue with Linphone Android 3.3.2 and Linphone for Windows 4.1.1.
Linphone registers to Freeswitch 1.6 via TLS. I'm going to use SRTP also. Outgoing calls goes fine. But there is issue with incoming call. I cannot completely understand where exactly the problem is. Here is snippet from linphone's log:

INVITE sip:address@hidden:43671;app-id=929724111839;pn-type=firebase;pn-tok=cVmbOLY86DI:APA91bHl5BAf5bT0l_LJ9nGkHUfJxfL6Jbs2STvyaGyKfV7Cy5zryIQT
XFodAG90Gkte-vZ5KkNZ5ylegF1AYyB4pzEmdsOccacLsK-Rtw3tG1rwvl3wrTtgHngCjOeFbrVOhtt1a_IV;pn-silent=1;transport=tls SIP/2.0
Record-Route: <sip:91.234.32.79:5061;transport=tls;lr=on>
Via: SIP/2.0/TLS 91.234.32.79:5061;branch=z9hG4bK0e51.6a4a8231cd5e52a46b8f9d3063c199b6.0;i=41
Via: SIP/2.0/TLS 31.202.128.201:5071;rport=45004;branch=z9hG4bK9ZUg79yrQ3rZD
Max-Forwards: 68
From: "test.1" <sip:address@hidden>;tag=Sg6B20ccS8Fer
To: <sip:address@hidden:43671;app-id=929724111839;pn-type=firebase;pn-tok=cVmbOLY86DI:APA91bHl5BAf5bT0l_LJ9nGkHUfJxfL6Jbs2STvyaGyKfV7Cy5zryIQTXF
odAG90Gkte-vZ5KkNZ5ylegF1AYyB4pzEmdsOccacLsK-Rtw3tG1rwvl3wrTtgHngCjOeFbrVOhtt1a_IV;pn-silent=1;transport=tls>
Call-ID: c8e22159-a73c-1236-b69f-52540069c8aa
CSeq: 120458952 INVITE
Contact: <sip:address@hidden:45004;transport=tls>
User-Agent: FreeSWITCH-mod_sofia/1.6.20-37-987c9b9~64bit
Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY
Supported: path, replaces
Allow-Events: talk, hold, conference, refer
Content-Type: application/sdp
Content-Disposition: session
Content-Length: 1308
X-AUTH-IP: 93.126.114.59
X-cid: MGZhZjY2YWEyYTExOGI5OGE2ZTdhZDZjYzM1ZjNjOGM.
X-FS-Support: update_display,send_info
Remote-Party-ID: "test.1" <sip:address@hidden>;party=calling;screen=yes;privacy=off
X-Original-Contact: <sip:address@hidden:5071;transport=tls>

v=0
o=FreeSWITCH 1521564892 1521564893 IN IP4 31.202.128.201
s=FreeSWITCH
c=IN IP4 31.202.128.201
t=0 0
m=audio 25140 RTP/SAVP 3 8 0 101 13
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=crypto:1 AEAD_AES_256_GCM_8 inline:cZycOV/Ud5FYkiwhznwcMrXidTvkPnp67x4dHU+ImYMY1tGKezh4vfEe5EU
a=crypto:2 AEAD_AES_128_GCM_8 inline:NuL5dw2CI6jl1+UMvf3Mzak24QeQ17SeCQP4lQ
a=crypto:3 AES_CM_256_HMAC_SHA1_80 inline:QIqxZ6pTTC077JuhPMV1uMSCw7YIg8gUScHS3ZWQpUfONIKgKaGF25tXjuZTIQ
a=crypto:4 AES_CM_192_HMAC_SHA1_80 inline:qwDpytWFdcJeXwN7hyvVq1Du0ZL4ZZcWorJfY6AlXf6FfY7AoMI
a=crypto:5 AES_CM_128_HMAC_SHA1_80 inline:j8Lf3LO8MlnhMFNM1yGWAMBOA8NqmsFNFXXGzqDl
a=crypto:6 AES_CM_256_HMAC_SHA1_32 inline:zI7DmBzCBMADRhz15S1WrR52Fcp9aRRQR0keYWAJeNH9EL1XPRz2Fk4bLNV6/w
a=crypto:7 AES_CM_192_HMAC_SHA1_32 inline:Odho4POfseKpeOgpfXFaorIj/7XMayco1MDYtrpDkJ+gLn6YTMI
a=crypto:8 AES_CM_128_HMAC_SHA1_32 inline:U2Y8O21Gsoo0mJrfFQipwV0qbRMZlz/opgA7g9+o
a=crypto:9 AES_CM_128_NULL_AUTH inline:D53Pmng+Q4xqsVu82/3nUKLPjaWZPlUmiTH7zNgY
a=ptime:20
m=audio 25140 RTP/AVP 3 8 0 101 13
a=rtpmap:3 GSM/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=rtpmap:13 CN/8000
a=ptime:20

2018-03-21 01:53:53:749 [belle-sip] MESSAGE channel [0x7f76a94f80] [1562] bytes parsed
2018-03-21 01:53:53:751 [belle-sip] MESSAGE channel [0x7f76a94f80] read [1308] bytes of body from [proxy.virtvox.net:5061]
2018-03-21 01:53:53:757 [belle-sip] MESSAGE bellesip_wake_lock_acquire(): Android wake lock acquired [ref=0x200b76]
2018-03-21 01:53:53:758 [belle-sip] MESSAGE transaction [0x7f76576b80]: starting transaction background task with id=[200b76].
2018-03-21 01:53:53:758 [belle-sip] MESSAGE Changing [server] [INVITE] transaction [0x7f76576b80], from state [INIT] to [PROCEEDING]
2018-03-21 01:53:53:759 [belle-sip] MESSAGE channel [0x7f76a94f80]: message sent to [TLS://proxy.virtvox.net:5061], size: [608] bytes
SIP/2.0 100 Trying
Via: SIP/2.0/TLS 91.234.32.79:5061;branch=z9hG4bK0e51.6a4a8231cd5e52a46b8f9d3063c199b6.0;i=41
Via: SIP/2.0/TLS 31.202.128.201:5071;rport=45004;branch=z9hG4bK9ZUg79yrQ3rZD
From: "test.1" <sip:address@hidden>;tag=Sg6B20ccS8Fer
To: <sip:address@hidden:43671;app-id=929724111839;pn-type=firebase;pn-tok=cVmbOLY86DI:APA91bHl5BAf5bT0l_LJ9nGkHUfJxfL6Jbs2STvyaGyKfV7Cy5zryIQTXFodAG90Gkte-vZ5KkNZ5ylegF1AYyB4pzEmdsOccacLsK-Rtw3tG1rwvl3wrTtgHngCjOeFbrVOhtt1a_IV;pn-silent=1;transport=tls>
Call-ID: c8e22159-a73c-1236-b69f-52540069c8aa
CSeq: 120458952 INVITE
Content-Length: 0

2018-03-21 01:53:53:762 [belle-sip] MESSAGE New server dialog [0x7f750c8b00] , local tag [rX3i6YD], remote tag [Sg6B20ccS8Fer]
2018-03-21 01:53:53:762 [liblinphone] MESSAGE op [0x7f76cce840] : set_or_update_dialog() current=[0x0] new=[0x7f750c8b00]
2018-03-21 01:53:53:762 [liblinphone] MESSAGE new incoming call from ["test.1" <sip:address@hidden>] to [<sip:address@hidden:43671;app-id=929724111839;pn-type=firebase;pn-tok=cVmbOLY86DI:APA91bHl5BAf5bT0l_LJ9nGkHUfJxfL6Jbs2STvyaGyKfV7Cy5zryIQTXFodAG90Gkte-vZ5KkNZ5ylegF1AYyB4pzEmdsOccacLsK-Rtw3tG1rwvl3wrTtgHngCjOeFbrVOhtt1a_IV;pn-silent=1;transport=tls>]
2018-03-21 01:53:53:775 [liblinphone] MESSAGE Found payload GSM/8000 fmtp=
2018-03-21 01:53:53:775 [liblinphone] MESSAGE Found payload PCMA/8000 fmtp=
2018-03-21 01:53:53:775 [liblinphone] MESSAGE Found payload PCMU/8000 fmtp=
2018-03-21 01:53:53:776 [liblinphone] MESSAGE Found payload telephone-event/8000 fmtp=0-16
2018-03-21 01:53:53:776 [liblinphone] MESSAGE Found payload CN/8000 fmtp=
2018-03-21 01:53:53:779 [mediastreamer] ERROR Unsupported crypto suite 'AEAD_AES_256_GCM_8' with parameters ''
2018-03-21 01:53:53:779 [liblinphone] WARNING Failed to parse crypto-algo: 'AEAD_AES_256_GCM_8'
2018-03-21 01:53:53:779 [mediastreamer] ERROR Unsupported crypto suite 'AEAD_AES_128_GCM_8' with parameters ''
2018-03-21 01:53:53:779 [liblinphone] WARNING Failed to parse crypto-algo: 'AEAD_AES_128_GCM_8'
2018-03-21 01:53:53:779 [liblinphone] MESSAGE Found valid crypto line (tag:3 algo:'AES_CM_256_HMAC_SHA1_80' key:'QIqxZ6pTTC077JuhPMV1uMSCw7YIg8gUScHS3ZWQpUfONIKgKaGF25tXjuZTIQ'
2018-03-21 01:53:53:779 [mediastreamer] ERROR Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_80' with parameters ''
2018-03-21 01:53:53:779 [liblinphone] WARNING Failed to parse crypto-algo: 'AES_CM_192_HMAC_SHA1_80'
2018-03-21 01:53:53:779 [liblinphone] MESSAGE Found valid crypto line (tag:5 algo:'AES_CM_128_HMAC_SHA1_80' key:'j8Lf3LO8MlnhMFNM1yGWAMBOA8NqmsFNFXXGzqDl'
2018-03-21 01:53:53:779 [mediastreamer] ERROR Unsupported crypto suite 'AES_CM_256_HMAC_SHA1_32' with parameters ''
2018-03-21 01:53:53:779 [liblinphone] WARNING Failed to parse crypto-algo: 'AES_CM_256_HMAC_SHA1_32'
2018-03-21 01:53:53:779 [mediastreamer] ERROR Unsupported crypto suite 'AES_CM_192_HMAC_SHA1_32' with parameters ''
2018-03-21 01:53:53:779 [liblinphone] WARNING Failed to parse crypto-algo: 'AES_CM_192_HMAC_SHA1_32'
2018-03-21 01:53:53:779 [liblinphone] MESSAGE Found valid crypto line (tag:8 algo:'AES_CM_128_HMAC_SHA1_32' key:'U2Y8O21Gsoo0mJrfFQipwV0qbRMZlz/opgA7g9+o'
2018-03-21 01:53:53:780 [mediastreamer] ERROR Unsupported crypto suite 'AES_CM_128_NULL_AUTH' with parameters ''
2018-03-21 01:53:53:780 [liblinphone] WARNING Failed to parse crypto-algo: 'AES_CM_128_NULL_AUTH'
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found: 3 valid crypto lines
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found payload GSM/8000 fmtp=
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found payload PCMA/8000 fmtp=
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found payload PCMU/8000 fmtp=
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found payload telephone-event/8000 fmtp=0-16
2018-03-21 01:53:53:780 [liblinphone] MESSAGE Found payload CN/8000 fmtp=
2018-03-21 01:53:53:782 [liblinphone] MESSAGE Searching for already_a_call_with_remote_address.
2018-03-21 01:53:53:784 [liblinphone] MESSAGE Found media local-ip from signaling.
2018-03-21 01:53:53:784 [liblinphone] MESSAGE New LinphoneCall [0x7f750b4200] initialized (LinphoneCore version: 3.12.0-274-gc0e206650)
2018-03-21 01:53:53:784 [liblinphone] MESSAGE audio stream index found: 0, updating main audio stream index
2018-03-21 01:53:53:784 [liblinphone] MESSAGE audio stream index found: 1, but main audio stream already set to 0
2018-03-21 01:53:53:784 [liblinphone] MESSAGE 1 was used for video stream ; now using 3
2018-03-21 01:53:53:784 [liblinphone] MESSAGE Call [0x7f750b4200], stream type [audio], multicast role is [inactive]
2018-03-21 01:53:53:787 [ortp] MESSAGE RtpSession bound to [0.0.0.0] ports [7076] [7077]
2018-03-21 01:53:53:789 [ortp] MESSAGE rtp_session_enable_network_simulation:DISABLING NETWORK SIMULATION
2018-03-21 01:53:53:789 [liblinphone] MESSAGE Configured srtp crypto suite: AES_CM_128_HMAC_SHA1_80 
2018-03-21 01:53:53:789 [liblinphone] MESSAGE Configured srtp crypto suite: AES_CM_128_HMAC_SHA1_32 
2018-03-21 01:53:53:789 [liblinphone] MESSAGE Configured srtp crypto suite: AES_256_CM_HMAC_SHA1_80 
2018-03-21 01:53:53:789 [liblinphone] MESSAGE Configured srtp crypto suite: AES_256_CM_HMAC_SHA1_32 
2018-03-21 01:53:53:789 [mediastreamer] MESSAGE Creating ZRTP engine on rtp session [0x7f764d5400] ssrc 0x7eaca131
2018-03-21 01:53:53:811 [mediastreamer] MESSAGE Setting DSCP to 46 for MSAudio stream.
2018-03-21 01:53:53:811 [liblinphone] MESSAGE Equalizer location: hp
2018-03-21 01:53:53:812 [mediastreamer] MESSAGE cannot set noise gate mode to [0] because no volume send
2018-03-21 01:53:53:812 [liblinphone] MESSAGE Call [0x7f750b4200], stream type [video], multicast role is [inactive]
2018-03-21 01:53:53:814 [ortp] MESSAGE RtpSession bound to [0.0.0.0] ports [38856] [44900]
2018-03-21 01:53:53:814 [ortp] MESSAGE rtp_session_enable_network_simulation:DISABLING NETWORK SIMULATION
2018-03-21 01:53:53:814 [mediastreamer] MESSAGE Initializing multistream ZRTP context on rtp session [0x7f764d7c00] ssrc 0x8424c5f1
2018-03-21 01:53:53:815 [mediastreamer] MESSAGE Setting DSCP to 0 for MSVideo stream.
2018-03-21 01:53:53:815 [liblinphone] MESSAGE Call [0x7f750b4200], stream type [text], multicast role is [inactive]
2018-03-21 01:53:53:815 [ortp] MESSAGE RtpSession bound to [0.0.0.0] ports [11078] [11079]
2018-03-21 01:53:53:816 [ortp] MESSAGE rtp_session_enable_network_simulation:DISABLING NETWORK SIMULATION
2018-03-21 01:53:53:816 [liblinphone] MESSAGE Found media local-ip from signaling.
2018-03-21 01:53:53:816 [liblinphone] MESSAGE Don't put video stream on local offer for call [0x7f750b4200]
2018-03-21 01:53:53:816 [liblinphone] MESSAGE Don't put text stream on local offer for call [0x7f750b4200]
2018-03-21 01:53:53:817 [liblinphone] MESSAGE Doing SDP offer/answer process of type incoming
2018-03-21 01:53:53:818 [liblinphone] MESSAGE Declining mline 0, no corresponding stream in local capabilities description.
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for GSM/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for PCMA/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for PCMU/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for telephone-event/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for CN/8000/1
2018-03-21 01:53:53:834 [belle-sip] MESSAGE channel [0x7f76a94f80]: message sent to [TLS://proxy.virtvox.net:5061], size: [717] bytes
SIP/2.0 488 Not acceptable here
Via: SIP/2.0/TLS 91.234.32.79:5061;branch=z9hG4bK0e51.6a4a8231cd5e52a46b8f9d3063c199b6.0;i=41
Via: SIP/2.0/TLS 31.202.128.201:5071;rport=45004;branch=z9hG4bK9ZUg79yrQ3rZD
From: "test.1" <sip:address@hidden>;tag=Sg6B20ccS8Fer
To: <sip:address@hidden:43671;app-id=929724111839;pn-type=firebase;pn-tok=cVmbOLY86DI:APA91bHl5BAf5bT0l_LJ9nGkHUfJxfL6Jbs2STvyaGyKfV7Cy5zryIQTXFodAG90Gkte-vZ5KkNZ5ylegF1AYyB4pzEmdsOccacLsK-Rtw3tG1rwvl3wrTtgHngCjOeFbrVOhtt1a_IV;pn-silent=1;transport=tls>;tag=rX3i6YD
Call-ID: c8e22159-a73c-1236-b69f-52540069c8aa
CSeq: 120458952 INVITE
User-Agent: LinphoneAndroid/3.3.2 (belle-sip/1.6.3)
Supported: replaces, outbound
Content-Length: 0


I think that problem is here:
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for GSM/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for PCMA/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for PCMU/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for telephone-event/8000/1
2018-03-21 01:53:53:819 [liblinphone] MESSAGE No match for CN/8000/1


But can't understand why. Other phones work fine (Grandstream, Zoiper for Android, Zoiper for Windows, Microsip).

Point me where the issue may be please. Thank you in advance.

--
С уважением,
Владислав Захожай


_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users




--
Sincerely,

Russell Treleaven


_______________________________________________
Linphone-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-users




--
С уважением,
Владислав Захожай


reply via email to

[Prev in Thread] Current Thread [Next in Thread]