linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] flickering/unusable UI when accepting calls an


From: Noel Kuntze
Subject: Re: [Linphone-developers] flickering/unusable UI when accepting calls and "no via in response"
Date: Fri, 22 Sep 2017 01:27:46 +0200

Hi,

I had to patch bellephone-sip, which I did with the attached patch. I'll make a 
PR to the GH mirror, if that's the way to proceed.
The patch only made the error go away, which then first replaced with linphone 
being unable to find a matching session.
Later, the SIP registrar stopped answering via UDP completely. The request 
packets were larger than the MTU, so I suspect
I have a problem with IP fragments in my network. Switching to TCP made it 
work. I'll investigate further tomorrow.

The patch also makes the searching for the "cseq" header more robust by trying 
to find the "Cseq" header, too, if "cseq" can not be found.
I did that, because the code for "cseq" looked funny to me, like the one for 
"via" and working around the same problem for cseq was easy.

Kind regards

Noel

PS: I now know that this is probably the wrong place to have reported this 
problem.

On 22.09.2017 00:23, Noel Kuntze wrote:
> Hello list,
>
> For some weeks already, I can't accept or make calls with linphone over sip.
> When I receive a call, the UI rapidly flashes between the accepted call UI 
> with the mute buttons and so on,
> and the UI for accepting the call.
> When trying to make a call, linphone never succeeds and eventually the tries 
> time out.
> linphone logs the following:
>
> message: 2017-09-22 00:07:25:331 [org.antlr.runtime.MismatchedTokenException] 
>  reason [1311:1: via_params : ( via_received[$header_via::current] | 
> generic_param[BELLE_SIP_PARAMETERS($header_via::current)] );]
> error: 2017-09-22 00:07:25:331 header_via parser error for [Via:SIP/2.0/UDP 
> [2a02:8071:9288:7d00:84c8:d3a1:9b8d:d79e]:5060;branch=z9hG4bK.F90ImGUMC;rport=5060;received=[2a02:8071:9288:7d00:84c8:d3a1:9b8d:d79e]]
> message: 2017-09-22 00:07:25:331 channel [0x55f2939c7d80] [418] bytes parsed
> error: 2017-09-22 00:07:25:331 channel [0x55f2939c7d80]: no via in response.
> warning: 2017-09-22 00:07:25:331 Response has no via.
> warning: 2017-09-22 00:07:25:331 Discarding stateless response [401]
>
> The messages have a Via header, though. It looks like this:
> Via: SIP/2.0/UDP 
> [2a02:8071:9288:7d00:84c8:d3a1:9b8d:d79e]:5060;branch=z9hG4bK.F90ImGUMC;rport
>
>
> linphone tries to retransmit the packets all the time. It never succeeds, 
> because the parsing of every response fails with the errors above.
>
> OS: Arch Linux
> Version: 3.11.1
>
> Kind regards
>
> Noel Kuntze
>
>
>
> _______________________________________________
> Linphone-developers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/linphone-developers

-- 
Noel Kuntze
IT security consultant

GPG Key ID: 0x0739AD6C
Fingerprint: 3524 93BE B5F7 8E63 1372 AF2D F54E E40B 0739 AD6C

Attachment: 0001-Also-check-Via-header-not-just-via.patch
Description: Text Data

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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